Commit graph

52 commits

Author SHA1 Message Date
e5493dfb11
tests/weaschem: write tests for parse, except delta_which functionality 2023-08-18 21:17:17 +01:00
78ec40b6be
weaschem: finish write tests for parse_data_table
glad I did, 'cause I found a bunch of subtle bugs
2023-08-18 20:27:00 +01:00
bd012813b3
weaschem: validate node ids in parse_data_table 2023-08-18 15:21:02 +01:00
3b7e91b3b7
weaschem: adjust call to make testable
really annoying how the test environment & MT have different import schemes.....
2023-08-18 15:02:26 +01:00
8048310419
tests/weaschem: write tests for parse_id_map 2023-08-16 02:02:10 +01:00
2dc1755b5c
tests/weaschem: Finish initial tests for parse_header 2023-08-15 19:25:13 +01:00
270ec92fee
start with tests for the header parser, but they aren't finished yet 2023-08-15 03:07:30 +01:00
7e6e61a00b
start basic tests for headers.
We might want to consider a separate distribution that omits all the test files......
2023-08-15 02:59:19 +01:00
3faaaa5283
weaschem: make basically testable 2023-08-15 00:19:54 +01:00
1abab143e7
.weaschem: initial, UNTESTED, parsing implementation
....it's not hooked up at all yet.
WEA will not even load the file yet, and we don't have tests either
....tests might be a bit of a problem given we use minetest.parse_json directly.
2023-08-12 03:05:10 +01:00
e4539edb4b
rough sketch of the outline of StagedVoxelRegion.
This doesn't include the deltas feature yet
2023-08-09 03:33:56 +01:00
3c7e1ef545
Create proper io namespace directory 2023-08-08 18:46:41 +01:00
76c02cd42f
update more comments 2023-08-03 14:37:05 +01:00
9d47dcbcf3
comments: update 2023-08-03 14:16:14 +01:00
daae15eb57
EventEmitter: improve debug logging 2023-07-31 22:06:44 +01:00
VorTechnix
5cf155772d Merge branch 'main' of https://github.com/sbrl/Minetest-WorldEditAdditions 2023-07-04 14:50:17 -07:00
VorTechnix
55ddc16b2e small fix to file:read error 2023-07-04 14:50:14 -07:00
6bc1987916
Update and correct a bunch of comments
note that @module is outdated and should not be used
2023-07-04 22:45:02 +01:00
5d18f6d0db
comment debug 2023-07-04 22:00:28 +01:00
7bdefc8d42
split_shell: comment out debug 2023-07-04 19:10:05 +01:00
02ad40eaae
split_shell: add automated tests, and fix an obscure bug 2023-07-04 19:04:11 +01:00
047033a6ef
comments: update @class definitions 2023-07-02 19:03:46 +01:00
464ea53465
vector3: fix comments 2023-07-02 17:03:39 +01:00
VorTechnix
8d9f51de35 handler patch
I should have done this in a branch lol
2023-05-28 08:45:39 -07:00
VorTechnix
67baee7465 fixed missing underscore 2023-05-28 08:37:57 -07:00
VorTechnix
16afb9eddc Create setting_handler.lua 2023-05-24 14:44:38 -07:00
d1b9d1c1c1
vector3.round_dp(): todo 2023-01-21 03:27:02 +00:00
392708b190
initial wea.revolve() implementation
....but it's not tested or hooked up yet.
Next up: a chat command definition so we can test it.
2023-01-21 03:24:44 +00:00
87812679d9
table_reduce: typo 2023-01-21 02:34:47 +00:00
2ecc8cb2d7
add implementation of array.reduce() from JS 2023-01-21 02:32:09 +00:00
66227153d0
add wea_c.range(min, max, step) 2023-01-21 01:32:17 +00:00
9c66288827
Vector3: add rotate3d.
Thanks to GitHub Copilot for the implementation, it just needed
improving around the edges to make it work perfectly.
For the record, copilot generated it in JS, and then
I manually ported it to Lua.
If the Copilot code looks sufficiently similar to your own source,
get in touch and I will give you full credit.
2023-01-20 23:43:07 +00:00
53609ac83e
vector3: .volume() is already implemented
remove todo comment
2023-01-17 00:08:13 +00:00
c319be5840
fix //spline :D 2022-09-25 17:07:37 +01:00
fe30fd5c51
add comment 2022-09-25 16:16:03 +01:00
2748f4cdfa
//spline: plot chaikin curve 2022-09-25 15:30:16 +01:00
9a4b4beb76
EventEmitter: add debug printing (disabled by default) 2022-09-25 15:03:16 +01:00
258a9c1cde
implement initial //spline, but it isn't finished yet 2022-09-25 01:18:40 +01:00
38a72468d9
utils: rename folder tables → table to match API 2022-09-24 13:41:44 +01:00
bc5dc6b2b4
write tests for parse.map 2022-09-24 03:15:44 +01:00
84226a9909
write tests for parse.chance+seed 2022-09-24 02:51:56 +01:00
2473c1ce41
Implement Vector3.volume () 2022-09-24 02:33:10 +01:00
47b1c44b38
Upgrade position system, add initial position markers 2022-09-19 23:18:49 +01:00
d9877b8c6c
more crash fixes 2022-09-19 19:42:22 +01:00
44e6ba8e3c
Upgrade more old vector stuff in the corners 2022-09-19 18:54:53 +01:00
1024b19629
fix startup crashes; crashes in cloudwand 2022-09-19 17:27:59 +01:00
7a688969b2
fix tests 2022-09-19 01:31:47 +01:00
41e3ebc7dd
Upgrade all main commands 2022-09-19 00:18:03 +01:00
4a56d45c4b
Upgrade all selection commands 2022-09-18 22:20:04 +01:00
e167fb1536
start working on converting everything to the new utils location
after we've done this, we'll rename utils → lib
2022-09-18 17:59:57 +01:00