Commit Graph

45 Commits

Author SHA1 Message Date
ShadowNinja
bb8456b711 Cleanup and fixup
Non-stylistic changes:
  * Add LuaDoc/LDoc support.
  * Fix `clear_objects` area size calculation.
  * Fix `clear_objects` removing player objects.
  * Fix shadowing of marker entity name with player name.
  * Make visualization functions use `swap_node`.
  * Make hidden nodes unwalkable.
  * Prevent `hide` from hiding air.
  * Make deprecated functions log to deprecated stream when called.
  * Fixed `replaceinverse` not using normalized node names.
  * Added .gitignore.
  * Bump version to 1.1.

Stylistic changes:
  * Change `x = function` to `function x`.
  * Change comment format.
  * Make  missing VoxelManip error less obnoxious.
  * Move `sort_pos` into `common.lua`, which is a required module.
  * Remove local copies of `minetest`.
  * Remove `worldedit = worldedit or {}` from modules.
  * Replace replaceinverse with an inverse argument to `replace`.
  * Added `error()`s on on invalid axes.
  * Change `wip` to `TODO`.
  * Rename `clearobjects` to `clear_objects`.
  * Remove `hollow_{sphere,dome,cylinder}` and replace them with a hollow parameter to each function.
  * Add helpers to reduce code duplication.
  * Renamed `Chat Commands.md` to `ChatCommands.md`.
2015-02-01 15:56:16 -05:00
sfan5
fb49cc4bcc Revert "Use "we-" prefix for commands"
This is currently being discussed, see #62.
This reverts commit 1024eace6f.
2014-10-25 07:53:20 +02:00
Anthony Zhang
eb88bf6ade Merge pull request #61 from ShadowNinja/cleanup-serialization
Clean up serialization
2014-10-24 22:03:31 -04:00
ShadowNinja
796aa3870d Clean up serialization
* Adds a header to serialized data (to make version checking sane).
  * Removes the duplicate deserialization for `worldedit.deserialize` and `worldedit.allocate`.
  * Optimizes `worldedit.deserialize` by only deserializing the data once.
  * Makes some fields optional.
  * Cleans up the comments and a little of the code style.
