* Some changes to Dink's speed calculations, it's now basically locked at "you better get 60 fps or the whole game will slow down" - the
original system is REALLY bad and the timing of Dink vs monsters can vary wildly based on your framerate. So I sort of had to "choose" a correct speed and go with that, I chose a pretty fast speed sort of arbitrarily because it "felt" ok. There isn't really a "correct" speed so I do expect problems with some dmods due to them expecting a specific speed, but by choosing rather snappy speed hopefully mystery island and most of them will be finishable * Related to the above, holding tab no longer lets you cheat by moving relatively faster than monsters * Playing location aware sounds on a script not attached to a sprite will no longer cause crashes (should fix crash in malachi the jerk) git-svn-id: svn://rtsoft.com/rtsvn/projects/RTDink@1514 353e56fe-9613-0410-8469-b96ad8e6f29c
This commit is contained in:
parent
ed55a08ab2
commit
4174db5427
7 changed files with 103 additions and 42 deletions
|
@ -184,8 +184,8 @@ App::App()
|
|||
m_bDidPostInit = false;
|
||||
m_bHasDMODSupport = true;
|
||||
//for mobiles
|
||||
m_version = 1.83f;
|
||||
m_versionString = "V1.8.3";
|
||||
m_version = 1.84f;
|
||||
m_versionString = "V1.8.4";
|
||||
m_build = 1;
|
||||
m_bCheatsEnabled = false;
|
||||
|
||||
|
@ -259,7 +259,6 @@ bool App::DoesCommandLineParmExist(string parm)
|
|||
{
|
||||
vector<string> parms = GetBaseApp()->GetCommandLineParms();
|
||||
parm = ToLowerCaseString(parm);
|
||||
|
||||
for (int i = 0; i < parms.size(); i++)
|
||||
{
|
||||
if (ToLowerCaseString(parms[i]) == parm) return true;
|
||||
|
@ -276,7 +275,6 @@ bool App::Init()
|
|||
|
||||
|
||||
//GetBaseApp()->SetDisableSubPixelBlits(true);
|
||||
|
||||
SetDefaultButtonStyle(Button2DComponent::BUTTON_STYLE_CLICK_ON_TOUCH_RELEASE);
|
||||
SetManualRotationMode(false);
|
||||
|
||||
|
@ -621,8 +619,6 @@ GetApp()->SetCheatsEnabled(true);
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -879,21 +875,8 @@ void App::OnMemoryWarning()
|
|||
void App::UpdateVideoSettings()
|
||||
{
|
||||
eVideoFPS v = (eVideoFPS)GetApp()->GetVarWithDefault("fpsLimit", Variant(uint32(VIDEO_FPS_LIMIT_OFF)))->GetUINT32();
|
||||
OSMessage o;
|
||||
o.m_type = OSMessage::MESSAGE_SET_FPS_LIMIT;
|
||||
|
||||
switch (v)
|
||||
{
|
||||
case VIDEO_FPS_LIMIT_ON:
|
||||
o.m_x = 30;
|
||||
break;
|
||||
|
||||
case VIDEO_FPS_LIMIT_OFF:
|
||||
o.m_x = 2000;
|
||||
break;
|
||||
}
|
||||
|
||||
GetBaseApp()->AddOSMessage(o);
|
||||
SetFPSLimit(60);
|
||||
//SetFPSLimit(v);
|
||||
};
|
||||
|
||||
void App::SaveAllData()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue