63 Commits

Author SHA1 Message Date
MihailRis
15a778299c limit chunks non-unloading zone to a circle 2025-07-13 15:57:57 +03:00
MihailRis
bf79f6bc75 fix "upgrade square is not fully inside of area" error 2025-04-10 23:10:49 +03:00
MihailRis
e5d558d357 move world-related sources from files/ to world/files 2025-01-30 15:02:28 +03:00
MihailRis
65fec4f4a9 introduce local player 2025-01-16 05:59:43 +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
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
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
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
005bcfb436 minor controllers refactor 2024-11-20 18:03:39 +03:00
MihailRis
88752806e6 fix: extra chunk generation when all area chunks are generated 2024-09-30 14:39:16 +03:00
MihailRis
8268176527 add SurroundMap intergration to world generator (WIP) 2024-09-11 11:35:56 +03:00
MihailRis
7c0c268508 optimize AreaMap2D 2024-09-09 20:37:42 +03:00
MihailRis
c3569b5dd4 add AreaMap2D 2024-09-09 18:02:08 +03:00
MihailRis
f40ff7cd28 refactor WorldGenerator & update test generator script 2024-08-23 03:07:02 +03:00
MihailRis
30925df319 move WorldGenerator to world/generator 2024-08-16 18:39:44 +03:00
MihailRis
ae5671364a add heightmap-based test generation 2024-08-14 18:44:32 +03:00
MihailRis
f43cc93cd2 update project includes format 2024-08-10 01:37:48 +03:00
InfiniteCoder
54f15ecaea maths/ 2024-08-06 00:06:23 +03:00
InfiniteCoder
79ccde35b7 lighting/ 2024-08-06 00:05:41 +03:00
InfiniteCoder
9f9b9f2d64 world/ 2024-08-05 23:49:11 +03:00
InfiniteCoder
c7755040bd voxels/ 2024-08-04 22:42:44 +03:00
InfiniteCoder
5c9bc83bbd items/ + objects/ + util/ 2024-08-04 22:26:08 +03:00
InfiniteCoder
eb061bcaf4 graphics/ 2024-08-04 22:12:48 +03:00
InfiniteCoder
3aa0298c85 files/ 2024-08-04 17:08:11 +03:00
InfiniteCoder
e1e3456139 content/ 2024-08-04 12:45:08 +03:00
Vyacheslav Ivanov
bbf33e8e4d
format: reformat project
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 19:53:48 +03:00
Vyacheslav Ivanov
aecd0f5db9 fix: optimization: PVS-Studio warning V832
It's better to use '= default;' syntax instead of empty constructor and destructor body.
Using '= default;' can help the compiler generate more optimal code.

Reported by: PVS-Studio

Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 17:44:10 +03:00
Vyacheslav Ivanov
c858913a2f fix: optimization: PVS-Studio warning V807
Created references to avoid using repeated expressions, improving performance across multiple instances.

Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 17:43:12 +03:00
MihailRis
ba046a52c0
Revert "fix: optimization: Various PVS-Studio warnings" 2024-08-02 14:51:44 +03:00
Vyacheslav Ivanov
c4cc71623d
fix: optimization: PVS-Studio warning V807
Created references to avoid using repeated expressions, improving performance across multiple instances.

Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-02 06:07:50 +03:00
Vyacheslav Ivanov
5dd7a15c09
fix: optimization: PVS-Studio warning V832
It's better to use '= default;' syntax instead of empty constructor and destructor body.
Using '= default;' can help the compiler generate more optimal code.

Reported by: PVS-Studio

Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-02 01:57:43 +03:00
Pugemon
f25a425cb9 Optimize parameter passing to avoid unnecessary copying 2024-06-07 04:00:38 +03:00
MihailRis
3003386670 chunk flags converted to a bitfield 2024-05-31 11:59:12 +03:00
MihailRis
064b4516f2 minor optimizations + MAX_WORK_PER_FRAME increased 2024-05-17 21:46:56 +03:00
MihailRis
017c8722ae memory related refactor 2024-05-13 00:11:20 +03:00
MihailRis
9522aedeec quick check with linters 2024-05-10 12:34:05 +03:00
MihailRis
1627e21c1d the final rename 2024-05-06 03:38:19 +03:00
MihailRis
9f2bceb039 just a minor refactor, nothing special 2024-04-23 02:00:03 +03:00
MihailRis
657b09da9e languages menu moved to xml + minor refactor 2024-04-13 16:28:06 +03:00
MihailRis
b56408a202 src/graphics moved to src/graphics/core 2024-03-18 20:47:35 +03:00
InfiniteCoder
0157213a56 One step closer to multiplayer 2024-03-02 22:59:31 +03:00
Onran
8130b0626f
Add files via upload 2024-02-23 17:12:00 +09:00
Onran
a5087cf221
Add files via upload 2024-02-23 11:48:32 +09:00
Onran
cfacf6f1eb
Add files via upload 2024-02-23 11:44:48 +09:00
Onran
9cc2f93cfd
More world generators support 2024-02-21 11:54:10 +09:00
MihailRis
b7fbb8621a content-pack id validation + refactor 2024-01-25 03:40:08 +03:00