Commit Graph

27 Commits (fe881845ce05cceefd74f3dce630b7684d811c4c)

Author SHA1 Message Date
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