11,456 Commits over 3,561 Days - 0.13cph!
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
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
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
Fixed Cmd serialisation bug ending up with incorrect player ID and causing cmd verification to fail
Refactored game finish/surrender/disconnect handling, more gamehost, command and command handling cleanup
Removed all default client bool parameters from commands
started some Cmd refactoring
more GameInstance refactoring
Unit now stores a reference to the gameinstance, removed all the parameters from it's check can move/attack etc functions.
part 3, GameInfo is no more.
refactoring out GameInfo, part 1
fixed CmdSurrender requiring current turn permission
GameInstance wip stuff
moved localTeam id from GI to GIViewer
Removed CmdEndTurn, players now send CmdNextTurn as an input command request