Mercurial > molko
diff libmlk-adventure/adventure/molko.c @ 282:a15f77eda9a4
adventure: rename functions
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sun, 20 Dec 2020 11:04:41 +0100 |
parents | 87b8c7510717 |
children | 3991779aaba9 |
line wrap: on
line diff
--- a/libmlk-adventure/adventure/molko.c Sun Dec 20 10:55:53 2020 +0100 +++ b/libmlk-adventure/adventure/molko.c Sun Dec 20 11:04:41 2020 +0100 @@ -78,7 +78,7 @@ */ /* Init unrecoverable panic state. */ - molko.panic = panic_state_new(); + molko.panic = state_panic_new(); panic_handler = crash; trace_handler = trace_hud_handler; @@ -88,9 +88,9 @@ /* Start to splash. */ #if 0 // TODO: put back this. - game_switch(splashscreen_state_new(), true); + game_switch(state_splashscreen_ne(), true); #else - game_switch(mainmenu_state_new(), true); + game_switch(state_mainmenu_new(), true); #endif } @@ -113,7 +113,7 @@ void molko_teleport(const char *map, int origin_x, int origin_y) { - game_switch(map_state_new(map, origin_x, origin_y), false); + game_switch(state_map_new(map, origin_x, origin_y), false); game.inhibit = INHIBIT_NONE; }