branchspacechess/main/cicancel

112 Commits over 31 Days - 0.15cph!

7 Years Ago
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
7 Years Ago
Refactored some turn handling stuff out of GameInstance into new TurnHandler class
7 Years Ago
bit more
7 Years Ago
more refactoring
7 Years Ago
removed old, unused, commanf finished events from BattleController
7 Years Ago
Fixed a couple of local game bugs
7 Years Ago
Added a CommandQueue command finished event. Some more refactoring. AI works again (well, a bit)
7 Years Ago
more
7 Years Ago
more
7 Years Ago
removed playerConnections from GameInstance, used Player stuff instead, removed from protobuf
7 Years Ago
Fixed Cmd serialisation bug ending up with incorrect player ID and causing cmd verification to fail
7 Years Ago
more
7 Years Ago
Refactored game finish/surrender/disconnect handling, more gamehost, command and command handling cleanup
7 Years Ago
Removed all default client bool parameters from commands
7 Years Ago
started some Cmd refactoring
7 Years Ago
more
7 Years Ago
more GameInstance refactoring
7 Years Ago
Unit now stores a reference to the gameinstance, removed all the parameters from it's check can move/attack etc functions.
7 Years Ago
part 3, GameInfo is no more.
7 Years Ago
part 2
7 Years Ago
refactoring out GameInfo, part 1
7 Years Ago
more
7 Years Ago
more
7 Years Ago
fixed CmdSurrender requiring current turn permission GameInstance wip stuff
7 Years Ago
more
7 Years Ago
moved localTeam id from GI to GIViewer
7 Years Ago
more
7 Years Ago
Removed CmdEndTurn, players now send CmdNextTurn as an input command request
7 Years Ago
removed some leftovers
7 Years Ago
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.
7 Years Ago
game started event for GI
7 Years Ago
moved the player ready count stuff out of game instance to gamehost
7 Years Ago
more
7 Years Ago
more
7 Years Ago
more
7 Years Ago
misc cleanup
7 Years Ago
GameInstance now fires events for player ready, game built, game finished and player ready. Removed host reference from GI
7 Years Ago
function sig change
7 Years Ago
more
7 Years Ago
more
7 Years Ago
ClientInput stuff gone forever
7 Years Ago
removed Apex because it's not being used
7 Years Ago
More
7 Years Ago
removed a load of CIC stuff, most stuff now goes through the new merged cmd system
7 Years Ago
Move and Attack now use new cmd not cic
7 Years Ago
end turn and surrender commands work again
7 Years Ago
Cmds can now be set to be relayed or turn required, more cmd rework stuff
7 Years Ago
more
7 Years Ago
Cmd cleaning
7 Years Ago
removed CmdKillUnit, CmdSetTag, CmdSpawn