12,375 Commits over 3,742 Days - 0.14cph!
moved movement range lookup to unity property
moved unit health read access to a property, added Alive property to replace shitty health > 0 checks
removed old redundant cooldown code and value from definition, now just checks move and attack turn numbers.
careernunit init fix from save
multiple league serialization.
fixed a bunch of bugs related to having more than one league running.
more multi-league support work, fixed career mode start crash
stripped kit ids from team, gamehost, setup etc
UnitView.ApplyKit is now ApplyKitColours, private and with no bool for sharedMat or Away.
added UnitView.ApplyHomeKit and UnitView.ApplyAwayKit to use instead which call ApplyKitColours
Fix for squad editor not clearing squads when switching maps
multiple career league support wip
changed team counts per league: 8/10/12
merged from main
squad verification rework
removed an unnecessary squad verification
more roster generation tweaks
wip:
UnitGenParams
RosterGenParams
RosterGeneration now picks X random unit types to fill teams with isntead of the first X types
added CareerLeague.NextPlayerFixtureSetEvent.
GameColorManager now listens for this event, sets kit colours.
Color.ToHex() now converts to Color32 so it can be formatted as hex
added extensions class with Color.ToHex
results table header changed to show round number/max
added help prompt text when trying to start career match with invalid squad
clicking play match with an invalid/incomplete squad for your next career match no longer starts the match and crashes, instead switches to squad editor tab for you to finish your squad.
cm se unit list spacing tweak
Fixed a career mode creation bug which was leading to a bunch of other bugs.
Added editor menu option to delete career save file.
moved MatchMode to GameSettings
added some reason logging to squad verification.
fixed team and unit names not being removed from available name pool when used.
more (this broke some stuff)
branching because this is gonna start to break shit
GIViewer.LocalKit and GIViewer.OpponentKit now get start at match load
more wip squad editor changes to support multiple modes
grid layout setup for career mode unit list.
wip placeholder career unit list ui.
squad editor unit list grid layout handled per-mode
removed some uneccessary code from UIScrollListConfig to make it easier to support career mode view
disabled battle mode gameobject
new prefab for career mode squad editor unit button.
correct unit button now instantiated depending on game mode.