4,871 Commits over 2,068 Days - 0.10cph!
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
removed intro state cmd, game instance nowas game started event.
Intro anims are now kicked off in LoadGame() temporarily. BUG: this has introduced a bug with the turn banner appearing at the same time as the intro anim.
game started event for GI
moved the player ready count stuff out of game instance to gamehost
GameInstance now fires events for player ready, game built, game finished and player ready.
Removed host reference from GI