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/SpaceShip.cc

    r902 r947  
    4545#include "Projectile.h"
    4646#include "core/XMLPort.h"
     47#include "core/ConsoleCommand.h"
    4748
    4849#include "SpaceShip.h"
     
    5051namespace orxonox
    5152{
     53    ConsoleCommand(SpaceShip, setMaxSpeedTest, AccessLevel::Debug, false);
     54
    5255    CreateFactory(SpaceShip);
    5356
     57    SpaceShip* SpaceShip::instance_s;
     58
    5459    SpaceShip::SpaceShip()
    5560    {
    5661        RegisterObject(SpaceShip);
     62
     63        SpaceShip::instance_s = this;
    5764
    5865        this->setConfigValues();
Note: See TracChangeset for help on using the changeset viewer.