Added description of HOOK_GAMEMODECHANGE to hookscripts.txt.

Fixed the line break for debug.log message of GameReset.
Minor edits to Tiles.cpp code format.
This commit is contained in:
NovaRain
2018-05-28 23:37:45 +08:00
parent 4ef20c3526
commit 2d8ea2b44c
3 changed files with 22 additions and 5 deletions
+8
View File
@@ -498,3 +498,11 @@ int arg3 - the hour part of the length of resting time
int arg4 - the minute part of the length of resting time
int ret1 - pass 1 to interrupt the resting
-------------------------------------------
HOOK_GAMEMODECHANGE (hs_gamemodechange.int)
Runs once every time when the game mode was changed, like opening/closing the inventory, character screen, pipboy, etc.
int arg1 - event type: 1 - when the player exits the game, 0 - otherwise