mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-04-07 11:17:00 +00:00
added hooks for hooks_post_startgame
This commit is contained in:
parent
80f65fc0f8
commit
17d2830596
@ -169,6 +169,9 @@ EX hookset<void()> hooks_initgame;
|
||||
/** \brief These hooks are called at the end of initgame. */
|
||||
EX hookset<void()> hooks_post_initgame;
|
||||
|
||||
/** \brief These hooks are called at the end of startgame. */
|
||||
EX hookset<void()> hooks_post_startgame;
|
||||
|
||||
EX bool ineligible_starting_land;
|
||||
|
||||
EX int easy_specialland;
|
||||
@ -1729,6 +1732,7 @@ EX void start_game() {
|
||||
texture::config.remap();
|
||||
#endif
|
||||
subscreens::prepare();
|
||||
callhooks(hooks_post_startgame);
|
||||
}
|
||||
|
||||
// popAllScreens + popAllGames + stop_game + switch_game_mode + start_game
|
||||
|
Loading…
x
Reference in New Issue
Block a user