branchwiseguys/main/GameModeEventscancel
18 Commits over 0 Days - ∞cph!
Working on some event stuff for game modes, but ended up doing a bunch of other fixes and things along the way. Only committing some of what I've done here so this is probably a commit with errors.
Character events work in progress
BigInfoText uses the new characters events
Use the dll interpolator class in the main project. No need to have two instances of the same thing - they'd already got slightly out of sync.
Removed pool checking for CharacterState and CharacterMotorState, since Bill F's changes mean they're no longer pooled.
Oops, removing my debug changes
Game modes now have character events available to override. Added a WeakEvent class for memory leak safety.
Can get NumListeners from your weak ref event
Moving character events around
Simplified NetworkGameMode creation events. Decided AutoFiringEvent was trying too hard to be clever
Fixed location event bugs
More character event stuff
Fix for buildings with no units