Commit Graph

42 Commits (main)

Author SHA1 Message Date
Bram van den Heuvel b6055c76fb Allow both main thread & mapgen env execution 2024-09-15 22:26:54 +02:00
Bram van den Heuvel 14cc75a48d Fix default_biome air node bug 2024-09-12 18:22:01 +02:00
Bram van den Heuvel cae90a06c4 Bug fixes 2024-09-11 18:36:39 +02:00
Bram van den Heuvel 25a72b62a4 Update & improve documentation 2024-09-11 12:13:36 +02:00
Bram van den Heuvel f718768235 Move mod to async mapgen environment 2024-09-11 11:55:09 +02:00
Bram van den Heuvel baeda1ac7a Rename mod to ns_cavegen 2024-09-10 18:09:42 +02:00
Bram van den Heuvel 147b8a59c2 Only carve through ground nodes 2024-09-10 18:02:53 +02:00
Bram van den Heuvel 99e9753772 Add biome optimizations + decorations 2024-09-10 13:02:44 +02:00
Bram van den Heuvel 6b38a7d7b2 Refactor to ns_caves 2024-09-09 15:10:39 +02:00
Bram van den Heuvel 856987bb45 Fix shape y-level bug 2024-05-02 11:18:46 +02:00
Bram van den Heuvel f2dff7b9b9 Remove development unittest guardrails 2024-05-02 01:48:08 +02:00
Bram van den Heuvel 565f0c74b2 Finish initial functional version 2024-05-02 00:41:35 +02:00
Bram van den Heuvel 2bdf747429 Add MineClone2 support 2024-05-02 00:38:40 +02:00
Bram van den Heuvel 67b4ac9310 Add set_world_depth 2024-05-01 11:26:36 +02:00
Bram c23c5adce6 Merge pull request #2 from decorations into main
Reviewed-on: Bram/noordstar_caves#2
2024-04-30 17:02:12 +00:00
Bram van den Heuvel fe881845ce Improve decoration documentation 2024-04-30 17:01:05 +00:00
Bram van den Heuvel bb44ce9246 Finish decorations 2024-04-30 17:01:05 +00:00
Bram van den Heuvel c1aa5b16d6 Add timer checkpoints 2024-04-30 17:01:05 +00:00
Bram van den Heuvel 3c38b5844a Refactor decorations
Split them into pre- and post-data voxelmanip operations
2024-04-30 17:01:05 +00:00
Bram van den Heuvel 4c3d40fdbd Add decoration engine
This commit still has an unexplained bug where it fails to place schematics underground, and this is to be investigated.
2024-04-30 17:01:05 +00:00
Bram van den Heuvel 24f164fc6c Allow biome pos restrictions 2024-04-30 17:01:05 +00:00
Bram van den Heuvel 1392ff483d Add decoration design 2024-04-30 17:01:05 +00:00
Bram cec1e94129 Merge pull request #1 from refactor-end into main
Reviewed-on: Bram/noordstar_caves#1
2024-04-30 15:15:05 +00:00
Bram van den Heuvel 2809346af8 Prevent cave generation in the air 2024-04-29 18:26:59 +02:00
Bram van den Heuvel d111364b0f Bug fixes 2024-04-29 18:19:23 +02:00
Bram van den Heuvel 588ed956b1 Clean timer code 2024-04-29 18:08:37 +02:00
Bram van den Heuvel 851cb19cd2 Finish initial refactor design 2024-04-29 17:33:46 +02:00
Bram van den Heuvel 78fea8405c Add timer module 2024-04-29 17:31:03 +02:00
Bram van den Heuvel 7b29f68ffa Move initial parts over to init.lua
Since `dofile` is a global variable, it cannot be securely trusted for imports.

Additionally, I learnt recently that local functions can be referenced more clearly in a file by adding them as methods to a local table.

https://social.noordstar.me/notes/9sfk6273ao
2024-04-29 12:27:39 +02:00
Bram van den Heuvel 7319d58525 Add cave shape optimizations 2024-04-23 11:06:59 +02:00
Bram van den Heuvel 67f780b2b3 Save biome size in separate variable 2024-04-22 15:21:10 +02:00
Bram van den Heuvel acfdea349f Add biome generation in engine
Currently, performance seems an issue - the cause of the effects is to be determined.
2024-04-22 09:00:53 +02:00
Bram van den Heuvel b9e18f70eb Add biome API
Note: the engine implementation is still missing as of this commit.
2024-04-22 07:51:05 +02:00
Bram van den Heuvel 1250abe7d8 Unregister cave shapes 2024-04-22 07:50:29 +02:00
Bram van den Heuvel 36b755725d Add biome definition 2024-04-22 07:50:14 +02:00
Bram van den Heuvel 01921b398a Finish inital API.md draft
Complete the sentences for improved documentation.
2024-04-21 00:52:00 +02:00
Bram van den Heuvel 5e54dedde5 Invert cave shape
Fixed an issue where the caves would sometimes generate walls directly down a roof, complicating the cave biome design
2024-04-21 00:50:22 +02:00
Bram van den Heuvel a500388803 Refactor engine for cave wall categorization 2024-04-20 21:31:50 +02:00
Bram van den Heuvel 817889ef46 Fix bugs 2024-04-18 14:17:38 +02:00
Bram van den Heuvel 0a11882395 Add basic engine with cave shaper 2024-04-18 10:49:45 +02:00
Bram van den Heuvel e2955959a2 Add shape registry 2024-04-17 23:08:44 +02:00
Bram van den Heuvel fb5e747cfe Initial commit 2024-04-17 22:56:00 +02:00