11,457 Commits over 3,561 Days - 0.13cph!
some combat cleanup, deleted now unused code/files
Temporary fix for recent combat errors
MatchActions now run on client gameinstances too
MatchDefintion settings now get applied on clients too
Added TilesRemoved to board
Fixed tilefall
UnitView quick cleanup, fixed double triggering of hit
combat fixes / rework wip
Fixed some attack issues, fixed grabber not doing damage again.
Started refactoring some attack stuff so we can setup attack behaviour for cooler attack types
Fixed a bunch of local game issues that were breaking AI matches
fixed the Invalid attack cursor offset
merged wip refactor branch and left click controls back to main
Merged the left click control branch in and fixed it again
Deleted another Apex folder
Tile.MoveDirection now takes two tiles instead of 2 positions
some .position -> .tile changes
Unit now has a ref to it's Tile too
Made Board.GetUnitTile() private and made everything use the new ref instead
Added a Unit ref to Tile, changed all references to and look ups of the old tileID to use the new ref
changed all the casted Unit entity references to direct Unit references in EntityManager
EntityManager now has dedicated lists for Unit and UnitView
Added a UnitView reference to Unit that gets set when the UnitView is spawned
Finished cleaning up commands
CommandQueue cleanup
Moved TileFall visual warning/destroy effects out of CmdNextTurn and into a new BoardTileEffect component
Moved the remaining tile fall functions out of BoardView into BoardTileEffect
CmdChat, CmdEmote cleanup
moved CmType enum to it's own file
cleaned up CmdAttack
fixed TileHighlighter NRE
Deleted unused CameraManager script, quick GameCam cleanup
Misc formatting
Cleaned up opponent tile hovering in Board/Tile views
Explosion debris is now set as a child of the explosion source tile so it get's destroyed with the tile.
Removed debris clearing function from BoardView now it's not needed
Moved board ripple effect out of BoardView and into a BoardRippleEffect component
Fixed TIle not getting a correct ref to it's TileView
Tile now has a direct reference to it's TileView
Removed list of TileViews from BoardView and all the old references now deal directly with the Tile.TileView
PathHighlighter cleaned up
Moved path highlighting from TileHighlighter to a new PathHighlighter class
reworked path highlighting in TileHighlighter ready to move to a new class
Board now keeps a list of spawn tiles not indexes
made templates for the rest of the tile highlight configs and removed all the hardcoded values
removed the now unused old highlight functions from the new TileHighlighter
made a TileHighlightTemplate scriptable object that can be used to configure the different tile highlights without doing it in code
added a function to TileHighlighter that takes a tile list and a template
started converting the hardcoded tile settings to the new templates
Moved all tile highlighting stuff out of BoardView and into a new TileHighlighter class, reworked all references
Added TileHighlighter class and copied the functions over from BoardView