Changeset 6306 in orxonox.OLD for trunk/src/world_entities/space_ships
- Timestamp:
- Dec 26, 2005, 2:27:13 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/space_ships/space_ship.cc
r6300 r6306 39 39 40 40 41 #include "lib/gui/gl_gui/glgui_bar.h"42 #include "lib/gui/gl_gui/glgui_pushbutton.h"41 // #include "lib/gui/gl_gui/glgui_bar.h" 42 // #include "lib/gui/gl_gui/glgui_pushbutton.h" 43 43 44 44 … … 121 121 PRINTF(4)("SPACESHIP INIT\n"); 122 122 123 //EventHandler::getInstance()->grabEvents(true);123 EventHandler::getInstance()->grabEvents(true); 124 124 125 125 bUp = bDown = bLeft = bRight = bAscend = bDescend = bRollL = bRollR = false; … … 135 135 this->mouseDir = this->getAbsDir(); 136 136 137 GLGuiButton* button = new GLGuiPushButton();138 button->show();139 button->setLabel("orxonox");140 button->setBindNode(this);141 GLGuiBar* bar = new GLGuiBar();142 bar->show();143 bar->setValue(7.0);144 bar->setMaximum(10);145 bar->setSize2D( 20, 100);146 bar->setAbsCoor2D( 10, 200);137 // GLGuiButton* button = new GLGuiPushButton(); 138 // button->show(); 139 // button->setLabel("orxonox"); 140 // button->setBindNode(this); 141 // GLGuiBar* bar = new GLGuiBar(); 142 // bar->show(); 143 // bar->setValue(7.0); 144 // bar->setMaximum(10); 145 // bar->setSize2D( 20, 100); 146 // bar->setAbsCoor2D( 10, 200); 147 147 148 148 //add events to the eventlist … … 490 490 Weapon* turret = NULL; 491 491 492 if ((float)rand()/RAND_MAX < . 1)492 if ((float)rand()/RAND_MAX < .9) 493 493 { 494 494 //if (this->getWeaponManager()->hasFreeSlot(2, WTYPE_TURRET))
Note: See TracChangeset
for help on using the changeset viewer.