1
0
mirror of https://github.com/Uberi/Minetest-WorldEdit.git synced 2024-12-27 11:10:39 +01:00
Commit Graph

236 Commits

Author SHA1 Message Date
Daniel Sosa
f1fe0c6bba Fix /shift command to conform to worldedit command standard 2016-07-03 21:44:02 -05:00
Daniel Sosa
40cee99700 Fix a crash that happened when trying to shift the cuboid using relative direction while looking straight up or down 2016-07-03 21:44:02 -05:00
Daniel Sosa
04d20de4cd Fix several typos 2016-07-03 21:44:02 -05:00
Daniel Sosa
859c6bd12a Implement /expand and /contract 2016-07-03 21:44:02 -05:00
Daniel Sosa
240380ff16 Implement /inset and /shift 2016-07-03 21:44:02 -05:00
Daniel Sosa
8d213d32a0 refactor code for mantainability and reusability. Start of chat command refactor. Implement /outset. 2016-07-03 21:44:02 -05:00
Daniel Sosa
ae29a9f064 Reimplement inset/outset to make use of new marker functions 2016-07-03 21:44:02 -05:00
Daniel Sosa
6cf8b92434 Reimplement /shift to make use of new marker functions 2016-07-03 21:44:02 -05:00
Daniel Sosa
0b97a7c740 Finish /expand implementation. Add /contract command. 2016-07-03 21:44:02 -05:00
Daniel Sosa
900b2f25aa Fix faulty regex in expand. Add relative direction decoding. 2016-07-03 21:44:02 -05:00
Daniel Sosa
f49663902c Major progress and simplification in /expand function 2016-07-03 21:44:02 -05:00
Daniel Sosa
d475682d8f Add common functions to move and update the markers 2016-07-03 21:44:02 -05:00
Daniel Sosa
9e087ff995 Add outset, inset, shift and initial draft of expand 2016-07-03 21:44:02 -05:00
tenplus1
b23e92921c fix gui bug with back button (#116)
Fixed the Worldedit GUI problem where BACK button wouldn't return back to inventory plus menu.
2016-06-20 18:05:47 +02:00
sfan5
61ab240cea Add //drain 2016-03-23 22:09:55 +01:00
sfan5
b06e004d80 Merge pull request #108 from kilbith/master
Fix unability to browse inv. items on creative inventory
2016-02-22 15:54:25 +01:00
Jean-Patrick Guerrero
6dddc93ed7 Fix unability to browse inv. items on creative inventory 2016-02-22 12:29:06 +01:00
sfan5
b99a51f468 Merge pull request #107 from kilbith/master
Re-adapt WorldEdit's GUI button position to new creative inventory
2016-02-22 10:33:04 +01:00
Jean-Patrick Guerrero
91c5053e67 Re-adapt WorldEdit's GUI button position to creative inventory 2016-02-22 10:29:53 +01:00
ShadowNinja
f2f714c19e Fix crash when loading version 3 schematics 2016-01-23 16:57:27 -05:00
Joseph Pickard
47712844a3 Added a WorldEdit wand item that can be used to select areas with worldedit. 2016-01-22 22:24:17 +01:00
sfan5
2bd4d6fa8f Merge pull request #101 from kilbith/master
Adapt WorldEdit GUI button to the new creative inventory
2016-01-17 15:29:06 +01:00
kilbith
e9e8de385c Adapt WorldEdit GUI button to the new creative inventory 2016-01-17 15:26:47 +01:00
Sebastien Ponce
2e2fcfdfa2 Fixed Issue #83 : upsidedown pyramid not working well 2016-01-05 14:11:04 +01:00
sfan5
e0a2661700 Fix //stack2 not working (closes #94) 2016-01-05 13:57:48 +01:00
Rui
7a19c5303b Fix undeclared global variable 2016-01-05 13:33:12 +01:00
sfan5
35b68c481b Fixed dropdown menus in the WorldEdit GUI (closes #78, thanks to @sponce) 2016-01-05 13:14:47 +01:00
sfan5
51158eca9f Fix Save/Load from WorldEdit GUI, fixes #90 2016-01-05 12:42:01 +01:00
sfan5
3aa315f134 Fix Orient in WorldEdit GUI 2016-01-05 12:24:06 +01:00
Anthony Zhang
3d30588a68 Clarify //deleteblocks 2015-12-18 17:33:29 -05:00
Anthony Zhang
48f9c6c23f Fix #93 (thanks @za267!) 2015-11-01 16:50:36 -05:00
Anthony Zhang
fc037e9c82 Fix formspec typo causing crashing upon using /orient in the GUI. 2015-06-18 18:14:45 -04:00
ShadowNinja
90d6b3d237 Allow more characters in file names 2015-06-01 17:08:43 -04:00
ShadowNinja
4bd5d56909 Localize mkdir helper 2015-06-01 16:53:03 -04:00
ShadowNinja
163dffccb3 Fix leaking {safe,check}_region 2015-05-16 19:52:48 -04:00
ShadowNinja
6b2fe397e6 Use minetest.mkdir when available 2015-05-16 19:46:33 -04:00
ShadowNinja
5c115e282c Fix existence check trying to open files for writing 2015-05-16 19:27:27 -04:00
sfan5
ab47385f7b Fix crash (worldedit/manipulations.lua:526: attempt to call global 'set_node' (a nil value)) 2015-05-04 18:48:27 +02:00
Anthony Zhang
78915d4a54 Merge pull request #76 from est31/fixserialisation
Load first node too with LuaJIT
2015-03-11 22:08:32 -04:00
est31
09de34aabf Load first node too with LuaJIT
Before, the first node would have had the version number prepended (e.g. "5:"), and therefore wouldn't be loaded.
2015-03-12 02:40:19 +01:00
Anthony Zhang
c1bd4986b0 Merge pull request #74 from est31/deleteblocks
Add //deleteblocks command
2015-02-21 00:42:05 -05:00
est31
bea38a116a Add //deleteblocks command 2015-02-20 22:30:34 +01:00
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