Commit Graph
108 Commits
Author SHA1 Message Date
MihailRis 53ce219127 add 'is_new' argument to on_world_open 2025-08-15 23:48:04 +03:00
MihailRis 7749675a61 add EnumMetadata 2025-04-13 13:53:59 +03:00
MihailRis db620010a3 move weather back to gfx & add world:client/environment.json file 2025-03-09 22:50:45 +03:00
MihailRis 9c4db8fa10 refactor: move Weather instance to WorldInfo 2025-02-28 18:49:44 +03:00
MihailRis e0314803c0 migrate from std::filesystem::path to io::path (WIP) 2025-01-30 22:23:13 +03:00
MihailRis 1e22882284 rename 'files' to 'io' 2025-01-30 16:53:52 +03:00
MihailRis e5d558d357 move world-related sources from files/ to world/files 2025-01-30 15:02:28 +03:00
MihailRis f772d527e2 feat: nameless worlds 2025-01-13 05:40: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 48d94036fd rename Level.chunksStorage to Level.chunks 2024-12-17 23:57: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 cfc16679cb add test.open_world 2024-12-11 14:49:52 +03:00
MihailRis c67f158e62 remove default player from headless mode 2024-12-11 00:31:08 +03:00
MihailRis 9b4dd8f65e refactor & add test.new_world 2024-12-10 18:41:39 +03:00
MihailRis 7027bd6f28 add Players 2024-11-23 05:14:12 +03:00
MihailRis bd2acd5766 refactor players 2024-11-22 16:17:13 +03:00
MihailRis e70d30b9a2 feat: auto patch invalid inventory id pre 0.25 2024-11-19 12:18:59 +03:00
MihailRis eb400e68ca add more new world info to logger messages 2024-10-23 15:08:26 +03:00
MihailRis 04e490c896 add config/defaults.toml 2024-10-14 02:56:33 +03:00
MihailRis ea9ad08bfd Merge branch 'main' into heightmaps 2024-10-03 19:12:37 +03:00
MihailRis bf9f81a98c Merge branch 'main' into heightmaps 2024-09-19 15:16:14 +03:00
MihailRis 28b6ec2a0e Merge branch 'main' into blocks-metadata 2024-09-19 14:51:47 +03:00
MihailRis 34d2e6d400 migrate from dynamic::Value to dv::value & total erase namespace 'dynamic' 2024-09-18 23:31:18 +03:00
MihailRis 3f826a88d3 rename ContentLUT to ContentReport 2024-09-02 09:40:00 +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 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 IvanovandMihailRis 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
MihailRisandGitHub 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