Mercurial > molko
comparison libmlk-adventure/adventure/molko.c @ 265:11db1d425502
adventure: catch EVENT_QUIT
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 09 Dec 2020 21:23:20 +0100 |
parents | cd5bdb995052 |
children | bead76f6c793 |
comparison
equal
deleted
inserted
replaced
264:9bbbabb6f077 | 265:11db1d425502 |
---|---|
77 /* Init unrecoverable panic state. */ | 77 /* Init unrecoverable panic state. */ |
78 molko.panic = panic_state_new(); | 78 molko.panic = panic_state_new(); |
79 panic_handler = crash; | 79 panic_handler = crash; |
80 | 80 |
81 /* Start to splash. */ | 81 /* Start to splash. */ |
82 //game_switch(splashscreen_state_new(), true); | 82 game_switch(splashscreen_state_new(), true); |
83 game_switch(mainmenu_state_new(), true); | |
84 } | 83 } |
85 | 84 |
86 void | 85 void |
87 molko_run(void) | 86 molko_run(void) |
88 { | 87 { |