Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 14, 2008, 6:37:12 PM (17 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/Orxonox.cc

    r1588 r1601  
    6969
    7070// objects and tools
    71 #include "hud/HUD.h"
    72 #include "console/InGameConsole.h"
     71#include "overlays/OverlayGroup.h"
     72#include "overlays/console/InGameConsole.h"
    7373#include "objects/Tickable.h"
    7474#include "tools/ParticleInterface.h"
     
    335335    COUT(3) << "Orxonox: Loading HUD" << std::endl;
    336336
    337     Level* hud = new Level("hud/hud.oxh");
     337    Level* hud = new Level(Settings::getDataPath() + "overlay/hud.oxo");
    338338    Loader::load(hud);
    339339
     
    451451      frameTime += evt.timeSinceLastFrame;
    452452
    453       // show the current time in the HUD
    454       // HUD::getSingleton().setTime(now);
     453      // OverlayGroup::getHUD().setTime(now);
    455454      if (mode_ != DEDICATED && frameTime > 0.4f)
    456455      {
Note: See TracChangeset for help on using the changeset viewer.