165 Commits over 61 Days - 0.11cph!
Cleared out the old client UI content in triggers
Working on a custom end-of-round display
Fixed UI stack getting messed up when continuing on from the end-of-round screen
End-of-round summary merge
Adding PCCriminal to a game mode now automatically also adds a crime manager. Should prevent some confusion.
Clear erroneous prefab assignments
Didn't realise in my earlier commit that 'HUDPrefab' is a custom HUD prefab, not the main one. Fixed here.
Keeping it moved to the main NetworkGameModeBase class through, as SerializedFields get lost when they're inside #if defines and the active define changes.
Crimes were buggy in listen server mode since the CrimeManager had only one instance. Made it a manager on NetworkPeer instead. Did some refactoring and cleanup at the same time. NetworkGameModeBase's "dependencies" list is now called "managerPrefabs" and can be used to add any number of custom managers, much like how playerComponentPrefabs adds any number of custom PlayerComponents.
End-of-round summary UI work
End of round now supports game modes with NO winners and losers
Have alerts push to child stack instead of root
End-of-round screen work and some fixes
Couple of minor UI tweaks
Added some bonus featured to the crime log UI
Crime list UI fully updated.
Fix server browser options inconsistency.
Uncommenting this line, getting respawn countdown working again.
Cellphone UI facelift complete.
Fixed some broken layout on the options screen + crime log work.
Fix more missing stuff on player labels
Fixed missing animation ref on player labels
Simple port of the old cellphone UI to the new UI system, without updating the look. Callphone use is also broken because players are missing a CellPhone script, apparently, but the UI works if we ignore that.
Fixed an alert method with a name conflict.
Remove social stuff since it's unused and we're not updating it to the new UI. Can restore this if we ever need it again.
Alert UI can use keyboard control
Force punctuation in alert message.
Better system for changing alert colours.
Totally revamped ui.alert for the new UI, and used the new implementation to replace the quit dialog in the main menu, making it an alert instead of its own thing (while looking visually the same as it did before). Use the new UIShowSimpleAlert/UIShowOneButtonAlert/UIShowConfirmationAlert/UIShowTwoButtonAlert scripts to tell an alert to show, like how you'd use UIPopViewController or RunConsoleCommand etc.
Fix compile error on server