1
0
mirror of https://github.com/Uberi/Minetest-WorldEdit.git synced 2024-11-14 14:40:19 +01:00
Commit Graph

294 Commits

Author SHA1 Message Date
Anthony Zhang
4336e7ca14 Merge pull request #73 from est31/hidebutton
Make inventory++ hide button for players without worldedit priv
2015-02-16 19:58:59 -05:00
est31
eca54f0851 Make inventory++ hide button for players without worldedit priv 2015-02-16 23:05:18 +01:00
Anthony Zhang
b0fbcf197f Merge pull request #72 from HybridDog/globalfix
fix an error message
2015-02-14 23:25:20 -05:00
HybridDog
b468e24a20 fix an error message 2015-02-14 23:10:21 +01:00
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
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
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