2,327 Commits over 518 Days - 0.19cph!
Create vertex buffer when mesh is created and only update size and data from then on
Don't forget other conflicting commands
Name cmd "cw_say" because calling it "say" conflicts with the base addon command when using s&works
Fix chatbox styling and if a player is on no team then send messages to the All channel
Added a block name label above the editor hotbar
Styling to toast list specific for the editor & autosave icon
Add ToastList to EditorHud. Automatically save a backup (world_backup.voxels) every 60 seconds.
Update shader + torch state
Delete nameplate on EditorPlayer when destroyed
Add nameplates to EditorPlayer and set font on EditorHotbarSlot
Send raw json via RPC for the client to load on spawn
Throw an exception if trying to initialize blocks with an invalid block id
Update to SetBlockOnServerKeepState
Update submodule. Update all editor tools to set state first, then block (without clearing state) when doing stuff like moving or duplicating blocks. Attempt to suss the best direction for a block when placing with the Place Blocks Tool.
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.
Fix align to top on entities tool
Added Util.GetPositionMins and Util.GetPositionMaxs. Added support to rotate (R) a selection of blocks before pasting them with the Duplicate Blocks Tool (there's a slight half voxel offset on the preview atm when rotated 90 or 270 degrees...)
Add extra information to each editor tool (width, height, depth) and show axis on some
Remove DevShader from voxel shader
Make some additional changes to block updates per tick
Some changes around outgoing block updates to make sure only the latest update is sent
Fix tool positions in the selector radial menu (sort alphabetically by type name)
Do correct footstep sounds for the block the player is walking on
Added BlockSoundData to BlockResource and support in AssetBlock
Add a display slot number to the EditorHotbarSlot
Make some adjustments to building range
Added BlockGhost. Refactored how blocks are placed by players. Try to guess where the player wants to play it if they're looking over an edge
Added VoxelWorld.GetBlockType overload for position
Only include valid blocks in initial set
Respect BlockType.ShowInEditor
Add BlockType.ShowInEditor
Print friendly name instead of unique ids in logs
Add a bunch of .block types and remove the old ones as classes unless they contain logic that can't be handled otherwise
Add BlockTextureList to BlockResource so directional sprite names can be specified
Change block resource format
Default detail scale for dev.block is 0.5
Added Util.Audio and Util.Color. Added dev.block. Removed DevBlock class. Fixed all team colors.
Added AssetBlock. Added BlockResource. Added backwards compatibility for blocks that were classes but are now assets.