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

121 Commits

Author SHA1 Message Date
sfan5
770601dd5d Add automated tests for WorldEdit API functions that run under CI
uses a real Minetest instance (Docker)
currently covers most basic manipulations
2021-09-20 23:10:04 +02:00
sfan5
2f2f5a7def Use minetest.global_exists for LuaJIT check
closes #199
2021-09-12 19:35:57 +02:00
sfan5
4378750498 Use minetest.get_objects_in_area when possible 2021-04-30 19:33:27 +02:00
sfan5
2f26fb7645 WorldEdit 1.3 2021-01-31 00:49:58 +01:00
sfan5
2f535dd053
worldedit: Document inner working of worldedit.keep_loaded 2020-05-25 19:48:54 +02:00
sfan5
9b26034aea Move worldedit.marker_update
Markers are part of the UI (`worldedit_chatcommands`) and do not belong in `worldedit`.
2020-04-07 00:14:31 +02:00
sfan5
da51c688d2 Call minetest.deserialize with safe=true
wtf?
2020-02-06 11:53:14 +01:00
sfan5
ab93871877 Move some deserialization code around 2020-02-06 11:51:44 +01:00
sfan5
8feaf8a21d Fix area clearing step of negative //move's
fixes #187
2019-11-13 20:49:25 +01:00
sfan5
b4826aa821 Use faster vmanip copying for //move too 2019-09-17 18:42:11 +02:00
sfan5
a0181ea897 Delete old metadata when moving regions
This matches the behaviour before introduction of the vmanip code.
2019-09-17 18:03:19 +02:00
sfan5
2a4aaae8a2 Always use faster vmanip copying code
Since the code has two arrays of the area before and after,
the copy order is totally irrelevant.
Of course, this doesn't apply to metadata and we still need
to do that backwards.
2019-09-17 01:28:53 +02:00
sfan5
f6298d7b87 Fix schematics with extra headers to parse properly
Currently no schematic format makes use of these, but that
may change so do some future proofing.
2019-09-09 20:52:15 +02:00
sfan5
cc897150f2 Fix performance of //stack, //stack2 2019-09-08 22:14:07 +02:00
sfan5
f39a8e264d Faster moving using vmanips (in some cases) 2019-09-08 22:14:07 +02:00
sfan5
da5abec273 Faster copying using vmanips 2019-09-08 22:14:07 +02:00
sfan5
ff53a71d58 Remove outdated function check 2019-09-08 18:57:54 +02:00
sfan5
b8453a0e0b Remove deprecated depends.txt, add descriptions to mod.conf 2019-07-17 02:15:04 +02:00
Panquesito7
3ffecdd9c4 Replace deprecated functions with newer ones
These commits create compatibility with MT/MTG 5.0.0+.
However, these commits may/will break with the 0.4-series.
2019-07-17 01:23:40 +02:00
Niwla23
40b49ee9bc Make placeholders not pointable 2019-07-17 01:22:12 +02:00
sfan5
4f2c7b18cc Fix //allocate with 0 nodes 2019-07-17 01:20:40 +02:00
TalkLounge
b2e086f9ec Fix //load with 0 nodes (#177) 2019-06-15 16:46:12 +02:00
HybridDog
d1cbd420bb serialize: Fix detecting empty metadata (#176) 2019-04-24 22:51:18 +02:00
Pedro Gimeno
0aeee79af6 Implement full facedir and color* in //orient
Thanks to entuland for the Rhotator facedir to matrix and matrix to facedir code, which helped creating the tables.
2019-04-05 00:12:02 +02:00
Isidor Zeuner
f8e57559ec replace deprecated function call 2018-11-25 13:46:27 +01:00
sfan5
3322ef90c4 Fix negative height pyramids (fixes #152) 2018-01-04 01:03:51 +01:00
sfan5
415000e797 Fix a few assignments to undeclared globals 2017-11-07 14:19:57 +01:00
sfan5
59dc2d34d9 WorldEdit 1.2 2017-09-12 14:56:01 +02:00
Wuzzy
3c61759bae Allow to bulk-set param2 of regions (#144) 2017-09-05 14:40:46 +02:00
sfan5
2f4eb19a3a Fix one-node high cylinders
closes #146
2017-09-03 20:12:38 +02:00
sfan5
e680d8087e Fix small logic error in worldedit.cylinder 2017-08-31 20:10:08 +02:00
sfan5
870873ad15 Add //hollowcube and //cube
closes #143
2017-08-31 19:08:10 +02:00
Kyle
bf8e2a8233 Dual-based cylinder 2017-08-31 16:25:22 +02:00
sfan5
92fe95fab7 Make //fixlight work again
The dig-air-nodes method seems to have stopped working a few Minetest version ago
2017-01-02 19:03:21 +01:00
sfan5
f9311b2b15 Move wand.lua to worldedit_commands 2016-12-10 21:54:51 +01:00
sfan5
15f0cea72e Disable wand tool on entities 2016-12-10 21:39:44 +01:00
sfan5
6e2e2385e9 Merge remote-tracking branch 'tmp/hollowpyramid' 2016-10-13 17:51:01 +02:00
sfan5
5afea424ba Move cuboidapi.lua to correct place 2016-07-04 19:57:48 +02: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
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
Anthony Zhang
48f9c6c23f Fix #93 (thanks @za267!) 2015-11-01 16:50:36 -05:00
Sebastien Ponce
5f9efb1205 Added hollow pyramids 2015-09-13 22:08:04 +02: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
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
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