2014-10-24 16:45:10 -04:00
ShadowNinja
1024eace6f Use "we-" prefix for commands 2014-10-24 16:09:51 -04:00
sfan5
ea84eee0e5 Fix typo in README 2014-07-12 07:42:38 +02:00
Uberi
175ac211ca Documentation for //stack2, code style fixes, add author section to README. 2014-07-06 19:42:02 -04:00
Uberi
8c0b61194c The WorldEdit GUI now has no hard dependencies. 2013-12-30 14:27:47 -05:00
Uberi
2fcea5a3c0 Add a screenshot to the README. 2013-12-22 13:51:50 -05:00
Uberi
674d6473e4 Improve node inspector to show player axis, replace //scale with //stretch, which supports per-axis stretching (full backwards compatibility retained), and secure schematic file loading functions. 2013-12-20 18:41:13 -05:00
Uberi
3767ea84d2 Include WorldEdit GUI in the documentation, improve privilege handling, simplify main dialog. 2013-12-18 15:56:50 -05:00
Uberi
dbc2348014 Better installation instructions. 2013-12-11 15:58:58 -05:00
Sfan5
b3ba6f2433 Revert "Change compatibility notices." because we have 0.4.8 now
This reverts commit d5ec1bcefc.
2013-11-24 14:18:04 +01:00
Uberi
d5ec1bcefc Change compatibility notices. 2013-10-01 16:57:55 -04:00
Anthony Zhang
8bd5db51b2 Final changes and version number bump. 2013-08-01 23:53:38 -04:00
Anthony Zhang
8b9054a1cc Add tutorial for new users, and a note about compatibility. 2013-07-25 16:09:00 -04:00
Anthony Zhang
dfcf02bbc2 Add a few notes on air. 2013-07-22 11:04:03 -04:00
Anthony Zhang
e550604747 Add a section about the different types of schematics. 2013-07-21 17:15:04 -04:00
Anthony Zhang
74018dab99 Support descriptions and partial node names in chat commands (e.g., //set blue lightstone, //replace piston_normal_off bronze block). 2013-06-12 19:59:13 -04:00
sfan5
9e1c2614d3 Update Copyright Year 2013-04-29 14:34:55 +03:00
Anthony Zhang
98c5bc5c5f Fix loading of schematics containing chests that had empty slots. 2013-04-28 19:01:24 -04:00
Sfan5
522edf1cd4 WorldEdit 0.6 2013-04-28 20:27:25 +02:00
Anthony Zhang
12dfbd198d Use modpack for easier installation (idea is taken from cornernote's mod format), fix some grammar in API reference, move chat command reference and API reference to separate files. 2012-10-01 16:20:20 -04:00
Brett O'Donnell
a82ab9176f Fix worldedit.spiral and the correspondign chat command, //spiral. 2012-09-26 18:36:11 -04:00
Anthony Zhang
382c57d008 Replace worldedit.spiral with worldedit.pyramid, as well as related chat commands. 2012-09-26 18:02:42 -04:00
Anthony Zhang
def676cd2d Add worldedit.hollow_sphere, worldedit.sphere, //hollowsphere, and //sphere, improve cylinder docs slightly. 2012-09-25 18:42:10 -04:00
Anthony Zhang
724cd6ccb6 Add cornernote to authors. 2012-09-20 16:25:29 -04:00
cornernote
a95164b63b added metasave/metaload to readme 2012-09-20 13:58:00 +09:30
cornernote
0f9f247cc1 added metasave/metaload to readme 2012-09-20 13:57:01 +09:30
Anthony Zhang
6f96131382 Normalization. 2012-09-13 23:13:54 -04:00
Kyle
93100a20be document the //move change 2012-09-10 10:09:03 -07:00
Anthony
a25a2a1fb0 Merge pull request #5 from khonkhortisan/master
Understands meta!
2012-08-30 21:38:00 -07:00
Anthony Zhang
340416c789 Fix player axis detection, make spirals code a bit easier to read. 2012-08-30 16:17:15 -04:00
Kyle
6eb08edd30 Rotate now works with x/y/z/? instead of just y: "//rotate x 90" 2012-08-28 15:57:45 -07:00
sfan5
e39493e789 Add //spiral and worldedit.spiral API function 2012-08-19 09:36:11 +02:00
Anthony Zhang
5b66b5ec25 Add the ? axis, which represents the axis the player is facing. 2012-08-18 14:43:12 -04:00
Anthony Zhang
66c7f1fb96 Add //hollowcylinder and //cylinder commands, add worldedit.hollow_cylinder and worldedit.cylinder API functions, document both, use better node validity check. 2012-08-18 00:51:20 -04:00
Anthony Zhang
8cd32bcc59 Add the //transpose, //flip, and //rotate commands as well as their documentation and related WorldEdit API functions. Fix chat parameter handling using pattern anchors. 2012-07-22 18:12:29 -04:00
Anthony Zhang
9067f73349 Add //mark command and document it. 2012-07-22 15:22:36 -04:00
Anthony Zhang
ebbfdbbe13 Correct version number. 2012-07-20 12:11:49 -04:00
Anthony Zhang
2ecdd6cb1d Re-add support for the old WorldEdit save format on a load-only basis. Implemented as worldedit.deserialize_old(), and documented in README.md. //load will now transparently detect these files and load them correctly. 2012-07-19 22:54:26 -04:00
Anthony Zhang
0606a910e2 Document markers and give an example for //reset. 2012-07-16 14:54:14 -04:00
Anthony Zhang
b6933816b8 Add entities to mark the WorldEdit region positions and add the //reset command. Document regions, and the //reset command. 2012-07-16 14:38:15 -04:00
Anthony Zhang
5869ccf7f8 Properly document the WorldEdit API. 2012-07-13 22:14:25 -04:00
Anthony Zhang
21f768be14 Rename README to show markdown properly. 2012-07-13 21:50:37 -04:00