branchspacechess/main/commandblockcancel
38 Commits over 0 Days - ∞cph!
branching for CommandBlock implementation cus I'm probably gonna fuck something
fixed issue with host gameinstance next free unit ID being wrong
reworked unit manager init
trying out some command black recursive shit
Game, board, teams, tiles and units all now have a new Entity base class which has the id and tags
reworked UnitManager into EntityManager, updated all refs
entity init / protobuf wip (squad editor broken)
fixed squad editor with new EntityManager
added EntityID enum with entity category ID start indexes, assigned them. Teams,game, board, tiles, units.
CmdSetTag now looks up entities properly.
Client EntityManager is not correctly adding the game and board entities from game protobuf yet.
more entity serialisation wip
added teleporter image to reference folder
Fix for an extra gameinstance being created in practice/test local game
fixed Team base entity tags being cleared immediately after they're set.....
control mission now uses board tags not game tags, added SetBoardTag match action
TileTopper SO with ApplyToTile and RemvoeFromTile functions
test model
map editor tile topper mode wip
TileView tag change/model wip stuff
more (dm7 map saved with the TilTopper data too. If map fucks at some point, it's this commit)
wip capture individual location points
wip capture victory conditions, reordering game setup
Split game host instance setup to PreBuildSetup() and PostBuildSetup()
cleaned up control match definition SO
new placeholder capture point model
started making the new OnTagChange stuff less shit
Board/Tile/Unit views now all have EntityView base class
virtual functions for EntityView
more entity manager / events
board tile entities now get ids and are added to entity list
the build is now built before InitEntities is called
OnTagChange can now be overriden
Control/capture mode victory condition now caches the tiles with control points at the start of the match so it only has to check those entities
TileTopperView
CapturePointTTView
Tile toppers now register for tag changes with their tile entity
Placeholder capture point TT animation for capture points tag change
Moved some shit