Commit Graph
100 Commits
Author SHA1 Message Date
MihailRis 13c36f4629 feat: player.delete() function and update documentation 2024-12-26 05:47:18 +03:00
MihailRis c1b311f3c4 refactor: change pointer parameters to references for Level and Content in various classes 2024-12-25 18:53:53 +03:00
MihailRis ef2c0b2370 update doc/*/scripting/user-input.md 2024-12-25 16:42:40 +03:00
MihailRis cb5d191d2f add performance test 2024-12-25 15:45:38 +03:00
MihailRis ed7dc1f901 feat: add app.save_world() function and update documentation 2024-12-25 15:15:11 +03:00
MihailRis 96577ee041 add input.add_callback("key:...") support 2024-12-25 14:08:22 +03:00
MihailRis 5e76cdfadc rename engine.hpp/cpp to Engine.hpp/cpp & move Engine, Time and mainloop classes to 'engine' folder 2024-12-25 12:13:03 +03:00
MihailRis 357e4f8607 refactor: extract post-runnables to a separate class 2024-12-25 11:04:12 +03:00
MihailRis e98132f4da update doc/en/scripting/builtins/libapp.md 2024-12-25 10:42:45 +03:00
MihailRis b927c19f4f Merge branch 'main' into headless-mode 2024-12-25 10:28:47 +03:00
MihailRis bb038653d6 fix UVFace.rotate 2024-12-25 10:28:31 +03:00
MihailRis 36bfa215c1 add app library docs 2024-12-25 07:27:53 +03:00
MihailRis 8179b9c249 add app.get_setting 2024-12-25 07:01:26 +03:00
MihailRis be0945b4a5 add app.get_version, app.get_setting_info 2024-12-25 06:52:30 +03:00
MihailRis 686ace37f1 fix: app.sleep_until max_ticks ignored 2024-12-25 06:10:38 +03:00
MihailRis ad6a6666da rename test library to app & rename app.name to app.script 2024-12-25 06:06:55 +03:00
MihailRis deb85ba2d8 Merge branch 'main' into headless-mode 2024-12-25 05:31:54 +03:00
MihailRis 560288b5c3 update util::PseudoRandom.setSeed 2024-12-24 20:00:49 +03:00
MihailRis c3e16f27ac Merge branch 'main' into headless-mode 2024-12-24 15:56:14 +03:00
MihailRis 65b8835698 update doc/*/block-properties.md (model-name) 2024-12-24 15:53:26 +03:00
MihailRis b4abecc764 refactor 2024-12-24 11:31:54 +03:00
MihailRis e153e1fbd7 add player.is_loading_chunks, .set_loading_chunks 2024-12-24 10:35:09 +03:00
MihailRis 0940e899cf Merge branch 'main' into headless-mode 2024-12-24 08:49:50 +03:00
MihailRis 10491fbb61 add UVFace 2024-12-24 08:49:20 +03:00
MihailRis 272e41de50 disable writing to read-only entry points 2024-12-24 08:13:08 +03:00
MihailRis bc4aea67c9 add file.is_writeable 2024-12-24 08:08:44 +03:00
MihailRis d55d02ac9d add dev/tests/filesystem.lua 2024-12-24 08:01:16 +03:00
MihailRis ecbdb09eff Merge branch 'main' into headless-mode 2024-12-24 05:48:02 +03:00
MihailRisandGitHub 59f13039f1 Merge pull request #421 from MihailRis/particles-upgrade
Particles upgrade & fixes
2024-12-24 05:47:24 +03:00
MihailRis f1c7317c5a fix non-skipping particles 2024-12-24 05:35:02 +03:00
MihailRis faf4cfa735 update doc/*/particles.md 2024-12-24 05:25:40 +03:00
MihailRis 344df27f61 minor refactor 2024-12-24 05:14:51 +03:00
MihailRis 40ac604e58 many emitters test 2024-12-24 05:00:17 +03:00
MihailRis 52494a680c upgrade emitters garbage collection 2024-12-23 17:26:22 +03:00
MihailRis 78761a445a add leaf texture 2024-12-23 16:54:39 +03:00
MihailRis e899575a7a update Emitter randomizer 2024-12-23 16:54:25 +03:00
MihailRis 7f95306c65 add 'min_angular_vel', 'max_angular_vel' properties 2024-12-23 16:48:07 +03:00
MihailRis 6ac088f7b9 set default particles render distance to 32 2024-12-23 16:34:08 +03:00
MihailRis 6be640458d fix particles lighting 2024-12-23 16:26:45 +03:00
MihailRis c6de7f62fe add 'angle_spread' property 2024-12-23 16:04:48 +03:00
MihailRis 0da25f05d6 Merge branch 'main' into headless-mode 2024-12-23 14:13:59 +03:00
MihailRis 90b1f63406 update leaves texture & update mip-mapping settings 2024-12-23 14:13:45 +03:00
MihailRis 096092303f add 'graphics.chunk-max-vertices-dense' setting 2024-12-23 14:07:59 +03:00
MihailRis 6a8afe2795 fix 2024-12-23 14:01:35 +03:00
MihailRis 3d33de502d move 'player.noclip' and 'player.flight' handlers to Lua 2024-12-23 13:51:12 +03:00
MihailRis 9164edf971 move 'player.pick' binding handler to Lua 2024-12-23 12:37:26 +03:00
MihailRis 22d207ba28 add player.set_selected_slot, inventory.find_by_item 2024-12-23 12:24:29 +03:00
MihailRis 240470f69b add new ore creation to the world-generator docs 2024-12-22 02:49:10 +03:00
MihailRis 1149d5869c Merge branch 'main' into headless-mode 2024-12-22 02:33:12 +03:00
MihailRis c9b69fdfb2 fix data_buffer:put_bytes 2024-12-22 02:32:00 +03:00
MihailRis d6ccdf9871 add new Bytearray:insert overloads 2024-12-22 02:27:00 +03:00
MihailRis 212cc486d4 optimize data_buffer:put_bytes for Bytearray 2024-12-22 02:22:00 +03:00
MihailRis 4ce2f3edca add new Bytearray:append overloads 2024-12-22 02:14:04 +03:00
MihailRisandGitHub e5b533f65f Merge pull request #420 from Onran0/main
is_array fix
2024-12-22 01:05:43 +03:00
MihailRis 4363883728 add 'on_breaking', 'on_block_breaking' events 2024-12-21 14:09:17 +03:00
MihailRis c3f22c6854 rename 2024-12-21 13:11:23 +03:00
MihailRis 17161e5981 fix: on_player_tick not called 2024-12-21 12:55:47 +03:00
MihailRis 79f5ffc463 Merge branch 'main' into headless-mode 2024-12-21 10:58:41 +03:00
MihailRisandGitHub da484da17c Merge pull request #417 from Xertis/patch-3
Add new extensions
2024-12-21 10:58:21 +03:00
MihailRis cdb6f2a9cd Merge branch 'main' into headless-mode 2024-12-21 09:59:37 +03:00
MihailRis 2d7f448d88 update leaves texture 2024-12-21 09:58:49 +03:00
MihailRis f49feebd5c refactor 2024-12-21 09:55:44 +03:00
MihailRis ba0610d857 Merge branch 'main' into headless-mode 2024-12-21 09:03:30 +03:00
MihailRisandGitHub 9594e025c3 Merge pull request #418 from MihailRis/culling-property
New blocks rendering properties
2024-12-21 08:57:41 +03:00
MihailRis 6f6421df53 update doc/*/block-properties.md 2024-12-21 08:45:30 +03:00
MihailRis a5a72af796 fix msvc build 2024-12-21 08:31:58 +03:00
MihailRis dc8f5e7873 add 'graphics.dense-render' setting 2024-12-21 08:13:05 +03:00
MihailRis 954724c837 add 'culling' property & optimize generated chunk meshes & fix faces culling when 'light-passing' is false 2024-12-21 06:41:03 +03:00
MihailRis d021b443dd update leaves texture 2024-12-21 05:38:30 +03:00
MihailRis dc93cac1b9 add 'script' entry point 2024-12-21 02:34:54 +03:00
MihailRis f43e378bc0 update leaves 2024-12-21 02:01:52 +03:00
MihailRis 1aca4957a4 fix 2024-12-19 23:01:16 +03:00
MihailRis 3d6c1183c4 add logger.print 2024-12-19 22:57:51 +03:00
MihailRis 3d7a9fd225 Merge branch 'main' into headless-mode 2024-12-19 22:57:12 +03:00
MihailRis cda34e3975 fix block overriding 2024-12-19 22:54:54 +03:00
MihailRis 2787f2fc54 fix: grabbed item is deleted on inventory close 2024-12-19 22:44:54 +03:00
MihailRisandGitHub 9ef18498ff Merge pull request #416 from RichardTry/patch-1
Copy metatable in table.deep_copy
2024-12-19 02:46:32 +03:00
MihailRis 3c6ca01df8 fix 2024-12-19 02:37:13 +03:00
MihailRis 008e11b4b7 fix ServerMainloop timer 2024-12-19 02:29:41 +03:00
MihailRis 8a4f1e16f3 refactor PlayerController 2024-12-19 00:38:41 +03:00
MihailRis 8eda26f171 Merge branch 'main' into headless-mode 2024-12-18 23:50:30 +03:00
MihailRis babb6a6d8d update doc/*/audio.md 2024-12-18 23:49:39 +03:00
MihailRis 1cd85b6f77 implement player ticks in headless mode & prevent on_player_tick call if player chunk does not exists 2024-12-18 23:31:26 +03:00
MihailRis 8e7dfe3e0b Merge branch 'main' into headless-mode 2024-12-18 19:55:42 +03:00
MihailRis 33c76e7d70 add 'heightmap-inputs' to world-generator docs 2024-12-18 19:54:47 +03:00
MihailRis a144dd75b7 update vctest & add new test 2024-12-18 05:16:06 +03:00
MihailRis d745a34657 refactor 2024-12-18 04:13:33 +03:00
MihailRis 5e55e20ec4 add test.quit, test.reopen_world 2024-12-18 02:25:28 +03:00
MihailRis fa1646a9bd add '--script', '--version' command line arguments 2024-12-18 00:48:29 +03:00
MihailRis 48d94036fd rename Level.chunksStorage to Level.chunks 2024-12-17 23:57:00 +03:00
MihailRis 70370904db two players test 2024-12-17 22:38:08 +03:00
MihailRis 09e641fd91 advanced chunks loading test 2024-12-17 21:18:05 +03:00
MihailRis b1fc666448 fix 2024-12-17 20:56:25 +03:00
MihailRis 49dd866c22 update Chunks::configure 2024-12-17 20:43:42 +03:00
MihailRis 1c18c02092 move Chunks from Level to Player 2024-12-17 19:40:00 +03:00
MihailRis b7664b4188 move Lighting instance to ChunksController 2024-12-17 05:13:49 +03:00
MihailRis c5049d0e24 performance test again 2024-12-17 02:05:52 +03:00
MihailRis 7ca91020e3 add docs to remaining public blocks_agent functions 2024-12-17 00:04:52 +03:00
MihailRis 6ed0bc3e7e add docs to some blocks_agent functions 2024-12-16 23:56:52 +03:00
MihailRis 5030a65bc1 add docs to some blocks_agent functions 2024-12-16 23:43:01 +03:00