83 Commits

Author SHA1 Message Date
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
4f2448daed refactor 2024-08-11 18:21:12 +03:00
MihailRis
3d3da1cdcd refactor World 2024-08-11 16:30:58 +03:00
MihailRis
f43cc93cd2 update project includes format 2024-08-10 01:37:48 +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
3aa0298c85 files/ 2024-08-04 17:08:11 +03:00
InfiniteCoder
e6da3638f0 Logger.hpp 2024-08-04 12:46:03 +03:00
InfiniteCoder
e1e3456139 content/ 2024-08-04 12:45:08 +03:00
InfiniteCoder
d5dc68dd38 Root includes 2024-08-04 10:24:11 +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
5e70837d3f fix: optimization: PVS-Studio warning V815
The 'empty()' method is more efficient for checking if a string is empty compared to comparing it with an empty string literal.

The default constructor 'std::wstring()' is more efficient for creating an empty string compared to using a string literal.

The 'clear()' method is more efficient for clearing a std::wstring compared to assigning it an empty string literal.

Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-03 17:50:58 +03:00
MihailRis
ba046a52c0
Revert "fix: optimization: Various PVS-Studio warnings" 2024-08-02 14:51:44 +03:00
Vyacheslav Ivanov
5b325ac2bc
fix: optimization: PVS-Studio warning V815
The 'empty()' method is more efficient for checking if a string is empty compared to comparing it with an empty string literal.

The default constructor 'std::wstring()' is more efficient for creating an empty string compared to using a string literal.

The 'clear()' method is more efficient for clearing a std::wstring compared to assigning it an empty string literal.

Reported by: PVS-Studio
Signed-off-by: Vyacheslav Ivanov <islavaivanov76@gmail.com>
2024-08-02 05:35:55 +03:00
MihailRis
9623f35862 feat: world files resources file loading 2024-07-11 23:48:13 +03:00
MihailRis
45c4da048c feat: saving/loading resource entries 2024-07-11 21:56:27 +03:00
MihailRis
3cafc39555 Merge branch 'main' into entities 2024-07-08 23:29:48 +03:00
Cogi Asd
42b753d485 ref set/get_vel_time() 2024-07-08 12:26:01 +03:00
MihailRis
7dfda981a8 remove Player.hitbox (WIP) 2024-07-08 03:51:46 +03:00
Cogi Asd
7a1c035f01 add: lua func 2024-07-07 23:53:27 +03:00
MihailRis
77c9c5cdb7 add player entity (draft) 2024-07-07 22:19:15 +03:00
MihailRis
cf2faa4a01 implement nextEntityID save/load 2024-07-05 23:41:55 +03:00
MihailRis
c8666910ce feat: loading entities (WIP) 2024-07-05 22:51:03 +03:00
MihailRis
f0270d3391 feat: saving entities (WIP) 2024-07-05 05:16:31 +03:00
MihailRis
c67e4b04bb refactor: WorldRegions and chunks saving 2024-06-07 14:04:25 +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
74042b5c2a player.get_selected_block 2024-05-31 08:33:37 +03:00
MihailRis
c9fb33132f weather is saving now 2024-05-30 16:02:01 +03:00
MihailRis
0ad3dd7ab8 build time decreased 2024-05-23 02:05:08 +03:00
MihailRis
017c8722ae memory related refactor 2024-05-13 00:11:20 +03:00
MihailRis
a4c21984d5 dynamic::Value simplified 2024-05-07 18:39:12 +03:00
MihailRis
d33edd4cd9 'dynamic' namespace refactor (step 1/2) 2024-05-07 16:00:52 +03:00
MihailRis
1627e21c1d the final rename 2024-05-06 03:38:19 +03:00
MihailRis
f27a418dbe however 2024-05-06 03:15:27 +03:00
MihailRis
7f8a86b740 minor refactor 2024-05-05 20:08:25 +03:00
MihailRis
c3b5576c02 toml::Wrapper removed 2024-04-28 17:23:52 +03:00
MihailRis
3ebd8f3062 regions related code moved from WorldFiles to WorldRegions 2024-04-15 03:45:55 +03:00
InfiniteCoder
9376dc4165 Better player save & load 2024-03-03 00:25:05 +03:00
InfiniteCoder
0157213a56 One step closer to multiplayer 2024-03-02 22:59:31 +03:00
MihailRis
256808630b multiline textbox mode 2024-02-26 15:12:02 +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
549b392871
Add files via upload 2024-02-23 11:45:55 +09:00
Onran
a78b5213e3
Merge branch 'main' into main 2024-02-22 21:20:30 +09:00
MihailRis
6c7497eee6 player inventory id fix 2024-02-21 22:04:16 +03:00
Onran
12e6a92798
Merge branch 'main' into main 2024-02-21 22:41:44 +09:00
DanielProl1xy
0b31a19f47 propogate player smart-pointer usage 2024-02-21 15:27:00 +03:00