Changeset 9033 in orxonox.OLD for branches/multi_player_map/src/story_entities
- Timestamp:
- Jul 3, 2006, 1:43:29 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/multi_player_map/src/story_entities/menu/game_menu.cc
r9029 r9033 38 38 39 39 #include "glgui_text.h" 40 41 #include "network_manager.h" 40 42 41 43 //! This creates a Factory to fabricate a GameMenu … … 564 566 PRINTF(0)("Connecting to %s\n", this->ipInputLine->_getText().c_str() ); 565 567 566 //TODO connect :D 568 State::setOnline(true); 569 NetworkManager::getInstance()->establishConnection( this->ipInputLine->_getText(), 9999 ); 570 571 this->startLevel( 5 ); 567 572 } 568 573 … … 571 576 PRINTF(0)("Create server\n" ); 572 577 573 //TODO create server :D 574 } 575 576 577 578 State::setOnline(true); 579 NetworkManager::getInstance()->createServer( 9999 ); 580 581 this->startLevel( 5 ); 582 } 583 584 585
Note: See TracChangeset
for help on using the changeset viewer.