branchspacechess/main/cicancel
112 Commits over 31 Days - 0.15cph!
started reworking to run everything off just the client input
attacks hacked to work for now
set a forced seed for testing determenistic shit
nuked everything relating to CommandBlock. (broke capture and tile fall actions probably)
wip merging Cmd and ClientInputCmd to one thing
removed CmdKillUnit, CmdSetTag, CmdSpawn
Cmds can now be set to be relayed or turn required, more cmd rework stuff
end turn and surrender commands work again
Move and Attack now use new cmd not cic
removed a load of CIC stuff, most stuff now goes through the new merged cmd system
removed Apex because it's not being used
ClientInput stuff gone forever
GameInstance now fires events for player ready, game built, game finished and player ready.
Removed host reference from GI
moved the player ready count stuff out of game instance to gamehost
game started event for GI
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.
Removed CmdEndTurn, players now send CmdNextTurn as an input command request
moved localTeam id from GI to GIViewer
fixed CmdSurrender requiring current turn permission
GameInstance wip stuff
refactoring out GameInfo, part 1
part 3, GameInfo is no more.
Unit now stores a reference to the gameinstance, removed all the parameters from it's check can move/attack etc functions.
more GameInstance refactoring
started some Cmd refactoring
Removed all default client bool parameters from commands
Refactored game finish/surrender/disconnect handling, more gamehost, command and command handling cleanup