6,819 Commits over 2,586 Days - 0.11cph!
PathHighlighter cleaned up
Moved path highlighting from TileHighlighter to a new PathHighlighter class
reworked path highlighting in TileHighlighter ready to move to a new class
Board now keeps a list of spawn tiles not indexes
made templates for the rest of the tile highlight configs and removed all the hardcoded values
removed the now unused old highlight functions from the new TileHighlighter
made a TileHighlightTemplate scriptable object that can be used to configure the different tile highlights without doing it in code
added a function to TileHighlighter that takes a tile list and a template
started converting the hardcoded tile settings to the new templates
Moved all tile highlighting stuff out of BoardView and into a new TileHighlighter class, reworked all references
Added TileHighlighter class and copied the functions over from BoardView
Split destroy functions, renamed tilehighlight stuff and prep for moving tile highilighting out of BoardView
started refactoring BoardView, ripped out anything unused, started splitting functions
Created a BoardUtils class and moved a few functions from Board to it
Fixed some warnings
removed test script from scene and deleted
Added a GetIndexOfTile(Tile) to Board and moved a bunch of calls to it
Some movement refactoring
Refactored a bunch of Attack class helper functions, removed old block chance code, shortened a bunch of function signatures
Moved attack side calculation helper function from Unit to Attack
More board/pathfinder cleanup
Started changing functions to use BoardPoint instead of x,y where possible
Some pathfinder cleanup
Renamed a bunch of functions to be more readable
moved the game instance/connection management stuff out of GameHost into a new GameInstanceDirectory class
Started refactoring player, player ID, and host stuff
moved the actual board unit position data change for unit movement from GameInstance to CmdMove
Moved the tracked RNG out of GameInstance to it's own class
Moved some combat tracking events from GameInstance directly to CombatTracker
Renamed some events to make more sense
Refactored some turn handling stuff out of GameInstance into new TurnHandler class
still more WIP loadout UI
more WIP squad editor UI stuff
Can now left click empty/non targettable tiles to deselect (same as right clicking)
Left clicking a friendly unit in attack state that you can't attack or heal with current unit will now select that unit
fixed scene with loadout UI stuff?
removed old, unused, commanf finished events from BattleController
Fixed a couple of local game bugs
Added a CommandQueue command finished event.
Some more refactoring.
AI works again (well, a bit)
removed playerConnections from GameInstance, used Player stuff instead, removed from protobuf