725 Commits over 516 Days - 0.06cph!
Move Undo/Redo to EditorPlayer
Only delete the weapon if it was actually removed from the hotbar container
Fixed inventory move events not working (use Base64)
Fixed inventory take event causing items to become orphaned
Add Backpack inventory container to Player
Make sure an IDraggable can be dropped onto an IDroppable before doing it
Add Backpack UI elements
Implement IDraggable and IDroppable on InventorySlot
Add Backpack to HUD
Move Undo/Redo Stack to Editor Player so each player has their own
Destroy ghost when entities tool is deselected
Don't center on the Z axis when placing ghosts
Added EntitiesTool.EntitiesToolMode
For testing automatically create a ghost entity from the first available EditorEntityLibrary type
Adjust Block List SCSS and add backdrop filter blur to make it easier to see
Added EditorEntityLibraryAttribute and use it for PlayerSpawnpoint
Added stub for Entities Tool in the radial menu
Added PlayerSpawnpoint with ISourceEntity implementation (does not render outside of Editor Mode)
Update sbox-voxels submodule
Invalid drag border color should be red
Add IDroppable and IDraggable
Add Block List texture
Add ActiveDraggable
byte -> int for servercmd for setting hotbar block id in editor
Add EditorBlockItem
Add EditorBlockList
Update EditorHotbarSlot to implement IDroppable
Improved saving and loading of editor worlds (hide direction and extension from user)
Add AutoCompleteInput and AutoCompleteList classes
Implement autocomplete for save and load dialog
Don't open load dialog on editor load. Let the user select it from the radial menu (they may wanna just be editing a new map)
Add ActionHistory (wrapped LinkedList) to use instead of Stack to have a limited redo/undo capacity
Added Duplicate Blocks Action and implemented support to make duplicating blocks undoable and redoable
Added Area Blocks Action and made placing blocks in an area able to be undone or redone
Added a simple Undo / Redo functionality using actions. Only works for Place Blocks at the moment until other actions are implemented. Controls are a little funky... Duck + Drop to Undo, Duck + Reload to Redo.
Actually load the right file
Various UI improvements to Save / Load dialogs and the Loading Screen
Added crude Editor Save Dialog and Editor Load Dialog
Increased default editor camera FOV
Have loading screen properly re-appear when it should do
Merge branch 'main' of sbox-corewars
Make E snap instead of Shift
Some changes to the bounds
Automatically switch to editor mode if loading facepunch.cw_editor_map
Added corewars_conna.voxels and vpk to test voxel world loader
Add a default biome for worlds loaded by Voxel World Loader
Added VoxelWorldLoader entity to Core Wars for Hammer
If a Voxel World Loader entity is present when loading the map, use it to try and load the voxel world by file name
Adjust zoom out for Area Blocks and Duplicate Blocks tools
Revert to Copy mode and reset start position as the secondary attack for the Duplicate Blocks tool
Added MoveStartBlock method to EditorAreaGhost
Add GetAimVoxelPosition to EditorTool
Added MVP version of the Duplicate Blocks Tool
Added EditorCamera
Fixed bug with EditorAreaGhost when using MoveStartBlock
Set GlobalOpacity when using Area Blocks or Duplicate Blocks tool (not working in shader rn)
Update sbox-voxels submodule
Add VertexBufferExtension with methods to add a cube with repeating texture / UV scale settings
Add a new place_block_color.png to more clearly define what a block is
Pass a scale into AddCube so that blocks are properly displayed for the editor ghost
Update sbox-voxels submodule
Update sbox-voxels submodule
Update sbox-voxels submodule and use GetPositionsInBox
Update to use GetAimVoxelPosition
Added EditorAreaGhost render entity
Update sbox-voxels submodule
Added initial version of AreaBlocksTool
Update sbox-voxels submodule
Update sbox-voxels submodule
Update block data -> block state and update liquid block usage
Update sbox-voxels submodule
Increase radius of colored torches and add white torch
Place white torch with E (test)
Update sbox-voxels submodule
Update voxels shader to support GlobalBrightness and GlobalOpacity. Change sunlight brightness of faces depending on normal
Added some test commands and updated water texture for testing
Give water a little texture and have it attentuate sunlight
Update submodule and vmat