8th time rewriting it...
+ Make audio manager be an array - one entry for each possible client.
+ Added global audio manager for setting everyone's music at once and ticking all audio managers that are set to tick. This does not apply to clients who are experiencing "an event".
+ Made audio managers check if their clients are valid - if not, stop the manager immediately.
+ Use g_indexBGM for setting global bgm indexes.
+ Automatically set and update music for each client that joins the server
+ Automatically set and update music for each client when the game mode changes
+ Made /song command immediately reflect the current playing song
+ Changed how instant stopping works, unnecessary but yknow, tests???
+ Added a timer to delay music startup on plugin reload
- Removed old timer system used for playing music to new clients in favor of event based system.
FIXED THE MUSIC SYSTEM FINALLY AFTER THE 7TH REWRITE.
THANK YOU SO MUCH, @arieshi255 !!!
+ Made music system CONSIDERABLY more accurate, and virtually immune to server lag as we now base ticks off the game engine's real time clock in seconds, with an accuracy of up to 100ns.
+ Changed ChangeBGM function to accept a true or false, determining whether to stop the music and change it on the fly, or wait for the current song to finish.
+ Disabled debug info (getting real world time) from going into global chat.
+ Optimised music system's loop code to skip over index 0 (console) as the server console should never receive sound commands anyways.
+ Added documentation to FastFire2
- Removed some headers
- Removed some includes
- Made some functions private
- Moved precaches to the precache function
- Moved onslaughter tick code to appropriate BossHandler
- Removed spaghetti code from debug commands
+ Made music menu display forever
- Renamed menus
- Moved OnFastFire2Ready lighting reset function to the WeatherManager reset function
+ Took control of admin commands during certain... situations :)
+ Added scripts for certain... situations :)
+ Added custom hud text renderer
+ Bump version