Changeset 9014 in orxonox.OLD for trunk/src/story_entities
- Timestamp:
 - Jul 2, 2006, 2:50:47 PM (19 years ago)
 - File:
 - 
          
- 1 edited
 
- 
          trunk/src/story_entities/menu/game_menu.cc (modified) (4 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
        
trunk/src/story_entities/menu/game_menu.cc
r8742 r9014 145 145 startButton->connect(SIGNAL(startButton, released), this, SLOT(GameMenu, showCampaigns)); 146 146 this->mainMenuBox->pack(startButton); 147 startButton->select(); 147 148 148 149 OrxGui::GLGuiButton* networkButton = new OrxGui::GLGuiPushButton("MultiPlayer"); … … 162 163 this->mainMenuBox->showAll(); 163 164 165 164 166 this->mainMenuBox->setRelCoor2D(200, 100); 165 167 } … … 182 184 const std::list<BaseObject*>* storyEntities = ClassList::getList(CL_STORY_ENTITY); 183 185 std::list<BaseObject*>::const_iterator it; 186 bool first = true; 184 187 for( it = storyEntities->begin(); it != storyEntities->end(); it++) 185 188 { … … 192 195 button->connect(SIGNAL(button, startLevel), this, SLOT(GameMenu, startLevel)); 193 196 labelBox->pack(button); 197 198 if (first) 199 { 200 first = !first; 201 button->select(); 202 } 194 203 195 204 // generating screenshoot item  
Note: See TracChangeset
          for help on using the changeset viewer.
      


            






