Commit Graph

14 Commits (fe881845ce05cceefd74f3dce630b7684d811c4c)

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