See TODO.miryokuteki
This commit is contained in:
@@ -746,6 +746,7 @@ ShowStats=Display Performance Statistics in the upper right corner::of the scree
|
||||
CoinMode=When set to HOME, options will be shown on the title screen.::When set to PAY the title menu choices are hidden and you must::insert coins before joining in. When set to FREE the title menu::choices are hidden and you can joining in without inserting coins.
|
||||
CoinsPerCredit=The number of coins that must be inserted before a player can join.
|
||||
JointPremium=When set to OFF, game styles that require both sides of the machine::will cost 2 credits. When set to ON game styles that require both sides::of the machine will cost only 1 credit.
|
||||
SongOptions=When set to OFF.. after accessing the STAGE OPTIONS menu ::after selecting a song, this menu will not appear
|
||||
|
||||
[ScreenGraphicOptions]
|
||||
DisplayMode=Choose whether you would like StepMania to run full screen,::or to display in a window on your desktop.
|
||||
|
||||
@@ -235,6 +235,7 @@ void PrefsManager::SaveGlobalPrefsToDisk()
|
||||
ini.SetValueB( "Options", "PickExtraStage", m_bPickExtraStage );
|
||||
ini.SetValueF( "Options", "LongVerSeconds", m_fLongVerSongSeconds );
|
||||
ini.SetValueF( "Options", "MarathonVerSeconds", m_fMarathonVerSongSeconds );
|
||||
ini.SetValueB( "Options", "SongOptions", m_bShowSongOptions );
|
||||
|
||||
/* Only write these if they aren't the default. This ensures that we can change
|
||||
* the default and have it take effect for everyone (except people who
|
||||
|
||||
@@ -66,6 +66,7 @@ public:
|
||||
bool m_bPickExtraStage;
|
||||
float m_fLongVerSongSeconds;
|
||||
float m_fMarathonVerSongSeconds;
|
||||
bool m_bShowSongOptions;
|
||||
|
||||
|
||||
/* 0 = no; 1 = yes; -1 = auto (do whatever is appropriate for the arch). */
|
||||
|
||||
@@ -32,6 +32,7 @@ enum {
|
||||
MO_COIN_MODE,
|
||||
MO_COINS_PER_CREDIT,
|
||||
MO_JOINT_PREMIUM,
|
||||
MO_SONG_OPTIONS,
|
||||
NUM_MACHINE_OPTIONS_LINES
|
||||
};
|
||||
/* Hmm. Ignore JoyAxes and Back Delayed probably belong in "input options",
|
||||
@@ -45,6 +46,7 @@ OptionRowData g_MachineOptionsLines[NUM_MACHINE_OPTIONS_LINES] = {
|
||||
{ "Coin\nMode", 3, {"HOME","PAY","FREE PLAY"} },
|
||||
{ "Coins Per\nCredit", 8, {"1","2","3","4","5","6","7","8"} },
|
||||
{ "Joint\nPremium", 2, {"OFF","ON"} },
|
||||
{ "Song\nOptions", 2, {"OFF","ON"} },
|
||||
};
|
||||
|
||||
ScreenMachineOptions::ScreenMachineOptions() :
|
||||
|
||||
@@ -34,7 +34,7 @@ enum {
|
||||
NUM_PLAYER_OPTIONS_LINES
|
||||
};
|
||||
OptionRowData g_PlayerOptionsLines[NUM_PLAYER_OPTIONS_LINES] = {
|
||||
{ "Speed", 10, {"x0.25","x0.5","x0.75","x1","x1.5","x2","x3","x4","x5","x8"} },
|
||||
{ "Speed", 11, {"x0.25","x0.5","x0.75","x1","x1.5","x2","x3","x4","x5","x8", "x12"} },
|
||||
{ "Acceler\n-ation",6, {"OFF","BOOST","LAND","WAVE","EXPAND","BOOMERANG"} },
|
||||
{ "Effect", 7, {"OFF","DRUNK","DIZZY","SPACE","MINI","FLIP","TORNADO"} },
|
||||
{ "Appear\n-ance", 5, {"VISIBLE","HIDDEN","SUDDEN","STEALTH","BLINK"} },
|
||||
@@ -82,6 +82,7 @@ void ScreenPlayerOptions::ImportOptions()
|
||||
else if( po.m_fScrollSpeed == 4.0f ) m_iSelectedOption[p][PO_SPEED] = 7;
|
||||
else if( po.m_fScrollSpeed == 5.0f ) m_iSelectedOption[p][PO_SPEED] = 8;
|
||||
else if( po.m_fScrollSpeed == 8.0f ) m_iSelectedOption[p][PO_SPEED] = 9;
|
||||
else if( po.m_fScrollSpeed == 12.0f) m_iSelectedOption[p][PO_SPEED] = 10;
|
||||
else m_iSelectedOption[p][PO_SPEED] = 3;
|
||||
|
||||
m_iSelectedOption[p][PO_ACCEL] = po.m_AccelType;
|
||||
@@ -120,6 +121,7 @@ void ScreenPlayerOptions::ExportOptions()
|
||||
case 7: po.m_fScrollSpeed = 4.0f; break;
|
||||
case 8: po.m_fScrollSpeed = 5.0f; break;
|
||||
case 9: po.m_fScrollSpeed = 8.0f; break;
|
||||
case 10: po.m_fScrollSpeed = 12.0f; break;
|
||||
}
|
||||
|
||||
po.m_AccelType = (PlayerOptions::AccelType)m_iSelectedOption[p][PO_ACCEL];
|
||||
@@ -150,7 +152,10 @@ void ScreenPlayerOptions::GoToPrevState()
|
||||
|
||||
void ScreenPlayerOptions::GoToNextState()
|
||||
{
|
||||
SCREENMAN->SetNewScreen( "ScreenSongOptions" );
|
||||
if( PREFSMAN->m_bShowSongOptions == true )
|
||||
SCREENMAN->SetNewScreen( "ScreenSongOptions" );
|
||||
else
|
||||
SCREENMAN->SetNewScreen( "ScreenStage" );
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
|
||||
|
||||
#include "ScreenOptions.h"
|
||||
#include "PrefsManager.h"
|
||||
|
||||
|
||||
class ScreenPlayerOptions : public ScreenOptions
|
||||
|
||||
@@ -429,11 +429,15 @@ static void HandleInputEvents(float fDeltaTime)
|
||||
*/
|
||||
if( !GAMESTATE->m_bIsOnSystemMenu )
|
||||
{
|
||||
SCREENMAN->SystemMessage("OPERATOR");
|
||||
SCREENMAN->SetNewScreen("ScreenOptionsMenu");
|
||||
SCREENMAN->SystemMessage( "OPERATOR" );
|
||||
SCREENMAN->SetNewScreen( "ScreenOptionsMenu" );
|
||||
//continue;
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -449,7 +453,7 @@ static void HandleInputEvents(float fDeltaTime)
|
||||
SCREENMAN->RefreshCreditsMessages();
|
||||
SOUNDMAN->PlayOnce( THEME->GetPathTo("Sounds","insert coin") );
|
||||
//continue;
|
||||
break;
|
||||
return;
|
||||
default:
|
||||
ASSERT(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user