Files
OpenRA/OpenRA.Mods.Common
RoosterDragon 31c37662cf Play game started audio notifications just as the game starts.
Previously the StartGameNotification and MusicPlaylist traits used the IWorldLoaded interface to play an audio notification and begin music when the game started. However this interface is used by many traits to perform initial loading whilst the load screen was visible, and this loading can take time. Since the traits could run in any order, then audio notification might fire before another trait with a long loading time. This is not ideal as we want the time between the audio notification occurring and the player being able to interact to be as short and reliable as possible.

Now, we introduce a new IPostWorldLoaded which runs after all other loading activity, and we switch StartGameNotification and MusicPlaylist to use it. This allows timing sensitive traits that want to run right at the end of loading to fire reliably and with minimal delay. The player perception of hearing the notification and being able to interact is now much snappier.
2023-11-12 20:18:41 +02:00
..
2023-10-30 23:31:33 +02:00
2023-08-07 21:38:09 +02:00
2023-06-06 11:51:47 +03:00
2023-10-30 23:31:33 +02:00
2023-11-10 10:38:41 +02:00
2023-04-08 16:51:51 +03:00
2023-11-10 10:38:41 +02:00
2023-06-20 17:57:40 +02:00
2023-11-10 10:38:41 +02:00
2023-11-10 10:38:41 +02:00
2023-10-30 23:31:33 +02:00
2023-11-10 10:38:41 +02:00
2023-10-30 23:31:33 +02:00
2023-01-11 11:58:54 +02:00
2023-06-06 11:51:47 +03:00
2023-08-07 21:38:09 +02:00
2023-03-18 12:46:10 +02:00
2023-08-02 19:42:31 +03:00