Commit Graph

432 Commits

Author SHA1 Message Date
Anthony Zhang
eb88bf6ade Merge pull request #61 from ShadowNinja/cleanup-serialization
Clean up serialization
2014-10-24 22:03:31 -04:00
Anthony Zhang
02c36c16d5 Merge pull request #62 from ShadowNinja/command-prefix
Use "we-" prefix for commands
2014-10-24 17:04:00 -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
Uberi
70c24c9501 Fix #57 (thanks Zeno-!). 2014-08-15 19:23:23 -04:00
Uberi
18efe50e1e Fix typo (thanks donat-b!). 2014-08-05 18:34:43 -04:00
Anthony Zhang
44c9576f8a Merge pull request #53 from ShadowNinja/fix-lua-runtime-error
Fix runtime error checking with lua* commands
2014-07-24 11:19:13 -04:00
ShadowNinja
e383e8ce00 Fix runtime error checking with lua* commands 2014-07-23 18:21:21 -04:00
Uberi
82ef580fae Add sort_pos to make code module independent. 2014-07-22 18:42:15 -04:00
Uberi
38fbc0a046 Fix //mix and improve normalize_nodename. 2014-07-18 16:09:57 -04:00
Uberi
4b178bf709 Rename the randomized //set to //mix, style update, document changes. 2014-07-18 15:51:09 -04:00
Uberi
d8aa7e72a7 Oops, fix //set. 2014-07-14 00:11:33 -04:00
Uberi
58d7a7134e Coding style updates. 2014-07-12 16:35:59 -04:00
Anthony Zhang
420655bd94 Merge pull request #51 from cyisfor/master
I think that's the optimization you mentioned?
2014-07-12 16:31:27 -04:00
sfan5
ea84eee0e5 Fix typo in README 2014-07-12 07:42:38 +02:00
Uberi
9ec1a799d8 Fix worldedit_gui not working in Minetest 0.4.10. 2014-07-10 20:17:12 -04:00
Cy
f5b67c5bc2 CPS-ifying stack
Continuation Passing Style lets me use minetest.after, so the server
gets a chance to not hang in between every stack iteration. Could even
set minetest.after(1000,nextone) if you want to see it extend once every
second.
2014-07-09 23:50:41 -07:00
Cy
6084db9335 Slight optimization to //set
Just noticed I box the one type version in a list, to avoid testing
whether it's the one type version, but have to test for that to decide
whether to box it or not. Should shave like a whole 3ms from each //set
command.
2014-07-09 23:34:27 -07:00
Uberi
b70fd16da4 Oops, fix //set. 2014-07-07 14:06:33 -04:00
Uberi
9616c7d944 Update stack2 API documentation. 2014-07-06 19:59:56 -04:00
Uberi
175ac211ca Documentation for //stack2, code style fixes, add author section to README. 2014-07-06 19:42:02 -04:00
Anthony Zhang
b32aadd7fa Merge pull request #47 from cyisfor/master
Stacking in any direction
2014-07-06 19:11:23 -04:00
Cy
c22b556511 Improved stacking
This stack / copy uses a direction vector, so it's not limited to only
along the X/Y/Z axis, and can go diagonally. This enables things like
building staircases.
2014-06-30 16:14:14 -07:00
Cy
174416b010 Randomized set
Can /set node node2 node3 and it will randomly choose between those
three.
2014-06-30 16:13:44 -07:00
Uberi
2c4a791805 New inventory icon for GUI (thanks VanessaE!). 2014-05-16 16:59:56 -04:00
Uberi
4660927ca0 Fix safe region functionality (thanks ChaosWormz). 2014-04-19 23:33:20 -04:00
Uberi
2784a25561 Fix region checking (thanks PenguinDad). 2014-03-15 14:28:47 -04:00
Uberi
b29523db4d Implement full size checking for every possible command. 2014-03-12 16:11:00 -04:00
Uberi
0dddffa544 Add warning for really huge regions. 2014-03-10 17:58:15 -04:00
Anthony
b8b8db42bf Merge pull request #36 from spillz/master
Fix incorrect fixedpos var names in the GUI form
2014-02-24 09:46:26 -05:00
spillz
18417ff4fd Fix incorrect fixedpos var names in the GUI form
worldedit_gui_fixed_* -> worldedit_gui_fixedpos_*

Makes setting a fixed position in the GUI work correctly
2014-02-23 20:31:09 -05:00
Uberi
84f0e23d6c Add worldedit_shortcommands, which adds aliases to commonly used chat commands that allow users to type in long command names faster. Idea is courtesy of @electricface.
For example, `//move ? 5` can now be written as `//m ? 5`.
2014-02-23 14:16:22 -05:00
Uberi
be913e6d8b Fix chat commands display. 2014-01-28 14:14:36 -05:00
Anthony
82f39460cc Merge pull request #33 from electricface/master
//fixedpos No commas between the numbers
2014-01-27 22:41:26 -08:00
electricface
6b50025ccc //fixedpos No commas between the numbers 2014-01-28 12:23:47 +08:00
Anthony
829f9eef73 Merge pull request #32 from ShadowNinja/admin-only-lua
Make /lua and /luatransform administrator-only
2014-01-21 18:42:16 -08:00
ShadowNinja
f8d3614a32 Make /lua and /luatransform administrator-only 2014-01-21 11:14:24 -05:00
Uberi
86d35e97bf Fix for player signing off before WorldEdit GUI has finished loading. 2014-01-19 00:12:34 -05:00
Anthony
277b57a82a Merge pull request #28 from cheapie/master
Added compatibility with my version of creative_inventory.
2014-01-02 21:58:30 -08:00
Carter Kolwey
d2635544c6 Added compatibility with my version of creative_inventory. 2014-01-02 22:17:25 -06:00
Uberi
2ac049c823 Oops, broke the back button with that last commit. 2014-01-02 18:17:28 -05:00
Uberi
d73b93d8dd Fix the creative inventory being borked if neither Unified Inventory or Inventory++ is installed (thanks cheapie!). 2014-01-02 18:03:52 -05:00
Uberi
8c0b61194c The WorldEdit GUI now has no hard dependencies. 2013-12-30 14:27:47 -05:00
Uberi
2e41f0076d Mark the region with an entity cube. 2013-12-24 14:07:42 -05:00
Uberi
2fcea5a3c0 Add a screenshot to the README. 2013-12-22 13:51:50 -05:00
Uberi
df6ab06e74 Update worldedit_gui to work with latest unified_inventory (thanks LazyJ!). 2013-12-22 13:48:56 -05:00
Anthony
4e78ced693 Merge pull request #26 from kaeza/wut
Fix crashes in GUI button.
2013-12-22 09:52:17 -08:00
kaeza
ad299cacc5 Fix crashes in GUI button. 2013-12-21 03:06:32 -02:00
Uberi
06cb2934b1 Full unified_inventory and inventory_plus support! 2013-12-20 19:50:13 -05:00
Uberi
c48cf3c051 All commands in WorldEdit are now accessible through WorldEdit GUI, except the MT Schematics stuff. 2013-12-20 18:42:47 -05:00