110 Commits

Author SHA1 Message Date
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
MihailRis
d33edd4cd9 'dynamic' namespace refactor (step 1/2) 2024-05-07 16:00:52 +03:00
MihailRis
b3a1cad0e1 msvc build fix 2024-05-06 17:15:48 +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
f8289a5d78 leaks fix (valgrind full leak check) 2024-04-30 02:49:12 +03:00
MihailRis
c3b5576c02 toml::Wrapper removed 2024-04-28 17:23:52 +03:00
MihailRis
9cdf3ff016 settings panel moved to xml (WIP) 2024-04-20 03:01:37 +03:00
MihailRis
3ebd8f3062 regions related code moved from WorldFiles to WorldRegions 2024-04-15 03:45:55 +03:00
MihailRis
657b09da9e languages menu moved to xml + minor refactor 2024-04-13 16:28:06 +03:00
MihailRis
daaba374a3 contentpack removal feature + refactor 2024-03-11 13:21:06 +03:00
MihailRis
c4a07bdb14 fixes 2024-03-03 12:56:50 +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