291 Commits

Author SHA1 Message Date
MihailRis
6e6800aef5 Revert "sort packs in PacksManager::assemble"
This reverts commit 3fb16ab50eedf433c6dce25fb24f760808a0bd19.
2025-02-28 14:03:05 +03:00
MihailRis
84d5b5d1a8 add dv::merge & update EnginePaths::readCombinedObject 2025-02-20 22:08:09 +03:00
MihailRis
12105c2933 fix: incorrect UV on custom model blocks 2025-02-19 23:39:50 +03:00
MihailRis
2908009e92 Merge branch 'main' into update-items 2025-02-18 18:51:11 +03:00
MihailRis
ce9853d813 add BlockMaterial.hitSound 2025-02-18 18:50:50 +03:00
MihailRis
b1bd4feee7 add 'number' uses display mode 2025-02-18 12:49:15 +03:00
MihailRis
81f9e6c7ee refactor & debug output fixes 2025-02-18 04:14:36 +03:00
MihailRis
df2cff3e4c add item 'uses-display' property 2025-02-18 03:24:52 +03:00
MihailRis
231fc7e0d0 refactor InventoryView & add 'uses' item property (WIP) 2025-02-16 20:41:13 +03:00
MihailRis
3430e5cd6f add 'player-entity' to defaults.toml 2025-02-12 16:32:21 +03:00
MihailRis
94bae83de6 fix windows build 2025-02-04 13:32:50 +03:00
MihailRis
28caec6aa0 Merge branch 'main' into update-file-subsystem 2025-02-02 16:32:25 +03:00
MihailRis
3fb16ab50e sort packs in PacksManager::assemble 2025-02-01 16:49:48 +03:00
MihailRis
347d76870a add io::directory_iterator 2025-01-31 10:07:05 +03:00
MihailRis
e0314803c0 migrate from std::filesystem::path to io::path (WIP) 2025-01-30 22:23:13 +03:00
MihailRis
1e22882284 rename 'files' to 'io' 2025-01-30 16:53:52 +03:00
MihailRis
e5d558d357 move world-related sources from files/ to world/files 2025-01-30 15:02:28 +03:00
MihailRis
47e8e4e71e remove extra 'todo' 2025-01-17 21:15:25 +03:00
MihailRis
80128a4190 add on_inventory_open and on_inventory_closed events 2025-01-12 17:14:01 +03:00
MihailRis
22c7cb8398 add on_chunk_present and on_chunk_remove events 2025-01-12 05:41:42 +03:00
MihailRis
136c35591c add file.name(), file.stem() & add 'path' to pack info & add start_coroutine() 2025-01-05 22:44:32 +03:00
MihailRis
bd9018dafe add pack.assemble(...), app.config_packs(...) 2025-01-03 23:51:36 +03:00
MihailRis
97eef3ef19 fix content stats 2024-12-29 20:28:45 +03:00
MihailRis
ebea9af380 add '...@append' method to block properties 2024-12-29 08:56:47 +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
ba0610d857 Merge branch 'main' into headless-mode 2024-12-21 09:03:30 +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
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
086c20c370 cache block.index, block.name, item.index, item.name 2024-12-12 20:28:41 +03:00
MihailRis
5ffc054d75 refactor 2024-12-09 01:12:41 +03:00
MihailRis
3e01a399f9 refactor 2024-12-07 00:04:56 +03:00
MihailRis
bf9f6bbe79 make 'structures.toml' combined 2024-11-28 13:41:59 +03:00
MihailRis
f095edda7a Merge branch 'main' into user-properties 2024-11-24 12:58:09 +03:00
MihailRis
f2e7a54180 add on_replaced block event and on_block_replaced world event 2024-11-22 12:31:45 +03:00
MihailRis
cd630463b3 add block.properties, item.properties (experimental) 2024-11-22 11:08:36 +03:00
MihailRis
a200c3988b feat: load entity components after content load 2024-11-22 09:51:34 +03:00
MihailRis
0ec081a3ae feat: load world scripts after content load 2024-11-22 09:47:43 +03:00
MihailRis
a641099d36 feat: load block and item scripts after content load 2024-11-22 08:56:59 +03:00
MihailRis
61b1aa8e3d add gfx.blockwraps library & add on_player_tick world event 2024-11-21 06:48:23 +03:00
MihailRis
f9f150f0aa fix entity component script source path in lua traceback 2024-11-19 07:35:38 +03:00
MihailRis
e3cb736519 update lua chunks sources to the engine format 2024-11-18 14:05:45 +03:00
MihailRis
5793c52ac6 Revert "remove 'translucent' block property (will be reverted later)"
This reverts commit 7aacadc926432da2583b95f6a02af08ee51c2c91.
2024-11-15 06:47:03 +03:00
MihailRis
4b0b643342 add 'lowering' generated structures property 2024-11-13 01:10:52 +03:00
MihailRis
af4edee063 fix 2024-11-10 21:02:48 +03:00
MihailRis
3fa5369c7c add 'source' property 2024-11-10 20:09:07 +03:00
MihailRis
354e67087c add 'creators' property 2024-11-10 19:41:08 +03:00
MihailRis
423ac2c44e add 'model-name' block property 2024-11-05 22:23:53 +03:00
MihailRis
64369fb189 fix custom model block particles when texture is not specified 2024-11-05 21:59:00 +03:00