Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 14, 2008, 6:37:12 PM (16 years ago)
Author:
rgrieder
Message:
  • new folder structure for overlays:

orxonox/


overlays/

console/
hud/

  • Navigation —> HUDNavigation
  • HUD —> OverlayGroup (not yet begun with that except renaming and getHUD() instead of getSingleton())
  • moved HUD.oxo (file ending should stand for orxonox overlay) to media repository in overlay folder
  • fixed a bug with console noiseSize_ config value (was inverted..)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/hud/src/orxonox/overlays/console/InGameConsole.cc

    r1599 r1601  
    378378        this->consoleOverlayNoise_->setWidth((int) this->windowW_ * this->relativeWidth - 10);
    379379        this->consoleOverlayNoise_->setHeight((int) this->windowH_ * this->relativeHeight - 5);
    380         this->consoleOverlayNoise_->setTiling(consoleOverlayNoise_->getWidth() / 80.0f * this->noiseSize_, consoleOverlayNoise_->getHeight() / 80.0f * this->noiseSize_);
     380        this->consoleOverlayNoise_->setTiling(consoleOverlayNoise_->getWidth() / (50.0f * this->noiseSize_), consoleOverlayNoise_->getHeight() / (50.0f * this->noiseSize_));
    381381
    382382        // now adjust the text lines...
Note: See TracChangeset for help on using the changeset viewer.