921 Commits over 516 Days - 0.07cph!
Add opaque test support to shader (pave way for AO)
Add BlockResource.TintColor and support tinting in shader
Don't show liquid block in the editor
Update shader to support _hue mask atlas
Update materials to reduce atlas cell size to 32
Update shader to support hue shift and new format. Update submodule. Add test Min/Max hue shift to grass block.
Added upside down stairs + icon
Potentially fixed preview on Editor Area Ghost for rotated voxel blocks
Update submodule
Merge branch 'main' of sbox-corewars
Compressed weapon textures
Merge branch 'main' of sbox-corewars
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.
Delete nameplate on EditorPlayer when destroyed
Add nameplates to EditorPlayer and set font on EditorHotbarSlot
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.
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
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
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
Only include valid blocks in initial set
Respect BlockType.ShowInEditor
Add a bunch of .block types and remove the old ones as classes unless they contain logic that can't be handled otherwise
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.
Add BlockTypeExtension and BlockType.GetItemTags() method. Implement tooltip for EditorBlockItem and EditorHotbarSlot.