45 Commits

Author SHA1 Message Date
MihailRis
81d21d6e8b refactor lua usertypes 2025-10-11 00:11:25 +03:00
MihailRis
4c48afbb90 refactor: add GUI instance reference to UI nodes 2025-04-02 14:55:53 +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
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
d745a34657 refactor 2024-12-18 04:13:33 +03:00
MihailRis
6e6f9616cd fix fatal error on wrong placement args 2024-10-19 05:33:59 +03:00
MihailRis
faca68e6c3 replace argument 'seed' with global constant 'SEED' 2024-10-16 08:46:32 +03:00
MihailRis
59c4e26eda feat: heightmap-inputs 2024-10-16 00:38:58 +03:00
MihailRis
b5c1050f43 add placements priority 2024-10-11 18:37:03 +03:00
MihailRis
a578cca325 add 'place_structures_wide' callback 2024-10-10 02:00:13 +03:00
MihailRis
6e0304248b add stdmin.lua 2024-10-09 05:30:02 +03:00
MihailRis
116cbd61db feat: 'lines' (cave-like structures/tunnels) (WIP) 2024-10-08 02:32:45 +03:00
MihailRis
d9a44f3b87 minor refactor 2024-10-06 21:07:27 +03:00
MihailRis
73d96fd4f7 move generator script execution to an isolated Lua state 2024-10-06 18:23:33 +03:00
MihailRis
091805a16e refactor scripting_world_generation.cpp 2024-10-06 17:28:44 +03:00
MihailRis
e30e0083a0 add ores 2024-09-30 13:14:53 +03:00
MihailRis
16fac768c8 add chunk_height parameter to place_structures 2024-09-29 23:39:42 +03:00
MihailRis
abc8eccab8 add biome-bpd and heights-bpd generator def parameters 2024-09-29 23:12:45 +03:00
MihailRis
6c2d10e14b cleanup 2024-09-29 22:08:28 +03:00
MihailRis
3784b57eed move biomes definition to a json file 2024-09-29 22:03:37 +03:00
MihailRis
3d478aef08 add generator definition file (.toml) 2024-09-26 22:26:01 +03:00
MihailRis
788ad1f6a6 add core:obstacle block & move cameras from base to core & add new generator 2024-09-25 15:45:45 +03:00
MihailRis
d534207deb add test ore (coal) 2024-09-25 00:13:59 +03:00
MihailRis
983a24bd05 remove generator script load_structures function 2024-09-24 17:16:52 +03:00
MihailRis
806ed4b155 add automatic biome-based structures placement 2024-09-24 17:08:25 +03:00
MihailRis
323c2f2935 refactor & add structures.json 2024-09-24 04:05:13 +03:00
MihailRis
519ebc05f1 optimize test generator 2024-09-23 23:35:39 +03:00
MihailRis
74ded5a052 implement structures rotation 2024-09-22 01:58:59 +03:00
MihailRis
001b930212 update world generation pipeline 2024-09-21 23:29:19 +03:00
MihailRis
a413c5d09e implement inter-chunk structure generation 2024-09-21 20:50:12 +03:00
MihailRis
03ba7c9539 test voxel structures generation 2024-09-21 17:21:47 +03:00
MihailRis
cba1a5c23e add LuaGeneratorScript::loadStructures 2024-09-21 01:32:38 +03:00
MihailRis
bf9f81a98c Merge branch 'main' into heightmaps 2024-09-19 15:16:14 +03:00
MihailRis
3eec97f631 fix generator loading 2024-08-22 02:29:11 +03:00
MihailRis
b4e9cfa0bd refactor: use dynamic::* for parsing 2024-08-22 00:09:59 +03:00
MihailRis
0a7ab154d4 refactor 2024-08-21 22:44:33 +03:00
MihailRis
a81555b979 advanced plants test 2024-08-20 20:58:36 +03:00
MihailRis
5bdabaea42 add plants 2024-08-20 20:46:23 +03:00
MihailRis
572eaec429 add test biomes 2024-08-19 20:11:55 +03:00
MihailRis
4bd5f1b629 add biomes table 2024-08-19 17:57:09 +03:00
MihailRis
c3831afd19 add biome 'parameters' field 2024-08-19 17:42:33 +03:00
MihailRis
efa27496ab add biome as table & 'biome_parameters' variable 2024-08-19 17:13:50 +03:00
MihailRis
706cabeebd add lua::stackguard 2024-08-18 23:26:37 +03:00
MihailRis
685cd414c4 add struct Biome & move generator-related scripting to scripting_world_generation.cpp 2024-08-18 22:25:36 +03:00