branchspacechess/main/cicancel
112 Commits over 31 Days - 0.15cph!
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
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
ClientInput stuff gone forever
removed Apex because it's not being used
removed a load of CIC stuff, most stuff now goes through the new merged cmd system
Move and Attack now use new cmd not cic
end turn and surrender commands work again
Cmds can now be set to be relayed or turn required, more cmd rework stuff
removed CmdKillUnit, CmdSetTag, CmdSpawn