* Versioned to 1.91
* (html5) -s PRECISE_F32=2 was added to the compile, fixes "drunk midi". However, it hurts performance. This will be removed after FMOD fixes their stuff (see http://www.fmod.org/questions/question/midi-sounds-drunk-in-html5/ ) * (html5) Enabled Proton's persistent support for dink/dmod installs and saves git-svn-id: svn://rtsoft.com/rtsvn/projects/RTDink@1621 353e56fe-9613-0410-8469-b96ad8e6f29c
This commit is contained in:
parent
3957c689c2
commit
2367dc5e3e
14 changed files with 18113 additions and 18046 deletions
|
@ -243,6 +243,8 @@ void OnDMODUnpackFinish(VariantList *pVList)
|
|||
pMenu->GetVar("dmoddir")->Set(GetDMODRootPath()+ pVList->m_variant[0].GetComponent()->GetVar("firstDirCreated")->GetString());
|
||||
|
||||
}
|
||||
|
||||
SyncPersistentData();
|
||||
}
|
||||
|
||||
void OnDMODInstallHTTPFinish(VariantList *pVList)
|
||||
|
@ -257,6 +259,7 @@ void OnDMODInstallHTTPFinish(VariantList *pVList)
|
|||
EntityComponent *pUnpack = pMenu->AddComponent(new UnpackArchiveComponent);
|
||||
pUnpack->GetVar("sourceFileName")->Set(pMenu->GetVar("tempFileName")->GetString());
|
||||
bool bDeleteOnFinish = pMenu->GetVar("deleteOnFinish")->GetUINT32();
|
||||
pUnpack->GetVar("limitToSingleSubdir")->Set(uint32(1));
|
||||
|
||||
pUnpack->GetVar("deleteSourceOnFinish")->Set(uint32(bDeleteOnFinish));
|
||||
|
||||
|
@ -390,6 +393,7 @@ Entity * DMODInstallMenuCreate(Entity *pParentEnt, string dmodURL, string instal
|
|||
//don't download, we already have the file
|
||||
pBG->GetVar("tempFileName")->Set(sourceFileName);
|
||||
pBG->GetVar("originalFileName")->Set(GetFileNameFromString(sourceFileName));
|
||||
pBG->GetVar("limitToSingleSubdir")->Set(uint32(1));
|
||||
|
||||
EntityComponent *pCrapComp = pBG->AddComponent(new EntityComponent("CRAP")); //I don't need this, but the function want a component and gets the parent for the menu, so fine
|
||||
pBG->GetVar("exitto")->Set("main");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue