mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-30 08:52:52 +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. */
|
/** \brief These hooks are called at the end of initgame. */
|
||||||
EX hookset<void()> hooks_post_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 bool ineligible_starting_land;
|
||||||
|
|
||||||
EX int easy_specialland;
|
EX int easy_specialland;
|
||||||
@ -1729,6 +1732,7 @@ EX void start_game() {
|
|||||||
texture::config.remap();
|
texture::config.remap();
|
||||||
#endif
|
#endif
|
||||||
subscreens::prepare();
|
subscreens::prepare();
|
||||||
|
callhooks(hooks_post_startgame);
|
||||||
}
|
}
|
||||||
|
|
||||||
// popAllScreens + popAllGames + stop_game + switch_game_mode + start_game
|
// popAllScreens + popAllGames + stop_game + switch_game_mode + start_game
|
||||||
|
Loading…
x
Reference in New Issue
Block a user