Home
last modified time | relevance | path

Searched refs:startpostype (Results 1 – 6 of 6) sorted by relevance

/dports/games/springlobby/springlobby-0.180/src/lsl/src/lsl/spring/
H A Dspring.cpp324 long startpostype = Util::FromString<long>( in WriteScriptTxt() local
328 …if ( battle->IsProxy() && ( startpostype != Enum::ST_Pick ) && ( startpostype != Enum::ST_Choose )… in WriteScriptTxt()
348 if ( startpostype == Enum::ST_Random ) in WriteScriptTxt()
356 if ( ( startpostype == Enum::ST_Random ) || ( startpostype == Enum::ST_Fixed ) ) in WriteScriptTxt()
360 else tdf.Append( "startpostype", startpostype ); in WriteScriptTxt()
362 else tdf.Append( "startpostype", startpostype ); in WriteScriptTxt()
374 tdf.Append( "relayhoststartpostype", startpostype ); // also save the original wanted setting in WriteScriptTxt()
518 if ( startpostype == Enum::ST_Pick ) in WriteScriptTxt()
523 else if ( ( startpostype == Enum::ST_Fixed ) || ( startpostype == Enum::ST_Random ) ) in WriteScriptTxt()
536 if ( startpostype == Enum::ST_Pick ) in WriteScriptTxt()
[all …]
/dports/games/springlobby/springlobby-0.180/src/
H A Dspring.cpp303 const long startpostype = LSL::Util::FromString<long>( in WriteScriptTxt() local
307 …if ( battle.IsProxy() && ( startpostype != IBattle::ST_Pick ) && ( startpostype != IBattle::ST_Cho… in WriteScriptTxt()
327 if ( startpostype == IBattle::ST_Random ) in WriteScriptTxt()
335 if ( ( startpostype == IBattle::ST_Random ) || ( startpostype == IBattle::ST_Fixed ) ) in WriteScriptTxt()
339 else tdf.Append( _T("startpostype"), startpostype ); in WriteScriptTxt()
341 else tdf.Append( _T("startpostype"), startpostype ); in WriteScriptTxt()
352 … tdf.Append( _T("relayhoststartpostype"), startpostype ); // also save the original wanted setting in WriteScriptTxt()
493 if ( startpostype == IBattle::ST_Pick ) in WriteScriptTxt()
498 else if ( ( startpostype == IBattle::ST_Fixed ) || ( startpostype == IBattle::ST_Random ) ) in WriteScriptTxt()
511 if ( startpostype == IBattle::ST_Pick ) in WriteScriptTxt()
[all …]
H A Dsettings.h501 void SetMapLastStartPosType( const wxString& mapname, const wxString& startpostype );
H A Dbattle.cpp166 …const std::string startpostype = CustomBattleOptions().getSingleValue( "startpostype", LSL::Option… in SaveMapDefaults() local
167 sett().SetMapLastStartPosType( mapname, TowxString(startpostype)); in SaveMapDefaults()
H A Dsettings.cpp1304 void Settings::SetMapLastStartPosType( const wxString& mapname, const wxString& startpostype ) in SetMapLastStartPosType() argument
1306 m_config->Write( _T( "/Hosting/MapLastValues/" ) + mapname + _T( "/startpostype" ), startpostype ); in SetMapLastStartPosType()
/dports/games/springlobby/springlobby-0.180/src/lsl/src/lsl/battle/
H A Dbattle.cpp142 …std::string startpostype = CustomBattleOptions()->getSingleValue( "startpostype", LSL::OptionsWrap… in SaveMapDefaults() local
143 sett().SetMapLastStartPosType( mapname, startpostype); in SaveMapDefaults()