Changeset 9115 in orxonox.OLD for branches/presentation/src/story_entities/menu
- Timestamp:
- Jul 4, 2006, 12:46:05 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/story_entities/menu/game_menu.cc
r9110 r9115 40 40 41 41 #include "network_manager.h" 42 43 #include "preferences.h" 42 44 43 45 //! This creates a Factory to fabricate a GameMenu … … 528 530 529 531 this->ipInputLine = new OrxGui::GLGuiInputLine( ); 530 this->ipInputLine->setText( "tardis-d08");532 this->ipInputLine->setText( Preferences::getInstance()->getString( "multiplayer", "lastVisitedServer", "localhost" ) ); 531 533 this->clientNetworkBox->pack( this->ipInputLine ); 532 534 this->ipInputLine->connect(SIGNAL(ipInputLine, enterPushed), this, SLOT(GameMenu, connectToServer)); … … 594 596 NetworkManager::getInstance()->establishConnection( this->ipInputLine->_getText(), 9999 ); 595 597 598 Preferences::getInstance()->setString( "multiplayer", "lastVisitedServer", this->ipInputLine->_getText() ); 599 596 600 this->startLevel( 5 ); 597 601 }
Note: See TracChangeset
for help on using the changeset viewer.