1
0
mirror of https://github.com/Uberi/Minetest-WorldEdit.git synced 2024-11-16 07:30:17 +01:00
Commit Graph

197 Commits

Author SHA1 Message Date
Daniel Sosa
fb9bf2f811 refactor code for mantainability and reusability. Start of chat command refactor. Implement /outset. 2015-01-03 19:46:59 -06:00
Daniel Sosa
7cdaa9bed5 Reimplement inset/outset to make use of new marker functions 2015-01-03 02:51:59 -06:00
Daniel Sosa
969d0a0ace Reimplement /shift to make use of new marker functions 2015-01-03 02:29:28 -06:00
Daniel Sosa
0dd151befc Finish /expand implementation. Add /contract command. 2015-01-03 02:04:02 -06:00
Daniel Sosa
f33d13948f Fix faulty regex in expand. Add relative direction decoding. 2015-01-03 01:23:19 -06:00
Daniel Sosa
a1a518c8a8 Major progress and simplification in /expand function 2015-01-02 23:40:56 -06:00
Daniel Sosa
9decac79d5 Add common functions to move and update the markers 2015-01-02 22:29:37 -06:00
Daniel Sosa
35d8e64aab Add outset, inset, shift and initial draft of expand 2015-01-02 21:45:25 -06:00
ShadowNinja
1f277147ca Fix Lua function 2014-12-30 00:11:49 -05:00
Anthony Zhang
04fdf92aca Fix crash when loading schematic in a LuaJIT build in recent Minetest versions (thanks LazyJ & VanessaE!). 2014-12-29 18:26:37 -05:00
Anthony Zhang
7f580611f5 Fix some warnings. 2014-12-29 18:16:36 -05:00
Anthony Zhang
4799068551 Merge pull request #68 from KodexKy/stack2_fix
Fix stack2 param
2014-12-29 17:51:51 -05:00
KodexKy
5b03c83f6b Fix stack2 param
Fix stack2 amount count
Fix stack2 sign recognition for y & z
2014-12-16 02:14:22 -04:30
sfan5
e4d007199f Fix bug with loading old .we file formats, thanks to @Sokomine 2014-12-13 21:13:11 +01: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
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