224 Commits

Author SHA1 Message Date
MihailRis
17dcbe98ab fix clang-check warnings 2025-01-01 16:06:44 +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
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
b4abecc764 refactor 2024-12-24 11:31:54 +03:00
MihailRis
f49feebd5c refactor 2024-12-21 09:55:44 +03:00
MihailRis
1aca4957a4 fix 2024-12-19 23:01:16 +03:00
MihailRis
3d7a9fd225 Merge branch 'main' into headless-mode 2024-12-19 22:57:12 +03:00
MihailRis
2787f2fc54 fix: grabbed item is deleted on inventory close 2024-12-19 22:44:54 +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
e713412a6d rename ChunksStorage to GlobalChunks 2024-12-14 18:58:51 +03:00
MihailRis
e0b3425eff migrate blocks interaction (scripting) to global chunks storage (WIP) 2024-12-13 05:54:41 +03:00
MihailRis
436bfd24ba update ChunksStorage 2024-12-11 16:30:19 +03:00
MihailRis
b65ba61f9a make scrollbar interactive 2024-12-05 14:43:24 +03:00
MihailRis
3f9701915c update hud.open(...) 2024-11-28 15:48:44 +03:00
MihailRis
f4f479d389 move 'devtools:console' binding handler to __vc_on_hud_open 2024-11-20 12:15:09 +03:00
MihailRis
e842b217da add 'args' parameter to hud.show_overlay 2024-11-20 11:10:05 +03:00
MihailRis
78ea12aa26 add console on_open 'mode' argument 2024-11-19 08:30:50 +03:00
MihailRis
86beea0a61 Merge branch 'main' into console-tabs 2024-11-18 04:20:44 +03:00
MihailRis
e034bda477 fix crosshair 2024-11-18 04:15:51 +03:00
MihailRis
3ea213e8d3 fix console position 2024-11-17 15:53:25 +03:00
MihailRis
c4170c07c5 refactor 2024-11-14 09:30:41 +03:00
opchik98
8e549fe806 Feature #152 and potential fix #320
- Added Lua scripts hud.open, inventory.create and inventory.remove
- Window now resizes even if it is not focused
2024-11-07 18:38:24 +02:00
MihailRis
616c63b115 fix generator minimap checkbox 2024-11-07 05:07:56 +03:00
MihailRis
6602584c13 add more cheating-related rules 2024-11-06 18:54:20 +03:00
MihailRis
2e24d60404 add rules & add 'show-content-access' rule 2024-11-06 17:31:31 +03:00
MihailRis
80e48ae302 add 'Show Generator Minimap' checkbox 2024-11-06 00:34:38 +03:00
MihailRis
ac6084f904 fix console focus on open 2024-11-01 16:20:58 +03:00
MihailRis
64cf9bb273 flip generator minimap 2024-10-22 06:44:58 +03:00
MihailRis
0cbc048523 move debug generator visualizer origin to center 2024-10-03 23:02:22 +03:00
MihailRis
06a0468967 update debug generator visualizer 2024-10-03 22:27:46 +03:00
MihailRis
75d66b644b add debug world generator visualization 2024-09-30 15:14:34 +03:00
MihailRis
34d2e6d400 migrate from dynamic::Value to dv::value & total erase namespace 'dynamic' 2024-09-18 23:31:18 +03:00
MihailRis
f43cc93cd2 update project includes format 2024-08-10 01:37:48 +03:00
InfiniteCoder
85239004e3 window/ 2024-08-06 00:07:33 +03:00
InfiniteCoder
f66d0ce7fd physics/ 2024-08-06 00:07:00 +03:00
InfiniteCoder
54f15ecaea maths/ 2024-08-06 00:06:23 +03:00
InfiniteCoder
9f9b9f2d64 world/ 2024-08-05 23:49:11 +03:00
InfiniteCoder
7f75c454c8 logic/ 2024-08-05 23:23:28 +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
e1e3456139 content/ 2024-08-04 12:45:08 +03:00
InfiniteCoder
21ff65d781 assets/ 2024-08-04 11:08:07 +03:00
InfiniteCoder
d5dc68dd38 Root includes 2024-08-04 10:24:11 +03:00
Vyacheslav Ivanov
26ff0f133a fix: optimization: PVS-Studio warning V821
Creating variables in a more localized scope can enhance performance and make the code easier to understand.

Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 17:50:04 +03:00
MihailRis
ba046a52c0
Revert "fix: optimization: Various PVS-Studio warnings" 2024-08-02 14:51:44 +03:00
Vyacheslav Ivanov
2c1103307f
fix: optimization: PVS-Studio warning V813
Passing large objects by const reference avoids unnecessary copying and enhances efficiency.

Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-02 05:35:55 +03:00
Vyacheslav Ivanov
6b3146f98a
fix: optimization: PVS-Studio warning V821
Creating variables in a more localized scope can enhance performance and make the code easier to understand.

Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-02 05:35:53 +03:00