Implemented EncodeURI stub function.
This commit is contained in:
@@ -48,10 +48,10 @@ void Menu::InitializeMainMenuWindow(){
|
||||
Menu*mainMenuWindow=CreateMenu(MAIN_MENU,CENTERED,vi2d{96,96});
|
||||
|
||||
mainMenuWindow->ADD("New Game Button",MenuComponent)({{12,4},{72,24}},"New Game",[&](MenuFuncData data){
|
||||
game->TextEntryEnable(true);
|
||||
#ifdef __EMSCRIPTEN__
|
||||
data.menu.S(A::NEXT_MENU)="New Game";
|
||||
if(SaveFile::GetUserID().length()==0){
|
||||
game->TextEntryEnable(true);
|
||||
Menu::OpenMenu(USER_ID);
|
||||
}else{
|
||||
Menu::OpenMenu(SAVE_FILE_NAME);
|
||||
|
||||
Reference in New Issue
Block a user