Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 28, 2008, 10:13:58 PM (17 years ago)
Author:
landauf
Message:
  • added CommandExecutor
  • added ConsoleCommand macros
  • added getTypename to all MultiTypes
  • added 2 static maps to Identifier that contain all existing Identifiers with their names and lowercase names respectively.
  • added 2 maps to each Identifier that contain all console commands of the Identifier with their names and lowercase names respectively
  • using tolower(.) and toupper(.) instead of selfmade hacks in String.h
  • added AccessLevel enum
  • added some test-console-commands to OutputHandler, Ambient and SpaceShip
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core2/src/orxonox/objects/Ambient.cc

    r902 r947  
    4141#include "../Orxonox.h"
    4242#include "core/XMLPort.h"
     43#include "core/ConsoleCommand.h"
    4344
    4445#include "Ambient.h"
     
    4647namespace orxonox
    4748{
     49    ConsoleCommand(Ambient, setAmbientLightTest, AccessLevel::Offline, false);
     50
    4851    CreateFactory(Ambient);
     52
     53    Ambient* Ambient::instance_s;
    4954
    5055    Ambient::Ambient()
    5156    {
    5257        RegisterObject(Ambient);
     58        Ambient::instance_s = this;
    5359    }
    5460
Note: See TracChangeset for help on using the changeset viewer.