* Remove unused `directionalLight` uniform
* Add glslang libraries
* Update to the new Cubyz-libs version
* Dehardcode OS-dependent library file name stuff
* Audio somehow crashes on close, not sure why but I assume it's probably because of the library being compiled with a new zig version.
* Remove irrelevant uniforms from Window uniform list
* Remove unused itemdrop uniform
* Implement SPIR-V compilation code, the actual output is discarded
* Improve linking shader errors by passing a file path
* Fix formatting
* really bad and inefficient star code i think
* add stars that dont work during the day but look cool
* remove galaxy shape and replace it with a simple sphere
* add broken background
* make stars affected by fog
* make the stars additive
* remove commented code in shaders
* remove unused variables in the shader
* make the stars spin
* make stars not have bloom
* fix formatting
* temp changes
* fix formatting (still temp changes)
* switch to cubyz random numbers
* multiply star matrix in cpu instead of gpu
* changed star to be twice as big, not affect by resolution as much, and also be loaded from a texture
* remove trailing whitespaces
* remove unused constants
* simplify the code by removing a log and power
* optimizing the stars
* remove debug code
* make stars triangles instead of points
* simplify the math more
* give star ssbo unique id
* fix formatting issues
* make array multiline
* fix formatting
* remove files i accidentally added
* remove random obj file
* fix some issues
* use square distance
* fix formatting
* small change
* fix some stuff
* fix other things
* comp error
* more stuff
* fix some stuff with the stars
* test
* fix formatting
* fix more formatting
* test 2
* fixes
* changes
* changes
* fix formatting
* fixes
* remove patch
* Change how to specify tool parameters
* Some mild reparammarametetrizatation and pickaxes now only have one relevant tip.
* Ignore properties that couldn't be found instead of assigning some default
* Remove grip and strength from materials
* Ensure that all woods can break all stones, but not copper, and ensure that all stones tipped woods can break copper.
Also increased weight damage slightly
* Reparammamaramamararara
* Update shover and axe (mostly copied from the pickaxe with less damage)
* Remove the unused FunctionType struct.
* Remove named slots from axe
All tags now share the same index space, I don't see a reason why we should have separate spaces for these.
I also made diamond powerful if encased in gold/silver
* Add big mushroom blocks, tweak mushrooms to match
* Add mushroom branches, make glimmergill cap emissive, add recipes, material vals
* Tweak blockHealth
* Add hunger and hunger bar
- New functions added to Player struct in game.zig to use and heal hunger.
- If an attempt is made to use more hunger than there is available, the player is killed.
- Hunger bar uses placeholder icons.
- Hunger bar is based on the health bar
- Hunger bar is anchored to the left of the hotbar, rather than the right like the health bar.
* Don't kill player when hunger runs out.
- Don't use hunger when there's not enough to use
- Allow for code to know if hunger was used, so that is can handle not having enough hunger.
* New hunger textures
* Desaturate the highlight a little
* Return true if hunger was already true.
* Fix formatting
* Rename hunger to energy, and fix other issues.
* Make energy synchronized between client and server
Also removes the functions that add/remove energy on the game.Player struct
* Run formatter
* Fix incorrect formatting by formatter.
* Remove AddHunger struct and addHunger function
- Keep base operation so things like accessories and food can use it when syncing
* Fix formatting again.
---------
Co-authored-by: Carrie <carriecapp9@gmail.com>
* add pipes, which are like branches but you can have different textures on each mode
* fix formatting
* remove testing block
* fix more formatting issues
* fix more formatting issues
* simplify fromRelPos
* fix fromRelPos and give pipe same properties as branch
* fix flashing dots caused by floating point inaccuracies
* remove debug object
* fix formatting issues
* fix a couple things
* remove debug textures
* fix formatting and also make dir an enum
* fix more formatting issues
* remove branches
* rename pipe to branch
* remove floating point fix
* remove branch model
* Add back branches and add temporary textures
* add back the branches
* fix some stuff
* small changes
* fix compiler error
---------
Co-authored-by: Carrie <carriecapp9@gmail.com>
* Format all the zon assets to prepare for running the the format check with our zig fmt
* Update ci.yml
* Remove zon files from the old formatter
* Add a formatting violation to test the CI
* Undo the check