* Options now correctly save when exitting the menu in html5
* Debug builds no longer quick save ever 5 seconds git-svn-id: svn://rtsoft.com/rtsvn/projects/RTDink@1623 353e56fe-9613-0410-8469-b96ad8e6f29c
This commit is contained in:
parent
2367dc5e3e
commit
838fa92175
8 changed files with 36 additions and 36 deletions
|
@ -252,7 +252,7 @@ void OnDMODInstallHTTPFinish(VariantList *pVList)
|
|||
Entity *pMenu = pVList->m_variant[0].GetComponent()->GetParent();
|
||||
|
||||
#ifdef _DEBUG
|
||||
LogMsg("Finish signal received");
|
||||
LogMsg("Download finished...");
|
||||
#endif
|
||||
|
||||
DMODSetTitleLabel(pMenu, string("Installing ")+pMenu->GetVar("originalFileName")->GetString()+"...");
|
||||
|
|
|
@ -15,14 +15,8 @@
|
|||
#include "Entity/ArcadeInputComponent.h"
|
||||
#include "Renderer/SoftSurface.h"
|
||||
|
||||
#ifdef _DEBUG
|
||||
#define AUTO_SAVE_MS (1000*8)
|
||||
|
||||
#else
|
||||
#define AUTO_SAVE_MS (1000*60*5)
|
||||
|
||||
#endif
|
||||
|
||||
void UpdatePauseMenuPosition(Entity *pBG);
|
||||
|
||||
void ShowQuickMessage(string msg)
|
||||
|
|
|
@ -255,6 +255,7 @@ void OptionsMenuOnSelect(VariantList *pVList) //0=vec2 point of click, 1=entity
|
|||
ZoomToPositionEntity(pMenu, CL_Vec2f(GetScreenSizeXf(),0), 500); //slide up
|
||||
KillEntity(pMenu, 500);
|
||||
AddFocusIfNeeded(pMenu->GetParent(), true, 500);
|
||||
GetApp()->SaveSettings();
|
||||
SyncPersistentData();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue