126 Commits

Author SHA1 Message Date
MihailRis
3f826a88d3 rename ContentLUT to ContentReport 2024-09-02 09:40:00 +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
de5c75d782 replace include guards with pragma once 2024-08-10 01:57:59 +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
79ccde35b7 lighting/ 2024-08-06 00:05:41 +03:00
InfiniteCoder
eb6bb19dc6 interfaces/ 2024-08-06 00:04:32 +03:00
InfiniteCoder
8f9c7eb7ff data/ 2024-08-05 23:59:42 +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
24ecb94942 fix cameras loading 2024-07-12 00:20:22 +03:00
MihailRis
9a18476437 refactor: player cameras are resources now 2024-07-12 00:02:01 +03:00
MihailRis
9623f35862 feat: world files resources file loading 2024-07-11 23:48:13 +03:00
MihailRis
a013e7eefd feat: cameras saving/loading 2024-07-11 22:45:57 +03:00
MihailRis
45c4da048c feat: saving/loading resource entries 2024-07-11 21:56:27 +03:00
MihailRis
ca8652ffab add packs resources (WIP) 2024-07-11 10:32:05 +03:00
MihailRis
a68be271c6 fix new world entities id & initial state of lua random 2024-07-09 19:40:00 +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
Cogi Asd
aed072d3b0 add docs for libcore.cpp 2024-07-08 11:37:22 +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
9efb327270 refactor: minor cleanup 2024-07-06 02:55:19 +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
ba458be334 add test entities prototype 2024-06-23 22:09:04 +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
9597879eff small fix 2024-06-01 07:28:35 +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
a1776e015e fixes 2024-05-24 05:22:14 +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
9522aedeec quick check with linters 2024-05-10 12:34:05 +03:00
MihailRis
a4c21984d5 dynamic::Value simplified 2024-05-07 18:39:12 +03:00