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/hud/RadarOverlayElement.cc

    r1599 r1601  
    4141#include "GraphicsEngine.h"
    4242#include "RadarObject.h"
    43 #include "HUD.h"
     43#include "overlays/OverlayGroup.h"
    4444
    4545namespace orxonox
     
    7777    void RadarOverlayElement::update() {
    7878        // iterate through all RadarObjects
    79         for(std::list<RadarObject*>::iterator it=HUD::getSingleton().getRadarObjects().begin(); it!=HUD::getSingleton().getRadarObjects().end(); it++)
     79        for(std::list<RadarObject*>::iterator it=OverlayGroup::getHUD().getRadarObjects().begin(); it!=OverlayGroup::getHUD().getRadarObjects().end(); it++)
    8080        {
    8181            // calc position on radar...
     
    101101        COUT(3) << "List of RadarObjects:\n";
    102102        // iterate through all Radar Objects
    103         for(std::list<RadarObject*>::const_iterator it=HUD::getSingleton().getRadarObjects().begin(); it!=HUD::getSingleton().getRadarObjects().end(); ++it){
     103        for(std::list<RadarObject*>::const_iterator it=OverlayGroup::getHUD().getRadarObjects().begin(); it!=OverlayGroup::getHUD().getRadarObjects().end(); ++it){
    104104            COUT(3) << i++ << ": " << (*it)->getPosition() << std::endl;
    105105        }
Note: See TracChangeset for help on using the changeset viewer.