- Timestamp:
- Jul 2, 2006, 2:50:47 PM (18 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
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 -
trunk/src/util/hud.cc
r9003 r9014 189 189 this->_radar->setAbsCoor2D(0.8 * this->resX, 0.01 * this->resY); 190 190 this->_radar->setWidgetSize(0.2 * this->resX, 0.2 * this->resY); 191 this->_radar->setRange(300); 191 192 this->_radar->show(); 192 193 } -
trunk/src/world_entities/elements/glgui_energywidget.cc
r8991 r9014 10 10 11 11 ### File Specific: 12 main-programmer: ...12 main-programmer: Benjamin Grauer 13 13 co-programmer: ... 14 14 */ -
trunk/src/world_entities/elements/glgui_radar.cc
r9003 r9014 75 75 break; 76 76 } 77 } 78 79 80 void GLGuiRadar::setRange(float range) 81 { 82 this->_range = range; 77 83 } 78 84
Note: See TracChangeset
for help on using the changeset viewer.