Fix up new stages, configure stage plates, add bonus boss stage, add levels to configuration files. Change Class selection window to include an online character checkbox to toggle between online and offline saving. Fix online/offline file IDs that were incorrectly loading due to no callbacks for async file retrieval.
This commit is contained in:
@@ -49,11 +49,6 @@ void Menu::InitializeSaveFileWindow(){
|
||||
saveFileWindow->ADD("Back Button",MenuComponent)(geom2d::rect<float>{{-8,68},{48,12}},"Cancel",[](MenuFuncData data){Menu::CloseMenu();game->TextEntryEnable(false);return true;})END;
|
||||
saveFileWindow->ADD("Continue Button",MenuComponent)(geom2d::rect<float>{{56,68},{48,12}},"Submit",MenuType::CLASS_SELECTION,[](MenuFuncData data){
|
||||
SaveFile::SetSaveFileName(game->TextEntryGetString());
|
||||
if(SaveFile::IsOnline()){
|
||||
SaveFile::SetSaveFileID(SaveFile::GetOnlineSaveFileCount());
|
||||
}else{
|
||||
SaveFile::SetSaveFileID(SaveFile::GetSaveFileCount());
|
||||
}
|
||||
game->TextEntryEnable(false);
|
||||
return true;
|
||||
})END
|
||||
|
||||
Reference in New Issue
Block a user