- Timestamp:
- Jul 24, 2006, 1:00:01 PM (18 years ago)
- Location:
- branches/proxy/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/lib/network/proxy/network_settings.cc
r9410 r9416 40 40 // suggest a good standard max players value 41 41 this->maxPlayer = 10; 42 43 // this->loadData();44 42 } 45 43 -
branches/proxy/src/util/multiplayer_team_deathmatch.cc
r9406 r9416 152 152 box->setAbsCoor2D( 300, 100 ); 153 153 154 OrxGui::GLGuiPushButton * buttonSpectator = new OrxGui::GLGuiPushButton("Spectator"); 155 box->pack( buttonSpectator ); 156 buttonSpectator->released.connect(this, &MultiplayerTeamDeathmatch::onButtonSpectator); 157 158 OrxGui::GLGuiPushButton * buttonRandom = new OrxGui::GLGuiPushButton("Random"); 159 box->pack( buttonRandom ); 160 buttonRandom->released.connect(this, &MultiplayerTeamDeathmatch::onButtonRandom); 161 162 OrxGui::GLGuiPushButton * buttonTeam0 = new OrxGui::GLGuiPushButton("Blue Team"); 163 box->pack( buttonTeam0 ); 164 buttonTeam0->released.connect(this, &MultiplayerTeamDeathmatch::onButtonTeam0); 165 166 OrxGui::GLGuiPushButton * buttonTeam1 = new OrxGui::GLGuiPushButton("Red Team"); 167 box->pack( buttonTeam1 ); 168 buttonTeam1->released.connect(this, &MultiplayerTeamDeathmatch::onButtonTeam1); 154 if( SharedNetworkData::getInstance()->isClient()) 155 { 156 OrxGui::GLGuiPushButton * buttonSpectator = new OrxGui::GLGuiPushButton("Spectator"); 157 box->pack( buttonSpectator ); 158 buttonSpectator->released.connect(this, &MultiplayerTeamDeathmatch::onButtonSpectator); 159 160 OrxGui::GLGuiPushButton * buttonRandom = new OrxGui::GLGuiPushButton("Random"); 161 box->pack( buttonRandom ); 162 buttonRandom->released.connect(this, &MultiplayerTeamDeathmatch::onButtonRandom); 163 164 OrxGui::GLGuiPushButton * buttonTeam0 = new OrxGui::GLGuiPushButton("Blue Team"); 165 box->pack( buttonTeam0 ); 166 buttonTeam0->released.connect(this, &MultiplayerTeamDeathmatch::onButtonTeam0); 167 168 OrxGui::GLGuiPushButton * buttonTeam1 = new OrxGui::GLGuiPushButton("Red Team"); 169 box->pack( buttonTeam1 ); 170 buttonTeam1->released.connect(this, &MultiplayerTeamDeathmatch::onButtonTeam1); 171 } 172 else 173 { 174 OrxGui::GLGuiText* text = new OrxGui::GLGuiText(); 175 text->setText("Server Mode: not able to play at this node"); 176 box->pack( text); 177 } 178 169 179 170 180 if ( bShowTeamChange )
Note: See TracChangeset
for help on using the changeset viewer.