mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-10-31 19:36:16 +00:00
better start menu switching for online
This commit is contained in:
parent
6cf800859e
commit
11d7b6e9e4
@ -61,8 +61,10 @@ int main(int argc, const char **argv) {
|
|||||||
#if CAP_COMMANDLINE
|
#if CAP_COMMANDLINE
|
||||||
arg::read(3);
|
arg::read(3);
|
||||||
#endif
|
#endif
|
||||||
|
#if !ISWEB
|
||||||
if(showstartmenu)
|
if(showstartmenu)
|
||||||
pushScreen(showStartMenu);
|
pushScreen(showStartMenu);
|
||||||
|
#endif
|
||||||
mainloop();
|
mainloop();
|
||||||
finishAll();
|
finishAll();
|
||||||
profile_info();
|
profile_info();
|
||||||
|
@ -136,7 +136,8 @@ void initweb() {
|
|||||||
rug::renderonce = true;
|
rug::renderonce = true;
|
||||||
// toggleanim(false);
|
// toggleanim(false);
|
||||||
emscripten_set_fullscreenchange_callback(0, NULL, false, fsc_callback);
|
emscripten_set_fullscreenchange_callback(0, NULL, false, fsc_callback);
|
||||||
pushScreen(showDemo);
|
printf("showstartmenu = %d\n", showstartmenu);
|
||||||
|
if(showstartmenu) pushScreen(showDemo);
|
||||||
}
|
}
|
||||||
|
|
||||||
transmatrix getOrientation() {
|
transmatrix getOrientation() {
|
||||||
|
Loading…
Reference in New Issue
Block a user