4,871 Commits over 2,068 Days - 0.10cph!
added UIButton and audio defs to a bunch of buttons in logo creator
basic end of season panel functionality
wip end of season ui/code
opportunity outcomes now generate specific news items
reworked opportunity generation form being a % chance every week, to a random interval.
serialze next opportunity trigger week with career.
fix for continbue button in career match outcome taking you back to career save slot screen
news item for mod purchases
NewsItem can now take a CareerUnit parameter too.
NewsItem serialization for unit ref.
Clicking a news item with a unit reference will now push a unit view on to the UI stack for that unit.
news item for new unit purchase
reduced default music volume
audio for player cash transactions
sound effect for equipping mods
refresh roster unit list when adding a mod to a unit in unit view
added a new opportunity outcome type: OODurability - modifies the durability of a random unit in the player's roster.
added a Mechanic opportunity using the new durability outcome. Gain or lose.
increased the amount of cash won or lost by the Gamble opportunity.
added UnitRoster.GetRandomUnit()
hooked up career exit button, enabled it.
reworked career mode enter/enable logic, enter-exit-enter flow now works.
Player league fixtures now get get reordered by team difficulty (so generally each match is harder than the previous)
Added LeagueFixture.GetAITeam()
reworked UICareerResultsTable to use UICacheList
reworked UICareerLeagueTable to use UICacheList
added generic UICacheList class, to handle instantiating UI item lists and caching them, growing list as needed etc.
Move UIUnitList, UIUnitModSlots, roster view and market views to using UICacheList, so no instantating when switching tabs. Tabs now switch faster.
Different prices per mod type.
Mod market value now caclulated correctly.
Unit market value now includes equipped mods.
Finally found and fixed the match outcome bug where it was really difficult to click the continue button somtimes. (fast forward button was blocking it if you end the match on your turn)
more mod slot refactor, slots now limited to a max of 1 movement mod.
Market units are now created with empty mod slots.
Refactored some unit slot creation/fill code.
health modifications from sources other than units (eg tile burn dmg) now trigger health change display
create market units with empty random slots
generate movement mod slots too
increased cash won per victory or defeat
merged everything to main
added a quick placeholder stats button to team view to toggle stat graphs
fix career object active in scene
added a new career map
fixed missing default squad for car2 map
wip modslot rework (support for type-specific slots and mods)
merged stat tracking/graphing to main
Team career stat histories are now serializaed/deserialzed, rebuilt with reflection so only the values need to get written to disk, not info.
Set opportunity chance back to 0% for now.
Team rating now correctly calculated based on sum of all it's unit's ratings.
fixed GraphMaker shitness (divide by zero error)
fixed the 144 tooltip errors when shutting the game down :D
wip CareerStatHistory serialization
CareerStatHistory and CareerStatHistories protobuf defs