- Timestamp:
- Mar 1, 2005, 12:18:22 AM (20 years ago)
- Location:
- orxonox/trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/glmenu_imagescreen.cc
r3394 r3428 18 18 19 19 #include "glmenu_imagescreen.h" 20 #include "importer/texture.h" 20 21 21 #include "importer/material.h" 22 22 … … 156 156 int barHeight = 30; 157 157 158 int val = ( (float)this->currentValue/(float)this->maxValue) * barWidth;158 int val = (int)((float)this->currentValue/(float)this->maxValue) * barWidth; 159 159 160 160 glMatrixMode(GL_PROJECTION); -
orxonox/trunk/src/glmenu_imagescreen.h
r3394 r3428 9 9 10 10 #include "stdincl.h" 11 12 11 class Texture; 13 12 class Material; … … 15 14 class GLMenuImageScreen : public BaseObject { 16 15 16 private: 17 GLMenuImageScreen (); 18 17 19 public: 18 GLMenuImageScreen ();19 20 ~GLMenuImageScreen (); 20 21 -
orxonox/trunk/src/world.cc
r3419 r3428 149 149 150 150 //GLMenuImageScreen* 151 this->glmis = new GLMenuImageScreen();151 this->glmis = GLMenuImageScreen::getInstance(); 152 152 this->glmis->init(); 153 153 this->glmis->setMaximum(10);
Note: See TracChangeset
for help on using the changeset viewer.