- move join game in progress menu option below publish so its not overlapping
This commit is contained in:
parent
71d8eb2e67
commit
01eb7b70d6
|
@ -474,12 +474,12 @@ MenuStateCustomGame::MenuStateCustomGame(Program *program, MainMenu *mainMenu,
|
||||||
|
|
||||||
bool allowInProgressJoin = Config::getInstance().getBool("EnableJoinInProgressGame","false");
|
bool allowInProgressJoin = Config::getInstance().getBool("EnableJoinInProgressGame","false");
|
||||||
labelAllowInGameJoinPlayer.registerGraphicComponent(containerName,"labelAllowInGameJoinPlayer");
|
labelAllowInGameJoinPlayer.registerGraphicComponent(containerName,"labelAllowInGameJoinPlayer");
|
||||||
labelAllowInGameJoinPlayer.init(xoffset+410, 670, 80);
|
labelAllowInGameJoinPlayer.init(50, networkPos - 30, 80);
|
||||||
labelAllowInGameJoinPlayer.setText(lang.getString("AllowInGameJoinPlayer"));
|
labelAllowInGameJoinPlayer.setText(lang.getString("AllowInGameJoinPlayer"));
|
||||||
labelAllowInGameJoinPlayer.setVisible(allowInProgressJoin);
|
labelAllowInGameJoinPlayer.setVisible(allowInProgressJoin);
|
||||||
|
|
||||||
checkBoxAllowInGameJoinPlayer.registerGraphicComponent(containerName,"checkBoxAllowInGameJoinPlayer");
|
checkBoxAllowInGameJoinPlayer.registerGraphicComponent(containerName,"checkBoxAllowInGameJoinPlayer");
|
||||||
checkBoxAllowInGameJoinPlayer.init(xoffset+612, 670);
|
checkBoxAllowInGameJoinPlayer.init(20, networkPos - 30);
|
||||||
checkBoxAllowInGameJoinPlayer.setValue(false);
|
checkBoxAllowInGameJoinPlayer.setValue(false);
|
||||||
checkBoxAllowInGameJoinPlayer.setVisible(allowInProgressJoin);
|
checkBoxAllowInGameJoinPlayer.setVisible(allowInProgressJoin);
|
||||||
|
|
||||||
|
@ -507,11 +507,11 @@ MenuStateCustomGame::MenuStateCustomGame(Program *program, MainMenu *mainMenu,
|
||||||
|
|
||||||
// Network Pause for lagged clients
|
// Network Pause for lagged clients
|
||||||
labelNetworkPauseGameForLaggedClients.registerGraphicComponent(containerName,"labelNetworkPauseGameForLaggedClients");
|
labelNetworkPauseGameForLaggedClients.registerGraphicComponent(containerName,"labelNetworkPauseGameForLaggedClients");
|
||||||
labelNetworkPauseGameForLaggedClients.init(labelAllowInGameJoinPlayer.getX(), networkHeadPos, 80);
|
labelNetworkPauseGameForLaggedClients.init(labelAllowTeamResourceSharing.getX(), networkHeadPos, 80);
|
||||||
labelNetworkPauseGameForLaggedClients.setText(lang.getString("NetworkPauseGameForLaggedClients"));
|
labelNetworkPauseGameForLaggedClients.setText(lang.getString("NetworkPauseGameForLaggedClients"));
|
||||||
|
|
||||||
checkBoxNetworkPauseGameForLaggedClients.registerGraphicComponent(containerName,"checkBoxNetworkPauseGameForLaggedClients");
|
checkBoxNetworkPauseGameForLaggedClients.registerGraphicComponent(containerName,"checkBoxNetworkPauseGameForLaggedClients");
|
||||||
checkBoxNetworkPauseGameForLaggedClients.init(checkBoxAllowInGameJoinPlayer.getX(), networkHeadPos);
|
checkBoxNetworkPauseGameForLaggedClients.init(checkBoxAllowTeamResourceSharing.getX(), networkHeadPos);
|
||||||
checkBoxNetworkPauseGameForLaggedClients.setValue(true);
|
checkBoxNetworkPauseGameForLaggedClients.setValue(true);
|
||||||
|
|
||||||
//list boxes
|
//list boxes
|
||||||
|
|
Loading…
Reference in New Issue