branchsbox-voxels/maincancel

148 Commits over 424 Days - 0.01cph!

2 Years Ago
Make sure material override is done on the client
2 Years Ago
Add material override support to block model overrides
2 Years Ago
Create vertex buffer when mesh is created and only update size and data from then on
2 Years Ago
Remove dead namespaces
2 Years Ago
Send raw json via RPC for the client to load on spawn
2 Years Ago
Throw an exception if trying to initialize blocks with an invalid block id
2 Years Ago
Various fixes
2 Years Ago
HasTexture -> HideMesh. Add option to disable clearing state when setting a block on the server. Add ModelOverride and ModelFacesdirection to BlockResource. Add ModelBlockEntity and ModelBlockState.
2 Years Ago
Make some additional changes to block updates per tick
2 Years Ago
Some changes around outgoing block updates to make sure only the latest update is sent
2 Years Ago
Added BlockSoundData to BlockResource and support in AssetBlock
2 Years Ago
Added VoxelWorld.GetBlockType overload for position
2 Years Ago
Add BlockType.ShowInEditor
2 Years Ago
Print friendly name instead of unique ids in logs
2 Years Ago
Add BlockTextureList to BlockResource so directional sprite names can be specified
2 Years Ago
Change block resource format
2 Years Ago
Added AssetBlock. Added BlockResource. Added backwards compatibility for blocks that were classes but are now assets.
2 Years Ago
Add IValid
3 Years Ago
Make BlockType, LiquidBlock abstract. Don't add blocks to the valid blocklist if the type is abstract or a generic type
3 Years Ago
Fix render attributes
3 Years Ago
Add SourceLighting value (0-8) to BlockType for future stuff
3 Years Ago
Add ChunkRenderLayer.SetBrightness and ChunkRenderLayer.SetOpacity. Increase block texture limit from 32 to 512
3 Years Ago
Disable collision on detail models + clear details properly if a new neighbour is placed above us
3 Years Ago
Add BlockType.OnSpawnDetailModel
3 Years Ago
Pass in world position not local position to OnBlockAdded
3 Years Ago
Ensure block state, entities and callbacks are called for blocks when chunk initialize + detail mesh support
3 Years Ago
Add detail stuff
3 Years Ago
Optimize cached day cycle controller (for when none exists)
3 Years Ago
Added BlockType.Description
3 Years Ago
Fixed blocks not registering as new states when deserializing for client
3 Years Ago
Added VoxelWorld.GetBlocksInRadius
3 Years Ago
Don't make a test DayCycleController and then blame Louis
3 Years Ago
Add [HammerEntity] and [Title] to DayCycleController
3 Years Ago
Add BlockType.Icon and BlockEntity.VoxelWorld -> BlockEntity.World
3 Years Ago
Some safety around state updates
3 Years Ago
Tests
3 Years Ago
Changed some state stuff and send ints instead of bytes for bigger worlds
3 Years Ago
Add VoxelWorld.GetPositionsMaxs/Mins
3 Years Ago
Add ResetInterpolation() to ISourceEntity
3 Years Ago
Don't create states for a position outside of the world bounds
3 Years Ago
Fixed a bug where air block was being added (this took way too long to debug) Remove logs
3 Years Ago
Pain Day 3
3 Years Ago
Add overload for SetBlockInDirection
3 Years Ago
Only update ChunkViewer every half a second
3 Years Ago
Add Viewer.IsBelowWorld and change Viewer.IsInMapBounds to Viewer.IsInWorld
3 Years Ago
Use f
3 Years Ago
Fixed various block state issues
3 Years Ago
Initialize health in BlockState.OnCreated
3 Years Ago
Fix compile error
3 Years Ago
Change Set/GetHealth to Set/GetBlockDamage and update in BlockState