branchwiseguys/main/GameModeFeaturescancel
16 Commits over 0 Days - ∞cph!
Finish off removing the hack on UI text. Make it work nicely with the new system.
Game modes can decide if they support shops or not. Also added some standard colour definitions to keep things consistent through the project.
Major overhaul where I try to clean up some singletons, especially NetSCSingleton and MonoSCSingleton which were trying to be singletons and also handle the fact that listen servers would have two copies - one for the server side, and one for the client. I've now managed to remove those classes entirely. All shared managers etc that are per-level, like CharacterManager and ItemManager, instead of being singletons, are now referenced via the NetworkPeer object in the same way that NetworkUserManager etc are (though note they may not exist right away when NetworkPeer is created). Thus a lot of server/client checking code has been removed and replaced with simple NetworkPeer or NetworkClient/NetworkServer references.
Removed welfaremanager and welfare payment support. This is something that can be integrated into a specific game mode rather than being a general feature.
Merge the latest from Main into my branch
Crime events for characters+ other tweaks
Fix some event bugs. Remove WeakEvent due to a couple of issues.
Fixes, mainly extra checks to stop NREs when quitting in editor due to the unpredictable order everything gets destroyed in.
Make Client/Server separate work
Events work, refactoring/cleanup