Commit Graph

992 Commits

Author SHA1 Message Date
Starbeamrainbowlabs 763ae3db8d
Implement 2D bresenham line drawing for #35
We need it to be 3D though.
We essentially just ported f51f153459/src/index.js to Lua, as https://medium.com/geekculture/bresenhams-line-drawing-algorithm-2e0e953901b3 was WRONG as it didn't handle all edge cases and this one is much more optimised.
2022-09-17 23:27:57 +01:00
Starbeamrainbowlabs 382194321b
fixup 2022-08-06 15:17:16 +01:00
Starbeamrainbowlabs e6a48c8799
fix CI 2022-08-06 15:15:36 +01:00
Starbeamrainbowlabs d3900e2ad9
Update dependencies
also add missing debug dependency
Ref CI job output
2022-08-06 15:03:33 +01:00
Starbeamrainbowlabs 63abd1f539
build.sh: add export NODE_ENV=production 2022-07-06 02:33:37 +01:00
Starbeamrainbowlabs 0e7b292bb1
docs: serve GitHub avatars locally 2022-07-06 01:41:27 +01:00
Starbeamrainbowlabs 8eec6a32f7
Add CSS minification 2022-07-06 00:28:55 +01:00
Starbeamrainbowlabs bd88f93296
Update dependencies 2022-07-05 20:58:19 +01:00
Starbeamrainbowlabs c465d6efb0
Commands that modify the terrain now ignore liquids 2022-06-11 21:56:26 +01:00
Starbeamrainbowlabs 2d989acee5
reference: typo 2022-06-11 18:54:04 +01:00
Starbeamrainbowlabs 6e0779a4e5
//sculpt: Fix undefined `default` brush 2022-06-11 18:53:54 +01:00
Starbeamrainbowlabs 77c634dd7d
reference: fix subheadings disappearing 2022-06-11 16:58:25 +01:00
Starbeamrainbowlabs fc4f64d25a
Merge branch 'main' of github.com:sbrl/Minetest-WorldEditAdditions into main 2022-06-05 17:13:49 +01:00
Starbeamrainbowlabs e294d96efe
//dome+: ensure domes include pos1 2022-06-05 17:10:41 +01:00
VorTechnix dc73e0e1e9 sum param clarification 2022-05-30 08:38:33 -07:00
Starbeamrainbowlabs be0612e6be
Merge pull request #80 from sbrl/VorTechnix
Implement new axis keyword parser system
2022-05-30 16:00:01 +01:00
VorTechnix 74ca84fcee Create axes_parser.test.lua 2022-05-29 17:49:01 -07:00
VorTechnix 53600789d8 added compass directions, fixed tmp.sign bug 2022-05-29 16:23:59 -07:00
VorTechnix 6e3252b471 Merge branch 'main' into VorTechnix 2022-05-24 18:47:41 -07:00
Starbeamrainbowlabs 5ac98cfa22
tests.sh: use $OSTYPE to decide how to call luarocks
this is ridiculous
2022-05-25 02:14:17 +01:00
Starbeamrainbowlabs b94c38bb99
tests.sh: add logging to test github actions 2022-05-25 02:07:16 +01:00
VorTechnix 98e9888897 Merge branch 'main' into VorTechnix 2022-05-24 17:35:33 -07:00
Starbeamrainbowlabs 50b1df57c4
tests.sh: more windows weirdness 2022-05-25 01:33:07 +01:00
VorTechnix d79c187a9d Merge branch 'main' into VorTechnix 2022-05-24 16:47:38 -07:00
Starbeamrainbowlabs cb75776164
tests.sh: fix eval luarocks path on Windows
Annoyingly luarocks generates batch commands on Windows, even when being 
called from Git Bash :-/
2022-05-25 00:45:37 +01:00
VorTechnix 021fdac284 variable refactor 2022-05-23 18:49:24 -07:00
Starbeamrainbowlabs 64ff61a4d2
Fix override aliases 2022-05-24 02:24:43 +01:00
VorTechnix 6ed65074b8 unexposed number parser 2022-05-23 18:04:34 -07:00
VorTechnix a8655373a2 fixed typo 2022-05-23 17:11:26 -07:00
VorTechnix 3196a590f5 changed: functions returned
(and unexposed key_instance class)
2022-05-23 17:08:42 -07:00
VorTechnix 1cef968731 Key Instance type checking 2022-05-23 17:06:23 -07:00
Starbeamrainbowlabs af7d39110b
//spiral2: fix params description 2022-05-24 01:05:09 +01:00
Starbeamrainbowlabs 9bfb428c3f
add override aliases behind a setting 2022-05-24 00:11:22 +01:00
VorTechnix e17b2cce4e small correction 2022-05-23 15:02:59 -07:00
VorTechnix 23140467d2 new parser connected 2022-05-23 14:58:45 -07:00
VorTechnix 2cddccdca4 working (tested) parser implementation 2022-05-23 14:58:27 -07:00
VorTechnix 8789b39d1d Merge branch 'main' into VorTechnix 2022-05-21 07:04:09 -07:00
VorTechnix a0982c70f0 check_dir update (unification) 2022-05-20 19:29:01 -07:00
VorTechnix a6b4d047b8 axes_parser implemented (not added to init) 2022-05-20 19:27:47 -07:00
Starbeamrainbowlabs 1750d62d3c
core: add register_alias command
it is backwards-compatible with worldedit.register_command
2022-05-19 22:50:53 +01:00
Starbeamrainbowlabs c2c0fa5d8d
core: if worldedit is installed also register commands there
This ensures that e.g. //cubeapply continues to work as expected
2022-05-19 22:13:09 +01:00
Starbeamrainbowlabs 8de49ac0af
register commands with worldeditadditions, not worldedit 2022-05-19 22:10:09 +01:00
Starbeamrainbowlabs 3bcca82b43
//maze, //maze3d: registere with our new WEA core rather than WorldEdit 2022-05-19 02:43:19 +01:00
Starbeamrainbowlabs c53fb32d2b
core: fix register_command and run_command 2022-05-19 02:40:05 +01:00
Starbeamrainbowlabs 95c0e96da9
core: fix luacheck errors 2022-05-19 02:32:17 +01:00
Starbeamrainbowlabs b816133716
core: implement fetch_command_def
This rovides an abstraction to fetch a worldedit command's definition, 
regardless of where it was registered.

We would normally expect all commands to be registered in 
wea_c.registered_commands, but before we only do a one-off pass to 
import commands from worldedit should a new mod we aren't aware of 
register a command with worldedit and get loaded after us, we won't 
detect it - hencee  the need for this function.
2022-05-19 02:31:01 +01:00
Starbeamrainbowlabs c60b5c5bad
core: fix bugs, enable! 2022-05-19 01:45:36 +01:00
Starbeamrainbowlabs 4306035ef2
core: implement safe_region 2022-05-18 02:31:08 +01:00
Starbeamrainbowlabs 8f6c3e020f
fixup 2022-05-17 01:04:51 +01:00
Starbeamrainbowlabs d21f7ca5fb
core: minor fixes 2022-05-17 01:04:38 +01:00