* Refactor compressChunk to use BinaryWriter
* Refactor decompressChunk to use BinaryReader
* Back to fat switch we go
* Yeet // @import("../utils.zig");
* Update src/server/storage.zig
* Add block touch detection
* Fix touch detection syntax errors
* Remove Whitespace
* Fix off by one in negatives
* Remove Block Touch Detection
* Simpler touch detection as suggested by Quantum
* Remove touchRetraction because for some reason it is no longer needed
* Touch Functions are now function pointers
* Remove unwanted debug prints
* Add parameter names to TouchFunction declaration
* Add error check
---------
Co-authored-by: gfh <@>
Co-authored-by: SuperIceG <102669377+SEGenjoysBlivits@users.noreply.github.com>
* Refactor RegionFile to use BinaryReader for loading
* Refactor RegionFile to use BinaryWriter for writing
* Apply review suggestions
* Add trace logging
* Restore region version mismatch message
* Update src/server/storage.zig
* Rename chunkSizes to chunkDataLengths
* Remove redundant whitespace
* Replace readAlloc with readSlice
This is my first contribution to Cubyz. There were too many cacti spawning in the desert. I adjusted the rates so they would appear more infrequently and make the desert look more natural.
This seems to cause trouble sometimes, not sure why. The library file has a capital X, so I guess somehow there was any alias on my PC.
fixes#1148fixes#1040
* Add block migrations logic
* TEMP: Example migration
* Adjust block migrations according to review
* Fix indentation in example file
* Remove unused migration enums
* Fix indentation in example file
* Extract asset ID creation to separate function
* Remove example migration
* Restore readAllFilesInAddons to shrink the diff
* Revert "Extract asset ID creation to separate function"
This reverts commit 3fea996152bd464643a9d84a52008e568f726f34.
* Shrink diff in assets.zig
* Fix migration behavior with empty migration map
* Restore birch_log.png
* Shrink diff
* Fix use of commonBlocksMigrations
* Remove biome and item migrations code
* Remove Palette changes
* Apply review suggestions
* Fix use after free in migration code
* Revert readAllZonFilesInAddons back to how it was but with migrations included
* Remove stray whitespace
* Remove stray defer
* Fix style issues
* Apply review suggestions
* Fix formatting issues
* Apply review suggestions
* Apply review suggestions
* Remove addon name from migrations
* Change migration notation to list of objects
* Apply review suggestions
* Apply review suggestions
* Apply review suggestions
* Format all the files
* Fix compilation error.
* The install scripts now patch render.zig from the zig standard library.
* Update ci.yml
* Update ci.yml
* Update ci.yml
* Update ci.yml
* Update ci.yml
* Update ci.yml
* Update ci.yml
* Update ci.yml
* Update ci.yml
* Update ci.yml
* Update ci.yml
* Update the formatter, it doesn't need to run on .zig files anymore.
* Update ci.yml
* Update ci.yml
* Add a mistake to check if it works
* IT WORKS!
* Pickaxe Rebalance (2)
* Changed ore health
* Can you believe I forgot marble?
* Fix indentation and fix duplicate entry in void_stone.zig
---------
Co-authored-by: IntegratedQuantum <jahe788@gmail.com>