Commit Graph

321 Commits

Author SHA1 Message Date
Lars Mueller
6df2bcf1f1 Use minetest.safe_file_write 2021-03-30 22:26:30 +02:00
Lars Mueller
cd1c99c1db Merge branch 'lazy-loading' 2021-03-30 18:13:27 +02:00
Lars Mueller
ab37e3a606 Bump version 2021-03-30 18:10:50 +02:00
Lars Mueller
859d617138 Fix math.fround 2021-03-30 18:06:58 +02:00
Lars Mueller
f5dd65d772 Make tests Minetest-independent 2021-03-30 18:06:41 +02:00
Lars Mueller
09e748f37d Fix whitespace 2021-03-30 18:06:10 +02:00
Lars Mueller
91841fdfa4 Localize variable 2021-03-30 18:04:45 +02:00
Lars Mueller
10ad1270e8 Experimental lazy loading 2021-03-29 14:42:56 +02:00
Lars Mueller
82f0e2942a Fix syntax error & indentation 2021-03-27 21:04:49 +01:00
Lars Mueller
f14aef3899 Add modlib.version 2021-03-27 20:44:28 +01:00
Lars Mueller
dcf56ace9f Removed dead code 2021-03-27 20:11:07 +01:00
Lars Mueller
adb4b4fdaf Indentation: Use only tabs 2021-03-27 20:10:49 +01:00
Lars Mueller
3acf09eed6 Add colorspec.from_number_rgb 2021-03-27 12:20:57 +01:00
Lars Mueller
6f0dbaaeb3 Fix colorspec.from_string, add tests 2021-03-27 12:18:27 +01:00
Lars Mueller
0c47e04347 Apply luk3yx's code quality suggestion 2021-03-25 18:02:20 +01:00
Lars Mueller
e212ba7f3b Add minetest.colorspec:to_number_rgb 2021-03-25 17:50:20 +01:00
Lars Mueller
d1baf23814 Split up "minetest" module in multiple files 2021-03-25 17:46:04 +01:00
Lars Mueller
11e8bc6f4c Fix assertdump stack level 2021-03-25 11:47:34 +01:00
Lars Mueller
b87395272b Improve tests 2021-03-24 23:46:17 +01:00
Lars Mueller
2c051cc026 Add & use modlib.assertdump 2021-03-24 20:27:02 +01:00
Lars Mueller
02f24dd59f vector.cross3: Assert dimension = 3 2021-03-24 10:42:28 +01:00
Lars Mueller
7507209f29 Vectors: Consistent argument naming 2021-03-24 10:38:10 +01:00
Lars Mueller
f0f48c0fb4 Add vector.angle 2021-03-24 10:36:28 +01:00
Lars Mueller
0d1c5596a6 Add func.call_by_value 2021-03-22 18:17:26 +01:00
Lars Mueller
2005754a46 Add binary module to reduce code duplication 2021-03-13 16:55:21 +01:00
Lars Mueller
7a92f3b492 Bluon: Fix integer serialization & tests 2021-03-13 16:19:57 +01:00
Lars Mueller
7dea86fec2 Bluon documentation 2021-03-05 15:08:57 +01:00
Lars Mueller
8105ee2419 Experimental binary lua object notation (bluon) 2021-03-05 15:07:34 +01:00
Lars Mueller
2ff48fe494 Add text.hexdump 2021-03-05 11:05:47 +01:00
Lars Mueller
63050f3bad Add text.inputstream 2021-03-04 19:51:04 +01:00
Lars Mueller
b3703ab91d Add table.rope_len for determining length 2021-03-04 13:42:09 +01:00
Lars Mueller
7346d27e79 Add math.fround 2021-03-04 12:19:08 +01:00
Lars Mueller
44cca2569c Make modlib independent of Minetest 2021-03-04 12:18:26 +01:00
Lars Mueller
d728157204 Add table.rope with :write and :to_text 2021-03-04 08:30:19 +01:00
Lars Mueller
8c97425fbc b3d: add support for positive nan 2021-03-03 18:31:38 +01:00
Lars Mueller
ca6757f326 table: get rid of unneeded metatable duplication 2021-02-27 17:16:30 +01:00
Lars Mueller
5e3fd2048e Remove unnecessary _G 2021-02-26 22:23:25 +01:00
Lars Mueller
95598799ee Revert "Fix B3D reader: Don't rely on table constructor execution order"
This reverts commit fe26d4c793fd4956b2e1dda881c26736c0062b1b.
2021-02-26 22:22:19 +01:00
Lars Mueller
fe26d4c793 Fix B3D reader: Don't rely on table constructor execution order 2021-02-26 18:36:46 +01:00
Lars Mueller
ba4a6ab8e6 b3d test default false 2021-02-12 14:05:56 +01:00
Lars Mueller
4aec592fb2 Add vector.distance (required by k-d-tree) 2021-02-07 14:01:40 +01:00
Lars Mueller
4bdd79cadc kdtree tests 2021-02-07 14:00:48 +01:00
Lars Mueller
006beff2ef kdtree fixes 2021-02-07 14:00:41 +01:00
Lars Mueller
155ab6deb7 Add simple k-d-tree 2021-02-07 00:40:25 +01:00
Lars Mueller
386f49a6ac Add vector.distance 2021-02-06 18:07:50 +01:00
Lars Mueller
3807c32df5 Fix syntax error 2021-02-06 12:03:35 +01:00
Lars Mueller
24b1a90d0a Add quaternion.from_euler_rotation 2021-02-06 12:01:47 +01:00
Lars Mueller
525f0dc2de Better to_euler_rotation methods 2021-02-06 11:57:34 +01:00
Lars Mueller
a462b313f1 Redo get_animated_bone_properties 2021-02-06 11:55:43 +01:00
Lars Mueller
311ff9cb10 Make table.find return nil if not found 2021-02-06 11:48:00 +01:00