33 Commits

Author SHA1 Message Date
MihailRis
3d22de761f fix compiler warnings (GCC + Clang) 2025-03-20 22:04:29 +03:00
MihailRis
f9998f0a93 feat: world script reloading 2025-03-14 17:07:10 +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
b00160eb26 add chunk data validity check to world.set_chunk_data 2025-01-31 12:41:49 +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
e377450589 fix world.get_list in headless mode 2025-01-27 05:37:03 +03:00
MihailRis
9c8e4e813c fix extra lights-related work in world.set_chunk_data 2025-01-21 23:15:31 +03:00
MihailRis
02a93d8bc3 feat: world.get_chunk_data(...) saved chunk data when chunk is not loaded 2025-01-20 01:25:43 +03:00
MihailRis
f1f81371af add world.save_chunk_data(...) 2025-01-19 23:36:37 +03:00
MihailRis
c9adbe80ea add Bytearray support to world.set_chunk_data(...) 2025-01-18 04:25:32 +03:00
MihailRis
41f6194fc1 introduce compressed_chunks namespace 2025-01-12 03:05:58 +03:00
MihailRis
c5fa6935a6 add metadata to chunk data used in world.get/set_chunk_data 2025-01-12 01:47:07 +03:00
MihailRis
077de25acc refactor 2025-01-11 23:38:43 +03:00
MihailRis
fe210708e5 fix 2025-01-11 23:03:19 +03:00
MihailRis
7b962841d6 fix world.set_chunk_data & rid of extra memory allocations in world.get_chunk_data 2025-01-11 18:50:45 +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
d745a34657 refactor 2024-12-18 04:13:33 +03:00
MihailRis
48d94036fd rename Level.chunksStorage to Level.chunks 2024-12-17 23:57:00 +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
e713412a6d rename ChunksStorage to GlobalChunks 2024-12-14 18:58:51 +03:00
MihailRis
9ec8788838 add player.create, test.set_setting, test.sleep_until, world.count_chunks 2024-12-12 15:54:56 +03:00
REDxEYE
57e9cade7b Potential nullptr access fix 2024-12-02 21:27:37 +03:00
REDxEYE
ad81e64461 Add EXTRLE16+GZIP combo for chunk compression 2024-12-02 21:26:44 +03:00
REDxEYE
49defaeb3b Add api to serialize and deserialize chunk to bytes 2024-12-02 02:33:38 +03:00
MihailRis
7f41f95013 add version to world info 2024-11-22 14:08:01 +03:00
MihailRis
d4f0c906d2 add world.is_open() 2024-11-05 14:05:32 +03:00
MihailRis
7afdde5912 add world.get_generator 2024-10-26 22:46:26 +03:00
MihailRis
c2cfe64b7e update doc/ru/** scripting-related docs 2024-10-16 02:00:46 +03:00
MihailRis
736fdbf964 move lua libs to /logic/scripting/lua/libs 2024-10-05 00:53:41 +03:00