[Game Interactor] Add LoadGame and ExitGame hooks#2542
[Game Interactor] Add LoadGame and ExitGame hooks#2542briaguya0 merged 4 commits intoHarbourMasters:developfrom
Conversation
|
Is |
Yes all reset options use the reset command (Ctrl+R/selecting reset from the menu bar/using reset in the console). |
dcvz
left a comment
There was a problem hiding this comment.
Beginning to move some rando stuff over! Nice :)
Nice changes also to the file slots stuff
LGTM 👍
|
Hell yes, this is exactly what I need in order to fix #1187 |
Keep in mind as it is right now, |
|
Ah. It is if My fix in the non-fast-file-select case was indeed to run something that executes exactly once per file before the first frame of gameplay, and that something was to initialize @dcvz if we could find a different place to place the call to |
This adds
LoadGameandExitGamehooks which can be used to run actions when entering/exiting the game. The hooks will have the file number passed in if needed by the consumer.As an example, I have moved the entrance tracker data setup/teardown methods to use these hooks.
The hooks run in the following scenarios:
LoadGameExitGameresetin the console)Build Artifacts