Commit Graph

32 Commits

Author SHA1 Message Date
HybridDog cda772b18d
Add a hollowcuboid iteration helper (#190) 2024-04-23 20:35:26 +02:00
HybridDog cc3aab00bc Fix tab after space indentations 2023-06-09 19:51:10 +02:00
sfan5 7f7e928dd9 Switch bare vectors to vector.new() 2023-06-09 14:49:58 +02:00
sfan5 3322ef90c4 Fix negative height pyramids (fixes #152) 2018-01-04 01:03:51 +01: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 6e2e2385e9 Merge remote-tracking branch 'tmp/hollowpyramid' 2016-10-13 17:51:01 +02:00
Sebastien Ponce 2e2fcfdfa2 Fixed Issue #83 : upsidedown pyramid not working well 2016-01-05 14:11:04 +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 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
Uberi 36424e3dec Improve worldedit.spiral and the WorldEdit GUI, 2013-12-16 18:55:56 -05:00
Uberi 0797c47afb Fix worldedit.hollow_cylinder. 2013-12-15 16:33:31 -05:00
Uberi 272541c9da Changes to support the latest schematic probability specification. 2013-08-16 16:57:35 -04:00
Anthony Zhang b0bf52e9b6 Rewrite spirals from scratch and fix upside-down pyramids. Use voxelmanip for markers to ensure area is emerged. 2013-07-31 22:15:08 -04:00
Anthony Zhang 3c51ec8c4a //pyramid works along any axis and backwards. Working //clearobjects and //cylinder command, begin implementing super marker. Remove EnvRef usages and the block queue (the block queue does not work with VoxelManips). More block emergers. 2013-07-31 00:02:37 -04:00
Anthony Zhang 49b683f27f Support negative values to make upside-down domes and pyramids (slight changes to worldedit.pyramid interface for coming changes). Add experimental //clearobjects, make node inspector work per-player. 2013-07-29 12:43:24 -04:00
Anthony Zhang c1f3cfc1e4 Fix bugs in visualization API and make it ore robust. Fix bugs in //fixedpos, //suppress, and //highlight. 2013-07-28 18:15:46 -04:00
Anthony Zhang b252df2166 Slight optimizations, and make //pyramid work properly again. 2013-07-28 17:08:12 -04:00
Anthony Zhang faa4a7b065 More speedups for //hollowsphere, //sphere, //hollowdome, //dome, //cylinder, better module loader, fix message in //volume. 2013-07-27 21:34:42 -04:00
Anthony Zhang 8ebf9d3c2a Super duper VoxelManipulator speedups to nearly every API function, and plus support for unloaded areas. Still in progress. Also, fix //allocate for very large schematics. 2013-07-21 16:54:25 -04:00
Anthony Zhang ac5e801834 Even bigger speed gains by using LuaVoxelManipulator in a few choice places! Faster //set, //cylinder, etc., but plenty of room for improvements still. 2013-07-12 14:22:30 -04:00
Anthony Zhang b6bc841c39 Fix volume of spheres, domes, and their hollow variants. 2013-06-24 18:22:01 -04:00
Anthony Zhang 9db6192eba Avoid using slower and deprecated EnvRef, fix schematic data MapNodes, huge speed boost to worldedit.hollow_cylinder, fix some bugs. 2013-06-23 12:46:59 -04:00
Anthony Zhang 1e5f623cbb Super-speed a few primitives and visualization functions, including hollowsphere, sphere, hollowdome, dome, and suppress. 2013-06-22 23:08:51 -04:00
Anthony Zhang 58970e7fab Clarify the documentation regarding the the positioning of WorldEdit primitives relative to position 1. 2013-06-22 23:05:34 -04:00
Sfan5 5e5c1dc6c3 Add Block Queue 2013-04-28 19:08:09 +02:00
Anthony Zhang 71b6004b92 New commands //hollowdome and //dome, as well as new API functions worldedit.dome and worldedit.hollow_dome. Oh, and spheres generate faster too. 2013-04-27 18:28:20 -04:00
Kyle a76ee00391 worldedit.hollow_sphere returns non-nil count 2012-10-17 16:18:19 -07:00
Anthony Zhang 1c31bd7f0d Separate components into separate mods, add visualization API with hide(), suppress(), find(), and restore() for nondestructive node visualization. Corresponding chat commands are //hide, //suppress, //find, and //restore. Commands and functions documented. 2012-10-13 21:45:50 -04:00