Orxonox  0.0.5 Codename: Arcturus
Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
orxonox Namespace Reference

Die Wagnis Klasse hat die folgenden Aufgaben: More...

Namespaces

 autocompletion
 
 Bidirectionality
 
 ButtonEvent
 
 ConfigFileType
 
 context
 
 DefaultLogLevel
 
 InputDeviceEnumerator
 
 JoyStickAxisCode
 
 JoyStickButtonCode
 
 KeybindMode
 
 KeyboardModifier
 
 KeyCode
 
 level
 
 LODParticle
 
 math
 Often used numerical constants because C++ doesn't define any.
 
 MouseAxisCode
 
 MouseButtonCode
 
 ObjectDirection
 
 packet
 
 Priority
 
 prototype
 A small collection of functions that can be used in DeclareConsoleCommand() if you don't want to use the real function-pointer.
 
 ScopeID
 
 SoundType
 Enum for the sound type.
 
 specialConfig
 
 StaticInitialization
 
 VariableDirection
 
 XMLPort
 

Classes

class  AbstractRadiusHeightCollisionShape
 Wrapper for the bullet collision shapes with radius and height. More...
 
class  Actionpoint
 Actionpoints are used by ActionpointController and all derived classes. More...
 
class  ActionpointController
 
class  AdditionalContextListener
 AdditionalContextListener is an interface which is used to notify OutputManager about additional contexts in OutputListeners. More...
 
class  AddQuest
 Adds a Quest, resp. More...
 
class  AddQuestHint
 Adds a QuestHint, resp. More...
 
class  AddReward
 Adds a list of Rewardables to a player. More...
 
class  AIController
 
class  AmbientSound
 The AmbientSound class is used to play background music. More...
 
class  AnimatedModel
 
class  AnnounceMessage
 
class  Answer
 class containing the pc side of the Dialog More...
 
class  AnswerId
 container class for answerids in xml More...
 
class  ApplicationPaths
 The ApplicationPaths class is a singleton which provides static paths of the application. More...
 
class  ArgumentCompleter
 This class executes an argument completion function and returns a list of the possible arguments. More...
 
class  ArgumentCompletionListElement
 This class is used in argument completion lists and contains up to three different strings, used in different situations. More...
 
class  Arrow
 
class  ArrowController
 
class  ArtificialController
 
class  AsteroidMinable
 
class  Asteroids
 
class  Asteroids2D
 
class  Asteroids2DCenterPoint
 
class  Asteroids2DHUDinfo
 
class  Asteroids2DShip
 
class  Asteroids2DStone
 
class  Asteroids2DWeapon
 
class  Attacher
 
class  AutonomousDrone
 Drone, that is made to move upon a specified pattern. More...
 
class  AutonomousDroneController
 Controller for the AutonomousDrone of the PPS tutorial. More...
 
class  Backlight
 
class  BarColour
 
class  BaseCommand
 
class  BaseInputBufferListenerTuple
 
class  BaseObject
 The BaseObject is the parent of all classes representing an instance in the game. More...
 
class  BaseSound
 The BaseSound class is the base class for all sound file loader classes. More...
 
class  BaseWriter
 BaseWriter is an output listener and makes the accepted output levels and contexts configurable. More...
 
class  BasicProjectile
 Baseclass of all projectiles. More...
 
class  Billboard
 
class  BillboardProjectile
 A BillboardProjectile is a projectile that is represented by a Billboard. More...
 
class  BillboardSet
 
class  BlinkingBillboard
 
class  BoostPickup
 
class  Bot
 
class  BoxCollisionShape
 Wrapper for the bullet box collision shape class btBoxShape. More...
 
class  BufferedParamCommand
 
class  BulletDebugDrawer
 Originally from http://www.ogre3d.org/tikiwiki/BulletDebugDrawer&structure=Cookbook This source code is released into the Public Domain. More...
 
class  Button
 
class  Camera
 
class  CameraManager
 
class  CameraPosition
 
class  CEGUILogger
 
class  ChangeQuestStatus
 A QuestEffect which changes the status of a specified Quest for the player invoking the QuestEffect. More...
 
class  ChatHistory
 
class  ChatInputHandler
 
class  ChatListener
 Classes inheriting from this interface get a notification whenever a chat message was sent through ChatManager. More...
 
class  ChatManager
 This class collects and distributes chat messages. More...
 
class  ChatOverlay
 
class  CheckPoint
 
struct  Circle
 
class  ClassFactory
 The ClassFactory is the base-class of all class-spezific factories. More...
 
class  ClassFactoryNoArgs
 The ClassFactoryNoArgs is able to create new objects of a specific class that require no constructor arguments. More...
 
class  ClassFactoryWithContext
 The ClassFactoryWithContext is able to create new objects of a specific class that require a context as constructor argument. More...
 
class  ClassIdentifier
 The ClassIdentifier is derived from Identifier and holds all class-specific functions and variables the Identifier cannot have. More...
 
class  ClassScopedSingletonWrapper
 Manages a scoped singleton. More...
 
class  ClassScopedSingletonWrapper< T, true >
 This class partially spezializes ClassScopedSingletonWrapper for classes T that are allowed to fail. More...
 
class  ClassTreeMask
 The ClassTreeMask is a set of rules, containing the information for each class whether it's included or not. More...
 
class  ClassTreeMaskIterator
 The ClassTreeMaskIterator moves through all ClassTreeMaskNodes of the internal tree of a ClassTreeMask which contains the rules. More...
 
class  ClassTreeMaskNode
 The ClassTreeMaskNode is a node in the internal tree of the ClassTreeMask, containing the rules of the mask. More...
 
class  ClassTreeMaskObjectIterator
 The ClassTreeMaskObjectIterator iterates through all objects of the classes that were included by a ClassTreeMask. More...
 
class  Client
 Client *client; The network/Client class This class implements all necessary function for the network communication It is the root class of the network module. More...
 
class  ClientConnection
 
class  ClientConnectionListener
 An abstract base class. More...
 
class  Clock
 Simple real time clock based on Ogre::Timer. More...
 
class  CollectiblePickup
 The CollectiblePickup class encompasses all Pickupables that can be added to a PickupCollection and thus be part of such. More...
 
class  CollisionShape
 Wrapper for bullet collision shape class btCollisionShape. More...
 
class  CommandEvaluation
 CommandEvaluation is used to gather information about a command and to evaluate its arguments. More...
 
class  CommandExecutor
 This class is used to execute and evaluate command-strings. More...
 
class  CommandLineArgument
 Container class for a command line argument of any type supported by MultiType. More...
 
class  CommandLineParser
 Global interface to command line options. More...
 
class  CommandNotification
 This class implements a method of displaying a Notification with information to an input command and the key the command is mapped to. More...
 
class  CommonController
 
class  CompleteQuest
 Completes a Quest (with a specified id) for the player invoking the QuestEffect. More...
 
class  CompoundCollisionShape
 Wrapper for the bullet compound collision shape class btCompoundShape. More...
 
class  ConeCollisionShape
 Wrapper for the bullet cone collision shape class btConeShape. More...
 
class  ConfigFile
 This class represents a config file, which is stored on the hard-disk and contains config values in different sections. More...
 
class  ConfigFileEntry
 This class represents an entry in the config file. More...
 
class  ConfigFileEntryComment
 This class represents a line in the config file which contains only a comment. More...
 
class  ConfigFileEntryValue
 This class represents a normal value in the config file. More...
 
class  ConfigFileEntryVectorValue
 Subclass of ConfigFileEntryValue, represents an element of a vector. More...
 
class  ConfigFileManager
 Manages the different config files (settings, calibration, etc). More...
 
class  ConfigFileSection
 Represents a section in a config file. More...
 
class  Configurable
 This is the base class of all objects which may contain config values. More...
 
class  ConfigurablePaths
 The ConfigurablePaths class is a singleton used to configure different paths. More...
 
class  ConfigValueCallback
 
class  ConfigValueCallbackBase
 
class  ConfigValueContainer
 The ConfigValuecontainer contains all needed information about a configurable variable. More...
 
class  Connection
 
class  ConsoleCommand
 The ConsoleCommand class stores all information about a console command which can be executed by CommandExecutor. More...
 
class  ConsoleCommandManager
 A singleton that stores all existing ConsoleCommands. More...
 
class  ConsoleWriter
 ConsoleWriter inherits from BaseWriter and writes output to the console. More...
 
class  Context
 
class  ControllableEntity
 The ControllableEntity is derived from the orxonox::MobileEntity. More...
 
class  Controller
 
class  ControllerDirector
 
struct  ConverterExplicit
 Default template if no orxonox::ConverterExplicit is available. More...
 
struct  ConverterExplicit< bool, std::string >
 Conversion from bool to std::string. More...
 
struct  ConverterExplicit< btQuaternion, orxonox::Quaternion >
 
struct  ConverterExplicit< btVector3, orxonox::Vector3 >
 
struct  ConverterExplicit< char, std::string >
 Conversion would exhibit ambiguous << or >> operators when using iostream. More...
 
struct  ConverterExplicit< const char *, ToType >
 Delegates conversion from const char* to std::string. More...
 
struct  ConverterExplicit< orxonox::ColourValue, std::string >
 Ogre::ColourValue to std::string conversion. More...
 
struct  ConverterExplicit< orxonox::Quaternion, btQuaternion >
 
struct  ConverterExplicit< orxonox::Quaternion, std::string >
 Ogre::Quaternion to std::string conversion. More...
 
struct  ConverterExplicit< orxonox::Vector2, std::string >
 Ogre::Vector2 to std::string conversion. More...
 
struct  ConverterExplicit< orxonox::Vector3, btVector3 >
 
struct  ConverterExplicit< orxonox::Vector3, std::string >
 Ogre::Vector3 to std::string conversion. More...
 
struct  ConverterExplicit< orxonox::Vector4, std::string >
 Ogre::Vector4 to std::string conversion. More...
 
struct  ConverterExplicit< std::string, bool >
 Conversion from std::string to bool. More...
 
struct  ConverterExplicit< std::string, char >
 Conversion would exhibit ambiguous << or >> operators when using iostream. More...
 
struct  ConverterExplicit< std::string, Ogre::DisplayString >
 
struct  ConverterExplicit< std::string, unsigned char >
 Conversion would exhibit ambiguous << or >> operators when using iostream. More...
 
struct  ConverterExplicit< unsigned char, std::string >
 Conversion would exhibit ambiguous << or >> operators when using iostream. More...
 
struct  ConverterFallback
 Default template. No conversion available at all. More...
 
struct  ConverterFallback< FromType *, ToType * >
 If all else fails, try a dynamic_cast for pointer types. More...
 
struct  ConverterFallback< FromType, orxonox::Degree >
 Delegates conversions to Degree to conversions to float. More...
 
struct  ConverterFallback< FromType, orxonox::Radian >
 Delegates conversions to Radian to conversions to float. More...
 
struct  ConverterFallback< orxonox::Degree, ToType >
 Delegates conversions from Degree to conversions from float. More...
 
struct  ConverterFallback< orxonox::Radian, ToType >
 Delegates conversions from Radian to conversions from float. More...
 
struct  ConverterFallback< std::string, orxonox::ColourValue >
 std::string to Ogre::ColourValue conversion More...
 
struct  ConverterFallback< std::string, orxonox::Quaternion >
 std::string to Ogre::Quaternion conversion More...
 
struct  ConverterFallback< std::string, orxonox::Vector2 >
 std::string to Ogre::Vector2 conversion More...
 
struct  ConverterFallback< std::string, orxonox::Vector3 >
 std::string to Ogre::Vector3 conversion More...
 
struct  ConverterFallback< std::string, orxonox::Vector4 >
 std::string to Ogre::Vector4 conversion More...
 
class  Core
 The Core class is a singleton used to configure the program basics. More...
 
class  CoreConfig
 
class  CoreStaticInitializationHandler
 
class  CountDown
 
class  CreateLines
 
class  CreateStars
 
class  CylinderCollisionShape
 Wrapper for the bullet Cylinder collision shape class btCylinderShape. More...
 
class  DamageBoostPickup
 
class  Deathmatch
 
class  DeathMessage
 
class  DebugDrawer
 DebugDrawer is a utility to draw debug shapes (lines, triangles, spheres) with Ogre. More...
 
class  DebugFPSText
 
class  DebugPositionText
 
class  DebugRTRText
 
class  DefaultWeaponmodeLink
 
class  Destroyable
 Classes must inherit from this class if they should be used with StrongPtr or WeakPtr. More...
 
class  Destroyer
 
class  DestroyLaterManager
 
class  DestructionHelper
 Utility class that helps to create a special kind of destructor that also executes if the destruction fails. More...
 
class  DestructionListener
 This listener is used to inform weak pointers if an object of type Destroyable gets destroyed. More...
 
class  DevModeListener
 Informs about changes in the Development Mode. More...
 
class  Dialog
 class containing core of one dialog with one npc More...
 
class  DialogManager
 this class is used for calling on a dialog form luascript More...
 
class  DistanceMultiTrigger
 The DistanceMultiTrigger is a MultiTrigger that triggers whenever an object (that is of the specified target type) is in a specified range of the DistanceMultiTrigger. More...
 
class  DistanceTrigger
 The DistanceTrigger is a Trigger that triggers whenever an object (that is of the specified target type) is in a specified range of the DistanceTrigger. More...
 
class  DistanceTriggerBeacon
 A DistanceTriggerBeacon can be used together with a DistanceTrigger or a DistanceMultiTrigger to make them only react to specific objects. More...
 
class  DivisionController
 
class  Dock
 
class  DockingAnimation
 Base class for docking animations used by Docks. More...
 
class  DockingController
 
class  DockingEffect
 Handles DockingEffects for Docks. More...
 
class  DockingTarget
 DockingTargets for Docks. More...
 
class  DockToShip
 Allows players to dock onto a ship. More...
 
class  DodgeRace
 
class  DodgeRaceCenterPoint
 
class  DodgeRaceCube
 
class  DodgeRaceHUDinfo
 
class  DodgeRaceShip
 
struct  dontcare_keyword_t
 INTERNAL ONLY The type of the 'dontcare' keyword. More...
 
class  Drone
 Drone, that is made to move upon a specified pattern. More...
 
class  DroneController
 Controller for the Drone of the PPS tutorial. More...
 
class  DronePickup
 The DronePickup adds a Drone to the Pawn upon being picked up. More...
 
class  Dynamicmatch
 Short Gaming Manual: There are three different parties a player can belong to: victim, chaser or killer Every player starts as chaser. More...
 
class  DynLib
 Resource holding data about a dynamic library. More...
 
class  DynLibManager
 Manager for Dynamic-loading Libraries. More...
 
class  EffectContainer
 
struct  EmptyType
 
class  EnergyDrink
 Shoots a can. More...
 
class  Engine
 The Engine class provides propulsion to the SpaceShip. More...
 
struct  event
 Structure to describe a single event. More...
 
struct  Event
 The Event struct contains information about a fired Event. More...
 
class  EventDispatcher
 
class  EventFilter
 
class  EventListener
 
class  EventMultiTrigger
 The EventMultiTrigger class is the equivalent of the EventTrigger class for MultiTriggers. More...
 
class  EventName
 
class  EventState
 The EventState contains information about an event state. More...
 
class  EventTarget
 
class  EventTrigger
 The EventTrigger class provides a way to have a Trigger triggered by any kinds of Events. More...
 
class  Exception
 Base class for all exceptions (derived from std::exception). More...
 
class  Executor
 This class is used to wrap a Functor and to store default values for any of its parameters. More...
 
class  ExecutorMember
 A child class of Executor, used for easier handling of non-static member-functions. More...
 
class  ExecutorStatic
 A child class of Executor, used to distinguish executors that wrap static functions from executors that wrap member-functions. More...
 
class  ExplosionChunk
 
class  ExplosionPart
 
class  ExprParser
 Parser for expressions like "3 * cos(5 + 4) / a" where a is a predeclared variable. More...
 
class  Factory
 Base-class of all factories. More...
 
class  FadeoutText
 
class  FadingBillboard
 
class  FailQuest
 Fails a Quest (with a specified id) for the player invoking the QuestEffect. More...
 
class  FightingController
 FightingController stores all the fighting methods and member variables of AI. More...
 
class  FlagHUD
 
class  FlameGun
 A WeaponMode that fires burning projectiles. More...
 
class  FlameGunProjectile
 
class  FlameMunition
 FlameMunition. More...
 
class  FlappyOrx
 
class  FlappyOrxHUDinfo
 
class  FlappyOrxShip
 
class  FlyingController
 
class  ForceField
 Implements a force field, that applies a force to any MobileEntity that enters its range. More...
 
class  FormationController
 
class  FpsPlayer
 
class  FunctionCall
 
class  FunctionCallManager
 
class  Functor
 The Functor classes are used to wrap function pointers. More...
 
class  FunctorMember
 FunctorMember is a child class of Functor and expands it with an object-pointer, that is used for member-functions, as well as an overloaded execution operator. More...
 
class  FunctorMember< void >
 Specialization of FunctorMember with T = void. More...
 
class  FunctorPointer
 FunctorPointer is a child class of FunctorMember and extends it with a function-pointer (or a function-object). More...
 
class  FunctorTemplate
 FunctorTemplate is a child class of FunctorPointer and implements all functions that need to know the exact types of the parameters, return-value, and class. More...
 
class  FusionFire
 FusionFire. More...
 
class  FusionMunition
 FusionMunition. More...
 
class  Game
 Main class responsible for running the game. More...
 
class  GameConfig
 
class  GameMode
 Helper class, stores and returns the current mode of the game. More...
 
class  GameState
 An implementation of a tree to manage game states. More...
 
class  GamestateHandler
 An interface for any class that wants to handle gamestates. More...
 
struct  GameStateInfo
 Helper object required before GameStates are being constructed. More...
 
class  GamestateManager
 This Class implements a manager for gamestates: More...
 
struct  GameStateTreeNode
 Represents one node of the game state tree. More...
 
class  Gametype
 
class  GametypeFadingMessage
 
class  GametypeInfo
 The GametypeInfo class keeps track of the state of the game and provides facilities to inform the player about it. More...
 
struct  GametypeMementoState
 Keeps position and orientation of the camera, as well as the name of current scene. More...
 
class  GametypeMessageListener
 
class  GametypeStaticMessage
 
class  GlobalQuest
 GlobalQuests are Quests, that have the same status for all players. More...
 
class  GlobalShader
 
class  GlowMaterialListener
 
class  GraphicsManager
 Graphics engine manager class. More...
 
class  GravityBomb
 This class implements how long the bomb flies before it places the GravityField at it's last possition. More...
 
class  GravityBombField
 This class is used by GravityBomb to place the ForceField and Visual effect to the environment. More...
 
class  GravityBombFire
 Fires the GravityBomb. More...
 
class  GravityBombMunition
 This class is used to set the behaviour of various munition specific attributes of the GravityBomb like max count of munition per magazine. More...
 
class  GSClient
 
class  GSGraphics
 Game state used when displaying graphics of any kind. More...
 
class  GSLevel
 
class  GSLevelMemento
 This class is an interface for all instances that want to maintain a state beyond the reloading of a level. More...
 
struct  GSLevelMementoState
 Represents the state of a memento. More...
 
class  GSMainMenu
 
class  GSMasterServer
 
class  GSRoot
 
class  GSServer
 
class  GSStandalone
 
class  GUIManager
 
Provides a simple interface to CEGUI with tolua methods and console commands.
More...
 
class  GUIOverlay
 
class  GUISheet
 Simple XML loadable interface to the otherwise Lua coded GUI framework. More...
 
class  HalfAxis
 
class  HealthPickup
 The HealthPickup is a Pickupable that can do (dependent upon the parameters) lots of different things to the health of a Pawn. More...
 
class  Highscore
 
class  Host
 Base class of Server and Client This is the Base class of the Server and Client classes. More...
 
class  Hover
 
class  HoverFlag
 
class  HoverOrigin
 The HoverOrigin implements the playing field Hover takes place in and allows for many parameters of the minigame to be set. More...
 
class  HoverShip
 
class  HoverWall
 
class  HsW01
 Shoots laser beams. More...
 
class  HUDBar
 
class  HUDBoostBar
 
class  HUDEnemyHealthBar
 
class  HUDEnemyShieldBar
 This class displays the shield status of the target enemy of it's owner. More...
 
class  HUDHealthBar
 
class  HUDNavigation
 
class  HUDPickupSystem
 
class  HUDRadar
 
class  HUDRocketFuelBar
 
class  HUDShieldBar
 The HUDShieldBar displays the the status of the shield of its owner (a Pawn). More...
 
class  HUDSpeedBar
 
class  HUDTimer
 
class  HUDWeapon
 
class  HUDWeaponMode
 
class  HUDWeaponSystem
 
class  HumanController
 
class  HumanPlayer
 
class  IceGun
 A Gun that fires ice arrows that slow down any SpaceShip object that gets hit. More...
 
class  IceGunFreezer
 This is the WorldEntity that gets attached to a victim hit by a IceGunProjectile. More...
 
class  IceGunProjectile
 The IceGunProjectile is a projectile that attaches a IceGunFreezer to the hit object. More...
 
class  IceMunition
 IceMunition. More...
 
class  IcoSphere
 Copy-pasted from. More...
 
class  Identifiable
 Identifiable is needed to create the class-hierarchy at startup and to store the Identifier. More...
 
class  Identifier
 The Identifier is used to identify the class of an object and to store information about the class. More...
 
class  IdentifierManager
 
struct  incomingEvent
 
class  Info
 
class  InGameConsole
 
class  InputBuffer
 
class  InputBufferListenerTuple
 
class  InputDevice
 Abstract base class for all input devices (mouse, keyboard and joy sticks). More...
 
class  InputDeviceTemplated
 Heavily templated base class for all three input devices. More...
 
class  InputHandler
 Base class for all input handlers like KeyBinder, InputBuffer, etc. More...
 
class  InputManager
 Manages the input devices (mouse, keyboard, joy sticks) and the input states. More...
 
class  InputState
 InputStates allow you to customise the input event targets at runtime. More...
 
struct  InputStatePriority
 Enumeration wrapper for input state priorities. More...
 
class  IntVector2
 A Vector class containing two integers x and y. More...
 
class  Invader
 
class  InvaderCenterPoint
 
class  InvaderEnemy
 
class  InvaderEnemyShooter
 
class  InvaderHUDinfo
 
class  InvaderShip
 
class  InvaderWeapon
 
class  InvaderWeaponEnemy
 
class  InvisiblePickup
 A pickup that makes the Pawn invisible. More...
 
class  IOConsole
 
class  IRC
 The IRC class creates a Tcl-thread (see TclThreadManager) and connects to an IRC server. More...
 
class  Item
 
class  Iterator
 The Iterator allows to iterate through a given ObjectList. More...
 
class  IteratorBase
 The Iterator allows to iterate through object lists. More...
 
class  JoyStick
 Wraps around an OIS::JoyStick and forwards the input events to a list of input states. More...
 
class  JoyStickQuantityListener
 Derive from this class to get informed when joy sticks get added/removed. More...
 
struct  JoyStickTraits
 Template parameter collection for the base class More...
 
class  Jump
 
class  JumpBoots
 
class  JumpCenterpoint
 The JumpCenterpoint is a StaticEntity which represents the level of the minigame. More...
 
class  JumpEnemy
 
class  JumpFigure
 
class  JumpItem
 
class  JumpPlatform
 
class  JumpPlatformDisappear
 
class  JumpPlatformFake
 
class  JumpPlatformHMove
 
class  JumpPlatformStatic
 
class  JumpPlatformTimer
 
class  JumpPlatformVMove
 
class  JumpProjectile
 
class  JumpPropeller
 
class  JumpRocket
 
class  JumpScore
 
class  JumpShield
 
class  JumpSpring
 
class  KeyBinder
 Maps mouse, keyboard and joy stick input to command strings and executes them. More...
 
class  KeyBinderManager
 Handles the KeyBinders and supplies them throughout the game. More...
 
class  Keyboard
 Wraps around an OIS::Mouse and forwards the input events to a list of input states. More...
 
struct  KeyboardTraits
 Template parameter collection for the base class More...
 
class  KeyDetector
 
class  KeyEvent
 Event argument for key events. More...
 
class  KillMessage
 
class  LANDiscoverable
 
class  LANDiscovery
 
class  Language
 The Language class manges the language files and entries and stores the LanguageEntry objects in a map. More...
 
class  LanguageEntry
 The LanguageEntry class stores the default- and the translated string of a given entry in the language file. More...
 
class  LaserFire
 Shoots a particle laser. More...
 
class  LaserMunition
 LaserMunition. More...
 
class  LastManStanding
 
class  LastManStandingInfos
 
class  LastTeamStanding
 
class  LastTeamStandingInfos
 
class  LensFlare
 This class adds a configurable LensFlare effect by adding multiple billboards for the several components of lens flare. More...
 
class  Level
 
class  LevelInfo
 The LevelInfo class can be used to store information regarding a Level in its level file. More...
 
struct  LevelInfoCompare
 Struct that overloads the compare operation between two LevelInfoItem pointers. More...
 
class  LevelInfoItem
 The LevelInfoItem class stores information regarding a Level and makes that information accessible through the LevelManager. More...
 
class  LevelManager
 The LevelManager keeps track of Levels whose activity has been requested and activates the Levels in the list in a FIFO manner with exactly one Level (the first in the list) being active at all times (unless the list is empty). More...
 
class  Light
 
class  LightningGun
 A slow ball of lightning. More...
 
class  LightningGunProjectile
 The LightningGunProjectile is a projectile that is represented by a looped series of billboards. More...
 
class  LightningMunition
 LightningMunition. More...
 
class  Listable
 Listable stores the entries of all object lists pointing to this instance. More...
 
class  Loader
 
class  LocalQuest
 Handles Quests which have different states for different players. More...
 
class  LogWriter
 The LogWriter class inherits from BaseWriter and writes output to a log-file. More...
 
class  LuaFunctor
 callback class that executes lua code More...
 
class  LuaScriptModuleWorkaround
 Class with the same memory layout as CEGUI::LuaScriptModule. More...
 
class  LuaState
 Representation of an interface to lua. More...
 
class  MasterController
 calles action(), maneuver() and canFire() methods of all the ActionpointControllers in level. More...
 
class  MasterServer
 
class  MasterServerComm
 
class  MazeGenerator
 
struct  mbool
 mbool is a small helper class that acts like a bool, but keeps track of the number of its state changes. More...
 
class  MemoryWriter
 MemoryWriter is a singleton which is derived from OutputListener and writes all output to a list. More...
 
class  Mesh
 
class  MeshLodInformation
 
class  MetaPickup
 The MetaPickup is a Pickupable that can, depending on the parameter metaTye, do different things. More...
 
class  MineGun
 A Weapon that drops mines to space. More...
 
class  MineMunition
 MineMunition. More...
 
class  MineProjectile
 TODO. More...
 
class  Mini4Dgame
 
class  Mini4DgameAI
 The Mini4DgameAI is an artificial intelligence for the Mini4Dgame gametype. More...
 
class  Mini4DgameBoard
 This class manages the board for Mini4Dgame. More...
 
struct  Mini4DgamePosition
 
struct  Mini4DgameWinner
 
class  Mission
 
class  MobileEntity
 The MobileEntity is a derived class from orxonox::WorldEntity and orxonox::Tickable. More...
 
class  Model
 
class  ModularSpaceShip
 The SpaceShip is the principal entity through which the player interacts with the game. More...
 
class  ModuleInstance
 
class  MoodListener
 
class  MoodManager
 
class  Mouse
 Wraps around an OIS::Mouse and forwards the input events to a list of input states. More...
 
struct  MouseTraits
 Template parameter collection for the base class More...
 
class  MovableEntity
 
class  MoveToDockingTarget
 Base class for docking animations used by Docks. More...
 
class  MT_Value
 The MT_Value<T> class is used to hold a value of type T within a MultiType. More...
 
class  MultiStateEngine
 
class  MultiTrigger
 The MultiTrigger class implements a trigger that has a distinct state for each object triggering it. More...
 
class  MultiTriggerContainer
 This class is used by the MultiTrigger class to transport additional data via Events. More...
 
struct  MultiTriggerState
 Struct to handle MultiTrigger states internally. More...
 
class  MultiType
 The MultiType can hold a value of many possible types and convert them to other types. More...
 
class  Munition
 
class  MunitionContainer
 
class  MunitionPickup
 The MunitionPickup gives munition to the user (a Pawn). More...
 
class  MuzzleFlash
 A muzzle flash that destroys itself after some time. More...
 
class  NameableStaticEntity
 
class  Namespace
 
class  NamespaceNode
 
class  NetworkCallback
 
class  NetworkCallbackBase
 
class  NetworkCallbackManager
 
class  NetworkCallbackNotify
 
class  NetworkChatListener
 The only function of this interface, incomingChat(), gets called whenever a chat message was received through the network. More...
 
class  NetworkFunctionBase
 
class  NetworkFunctionManager
 
struct  NetworkFunctionPointer
 
class  NetworkFunctionStatic
 
class  NetworkMemberFunction
 
class  NetworkMemberFunctionBase
 
class  NetworkStaticInitializationHandler
 
class  NewHumanController
 
struct  NilValue
 Provides zero value symbols that can be returned as reference. More...
 
class  Notification
 A Notification represents a short message used to inform the player about something that just happened. More...
 
struct  NotificationContainer
 Container to allow easy handling of the Notifications. More...
 
struct  NotificationContainerCompare
 Struct to allow ordering of NotificationContainers. More...
 
class  NotificationDispatcher
 A NotificationDispatcher is an entity that, upon being triggered, dispatches (or sends) a specified Notification. More...
 
class  NotificationListener
 NotificationListener interface. More...
 
class  NotificationManager
 The Singleton NotificationManager is a NotificationListener and functions as a gateway between Notifications and NotificationQueues. More...
 
class  NotificationQueue
 Displays Notifications from specific senders. More...
 
class  NotificationQueueCEGUI
 Displays Notifications using CEGUI. More...
 
class  obj
 a list of objects of this type will be given by the Server's Gamestate Manager More...
 
class  ObjectList
 The ObjectList contains all objects of the given class. More...
 
class  ObjectListBase
 The ObjectListBase contains all objects of a given class. More...
 
class  ObjectListBaseElement
 The list-element of the ObjectListBase. More...
 
class  ObjectListElement
 The list-element that actually contains the object. More...
 
class  ObjectListElementRemovalListener
 Gets called by the object list if an element is removed. More...
 
class  ObjectListIterator
 ObjectListIterator<T> allows to iterate through the ObjectList of class T. More...
 
class  objInfo
 a list of objects of this type will be given by the Server's Gamestate Manager More...
 
class  OgreWindowEventListener
 
struct  OrxEnum
 Lightweight enumeration class that can be extended at run time. More...
 
class  OrxoKart
 
class  OrxoKartFlag
 
class  OrxoKartKart
 
class  OrxoKartOrigin
 The OrxoKartOrigin implements the playing field OrxoKart takes place in and allows for many parameters of the minigame to be set. More...
 
class  OrxoKartTile
 
class  OrxonoxClass
 This is the class from which all objects of the game-logic (not the engine) are derived from. More...
 
class  OrxonoxInterface
 This is the class from which all interfaces of the game-logic (not the engine) are derived from. More...
 
class  OrxonoxOverlay
 Base class to display content directly onto the screen. More...
 
class  OrxyRoad
 
class  OrxyRoadCenterPoint
 
class  OrxyRoadCube
 
class  OrxyRoadHUDinfo
 
class  OrxyRoadShip
 
struct  outgoingEvent
 
struct  OutputContextContainer
 Stores all information about a context. More...
 
class  OutputListener
 OutputListener is an interface which is used to receive output of a certain level and context from OutputManager. More...
 
class  OutputManager
 OutputManager acts as the center of the output system and is implemented as a singleton. More...
 
class  OutputStream
 This class is used to buffer output and send it to OutputManager whenever std::endl is passed to it. More...
 
class  OverlayGroup
 OverlayGroup does almost exactly what it says: It groups OrxonoxOverlays together. More...
 
class  OverlayText
 
class  Pacman
 
class  PacmanGelb
 
class  PacmanGhost
 
class  PacmanHUDinfo
 
class  PacmanPointAfraid
 
class  PacmanPointSphere
 
class  ParamCommand
 
class  PartDestructionEvent
 
In order to assign attached entities to a ShipPart, a ShipPart with the same name as the corresponding entity needs to be created in the <parts> tag.
More...
 
class  ParticleEmitter
 
class  ParticleInterface
 
class  ParticleProjectile
 A projectile that is represented by particles. More...
 
class  ParticleSpawner
 
class  PauseNotice
 
class  Pawn
 Everything in Orxonox that has a health attribute is a Pawn. More...
 
class  PeerList
 This class keeps a list of open connections and some info about them. More...
 
class  Pickup
 The Pickup class offers (useful) base functionality for a wide range of pickups. More...
 
class  Pickupable
 An Interface (or more precisely an abstract class) to model and represent different (all kinds of) pickups. More...
 
class  PickupCarrier
 The PickupCarrier interface provides the means, for any class implementing it, to possess Pickupables. More...
 
class  PickupCollection
 The PickupCollection combines different Pickupables (more precisely CollectiblePickups) to a coherent, single pickup and makes them seem (from the outside looking in) just as if they were just one Pickupable. More...
 
struct  PickupInventoryContainer
 Data structure to store collected data for one specific Pickupable. More...
 
class  PickupListener
 The PickupListener class facilitates the flow of information regarding the picking up, dropping, using and unusing of Pickupables to interested parties (such as the PickupManager). More...
 
class  PickupManager
 The PickupManager class manages Pickupables. More...
 
class  PickupRepresentation
 The PickupRepresentation class represents a specific pickup type. More...
 
class  PickupSpawner
 
The PickupSpawner class is responsible for spawning @ref orxonox::Pickupable "Pickupables" of a specific type.
More...
 
class  PlaneCollisionShape
 Wrapper for the bullet plane collision shape class btStaticPlaneShape. More...
 
class  Planet
 
struct  Player
 
class  PlayerInfo
 
class  PlayerManager
 
class  PlayerTrigger
 PlayerTrigger is an interface if implemented by a specific trigger can be used to recover the Player (or the Pawn) that triggered it. More...
 
class  Plugin
 
class  PluginManager
 
class  PluginReference
 
struct  Point
 
class  Pong
 Implements a Pong minigame (Wikipedia::Pong). More...
 
class  PongAI
 The PongAI is an artificial intelligence for the Pong gametype. More...
 
class  PongBall
 This class manages the ball for Pong. More...
 
class  PongBat
 The PongBat class manages the bats for Pong, which are the elements controlled by the players. More...
 
class  PongBot
 A bot especially for Pong. More...
 
class  PongCenterpoint
 The PongCenterpoint implements the playing field Pong takes place in and allows for many parameters of the minigame to be set. More...
 
class  PongScore
 The PongScore class displays the score for a game of Pong. More...
 
class  PortalEndPoint
 A PortalEndPoint serves as portal entrance and/or exit. More...
 
class  PortalLink
 
A PortalLink represents the connection between two @ref orxonox::PortalEndPoint "PortalEndPoints"
More...
 
class  Projectile
 Represents all 'standard' projectiles. More...
 
class  Quest
 Represents a Quest in the game. More...
 
class  QuestDescription
 This class is a description of a QuestItem (Quest and QuestHint). More...
 
class  QuestEffect
 Handles QuestEffects for Quests. More...
 
class  QuestEffectBeacon
 A QuestEffectBeacon is a physical entity in the game which can (under some condition(s)) invoke a number of QuestEffects on players meeting the condition(s). More...
 
class  QuestHint
 Represents a hint in the game that gives aid towards completing a Quest. More...
 
class  Question
 class containing the npc side of the Dialog More...
 
class  QuestItem
 Functions as a base class for quest classes such as Quest or QuestHint. More...
 
class  QuestListener
 Provides a way to react to the starting, completing and failing of Quests. More...
 
class  QuestManager
 Is a Singleton and manages Quests, by registering every Quest / QuestHint (through registerX()) and making them globally accessible (through findX()). More...
 
class  RaceCheckPoint
 The RaceCheckPoint class enables the creation of a check point to use in a SpaceRace level. More...
 
class  Radar
 
class  RadarListener
 
class  RadarViewable
 Interface for receiving window events. More...
 
class  RealTimer
 RealTimer is a helper class that executes a function after a given amount of seconds in real-time. More...
 
class  RenderQueueListener
 This class derives from the Ogre-Class RenderQueueListener and provides a way to define new rendering stages to enable use of e.g. More...
 
class  ReplenishingMunition
 Munition that is replenished by a certain amount each time interval. More...
 
class  Resource
 Provides simple functions to easily access the Ogre::ResourceGroupManager. More...
 
class  ResourceCollection
 
struct  ResourceInfo
 Stores basic information about a Resource from Ogre. More...
 
class  ResourceLocation
 
class  Rewardable
 Rewardable is an Interface, that can be implemented by any object to enable it to be given as reward to a player through QuestEffects. More...
 
class  Rocket
 Rocket that can be steered by the player. More...
 
class  RocketController
 Controller for the SimpleRocket (target seeking) More...
 
class  RocketFire
 Fires the (steerable) Rocket. More...
 
class  RocketFireOld
 Fires the (steerable) RocketOld. More...
 
class  RocketMunition
 Munition for the Rocket. More...
 
class  RocketOld
 RocketOld that can be steered by the player. More...
 
class  Scene
 
class  Scope
 A scope for a given template argument is either active or not. More...
 
class  ScopedSingletonWrapper
 Base class of ClassScopedSingletonWrapper. More...
 
class  ScopeListener
 ScopeListeners register themselves in the corresponding Scope and wait for notifications. More...
 
class  ScopeManager
 The ScopeManager stores the variables of the Scope templates in a statically linked context. More...
 
class  Scoreboard
 
class  ScreenshotManager
 Class encapsulates screenshot functionality and provides a method for making multi grid (i.e. More...
 
class  Script
 The Script class lets you execute a piece of code, either the normal way or in lua, through XML. More...
 
class  ScriptableController
 Runs a scripts on a per-level basis and handles the connection to orxonox. More...
 
class  ScriptableControllerAPI
 API for ScriptableController's lua-scripts. More...
 
class  ScriptableControllerDrone
 Drone, that is made to move upon a specified pattern. More...
 
class  ScriptController
 
class  SectionController
 
class  Server
 This class is the root class of the network module for a server. More...
 
class  ServerConnection
 
class  ServerList
 This class is keeps a list of game servers and some info about them. More...
 
struct  ServerListElem
 
struct  ServerListSearchResult
 
class  SettingsConfigFile
 Child class of ConfigFile, used to store the settings of the game. More...
 
class  Shader
 Shader is a wrapper class around Ogre::CompositorInstance. More...
 
class  Shell
 The Shell is the logical component of the console that displays output to the user and allows him to enter commands. More...
 
class  ShellListener
 An interface, used to get a notification if the state of the Shell changes. More...
 
class  ShieldPickup
 A Pickup which can add a Shield to the Pawn. More...
 
class  ShipPart
 
class  ShootableObstacle
 This class encapsulates a pawn (so an object with health) with the addition, that it damages other objects when it hits them. More...
 
class  ShrinkPickup
 The ShrinkPickup is a Pickupable that causes the pawn to shrink to a certain size for a certain time with a certain speed, all of them specified in the following variables: More...
 
class  ShroomHUD
 
struct  SignalCallbackRec
 
class  SignalHandler
 The SignalHandler is used to catch signals like SIGSEGV and write a backtrace to the logfile. More...
 
struct  SignalRec
 
class  SimpleCommand
 
class  SimpleNotification
 The SimpleNotification class enables the sending of (in XML) predefined Notifications upon some kind of triggering event. More...
 
class  SimpleRocket
 SimpleRocket is a target seeking, intelligent rocket. More...
 
class  SimpleRocketFire
 FireMode for target-seeking Rocket. More...
 
class  Singleton
 Base for singleton classes. More...
 
class  SkyboxGenerator
 The SkyboxGenerator class is a singleton that allows for the creation of a skybox from a level by taking pictures to all 6 sides. More...
 
class  SmallObjectAllocator
 This class is used to allocate and free small objects (usually not polymorphic). More...
 
class  SOB
 
class  SOBCastlestone
 
class  SOBCenterpoint
 The SOBCenterpoint is a StaticEntity which represents the level of the minigame. More...
 
class  SOBCoin
 
class  SOBFigure
 
class  SOBFireball
 
class  SOBFlagstone
 
class  SOBGumba
 
class  SOBGumbaBoss
 
class  SOBHUDInfo
 
class  SOBItem
 
class  SOBMushroom
 
class  SOBQBlock
 
class  SOBTube
 
class  SoundBuffer
 
class  SoundManager
 The SoundManager class manages the OpenAL device, context and listener position. More...
 
class  SoundStreamer
 
class  SpaceBoundaries
 SpaceBoundaries gives level creators the possibility to bar Pawns from leaving a defined area (until now this area is a ball). More...
 
class  SpaceRace
 The SpaceRace class enables the creation of a space race level, where the player has to reach check points in a given order. More...
 
class  SpaceRaceBot
 
class  SpaceRaceController
 Conventions: -first Checkpoint has index 0 -staticCheckPoint= static Point (see def over = constructor) More...
 
class  SpaceRaceManager
 The SpaceRaceManager class controls a space race level, where the player has to reach check points in a given order. More...
 
class  SpaceShip
 The SpaceShip is the principal entity through which the player interacts with the game. More...
 
class  SpawnPoint
 
class  Spectator
 
class  SpeedPickup
 A Pickup which can manipulate the Speed of a Pawn. More...
 
class  SphereCollisionShape
 Wrapper for the bullet sphere collision shape class btSphereShape. More...
 
class  SpicedAsteroidBelt
 
class  SpicedAsteroidField
 
class  SplitGun
 A WeaponMode that fires projectiles that may split up into many other projectiles, that may again split up ... More...
 
class  SplitGunProjectile
 The SplitGunProjectile is a projectile that may split up into many child projectiles. More...
 
class  SplitMunition
 SplitMunition. More...
 
class  StaticallyInitializedCommandLineArgument
 
class  StaticallyInitializedConsoleCommand
 
class  StaticallyInitializedIdentifier
 The static initializer stores the parent classes of this identifier. More...
 
class  StaticallyInitializedInstance
 
class  StaticallyInitializedNetworkFunction
 
class  StaticallyInitializedScopedSingletonWrapper
 
class  StaticallyInitializedStaticInitializationHandler
 
class  StaticEntity
 The StaticEntity is the simplest derivative of the orxonox::WorldEntity class. More...
 
class  StaticInitializationHandler
 
class  StaticInitializationManager
 
class  Stats
 
class  StoryMode
 
class  StoryModeHUD
 
class  StoryModePawn
 
class  StrongPtr
 A strong pointer which wraps a pointer to an object and keeps this object alive as long as the strong pointer exists. More...
 
class  SubclassIdentifier
 The SubclassIdentifier acts almost like an Identifier, but has some prerequisites. More...
 
class  SubcontextOutputListener
 This class extends the basic OutputListener interface and adds the ability to filter sub-contexts. More...
 
class  SubString
 A class that splits a string into multiple tokens using different options. More...
 
struct  SuperFunctionCondition
 Creates the SuperFunctionCaller if T is a child of the super-functions baseclass. More...
 
struct  SuperFunctionDestruction
 Deletes the SuperFunctionCaller. More...
 
struct  SuperFunctionInitialization
 Initializes the SuperFunctionCaller-pointer with zero. More...
 
class  Synchronisable
 This class is the base class of all the Objects in the universe that need to be synchronised over the network Every class, that inherits from this class has to link the DATA THAT NEEDS TO BE SYNCHRONISED into the linked list. More...
 
class  SynchronisableHeader
 : stores information about a Synchronisable More...
 
class  SynchronisableHeaderLight
 : stores information about a Synchronisable (light version) More...
 
class  SynchronisableVariable
 
class  SynchronisableVariableBase
 
class  SynchronisableVariableBidirectional
 
class  TclBind
 A wrapper class for a Tcl interpreter. More...
 
struct  TclInterpreterBundle
 A struct containing all information about a Tcl-interpreter. More...
 
class  TclThreadList
 A thread-safe implementation of a message queue, used by TclThreadManager. More...
 
class  TclThreadManager
 
class  TDCoordinate
 
class  TeamBaseMatch
 
class  TeamBaseMatchBase
 
class  TeamBaseMatchScore
 
class  TeamColourable
 
class  TeamDeathmatch
 
class  TeamGametype
 
class  TeamSpawnPoint
 
class  TeamTargetProxy
 A controller, that just copies the team and the target of a parent for itself and it's controllable entity. More...
 
class  Template
 
class  Test
 
class  Tetris
 
class  TetrisBrick
 ContainerClass in order to create TetrisBricks by combining TetrisStones. More...
 
class  TetrisCenterpoint
 
class  TetrisScore
 The TetrisScore class displays the score for a game of Tetris. More...
 
class  TetrisStone
 
class  TextureGenerator
 
class  Thread
 
class  ThreadPool
 
class  Tickable
 The Tickable interface provides a tick(dt) function, that gets called every frame. More...
 
class  TimeFactorListener
 
class  TimeHUD
 
class  Timer
 Timer is a helper class that executes a function after a given amount of seconds in game-time. More...
 
class  ToluaBindingsHelper
 Helper class that registers/unregisters tolua bindings. More...
 
class  TowerDefense
 GameType class for TowerDefense. More...
 
class  TowerDefenseCenterpoint
 See TowerDefenseReadme.txt for Information. More...
 
class  TowerDefenseEnemy
 See TowerDefenseReadme.txt for Information. More...
 
class  TowerDefenseField
 See TowerDefenseReadme.txt for Information. More...
 
class  TowerDefenseHUDController
 This subclass of OverlayText is used to display the stats of the player in the HUD. More...
 
class  TowerDefenseSelecter
 
class  TowerDefenseTower
 See TowerDefenseTowerDefenseReadme.txt for Information. More...
 
class  TrafficControl
 
class  tribool
 A 3-state boolean type. More...
 
class  Trigger
 A Trigger is an object that can either be active or inactive, with a specified behavior how to switch between the two. More...
 
class  TriggerBase
 The TriggerBase class is a base class for the two types of triggers, the (normal) Triggers and the MultiTriggers, it encompasses the shared data and functionality between these two types of triggers, but is in itself not a trigger that has any meaningful behavior and thus should not be instantiated. More...
 
class  Turret
 Creates a turret with limited rotation. More...
 
class  TurretController
 Controller for turrets. More...
 
class  UnderAttack
 
class  UpdateListener
 Inherit from UpdateListener if you need to receive calls before or after the game is ticked. More...
 
class  ViewportEventListener
 
class  Wagnis
 
class  WagnisGameboard
 
class  WagnisGun
 Shoots laser beams. More...
 
class  WagnisHUD
 
class  WagnisHUDinfo
 
class  WagnisPlayer
 
class  WagnisProjectile
 
class  WagnisProvince
 
class  WANDiscoverable
 
class  WANDiscovery
 
class  WaypointController
 
class  WaypointPatrolController
 
class  WeakPtr
 WeakPtr wraps a pointer to an object, which becomes nullptr if the object is deleted. More...
 
class  Weapon
 A Weapon is a StaticEntity that can be attached to a WeaponSlot. More...
 
class  WeaponMode
 A WeaponMode defines how a Weapon is used. More...
 
class  WeaponPack
 
class  WeaponSet
 
class  WeaponSlot
 The a WeaponSlot defines where a Weapon is placed on a pawn. More...
 
class  WeaponSystem
 An orxonox::Pawn that is able to fire weapons always need to have a WeaponSystem. More...
 
class  WindowEventListener
 Interface for receiving window events like resize, moved and focusChanged. More...
 
class  WingmanController
 
class  WorldAmbientSound
 This class is used to play and control ambient sound in a level file. More...
 
class  WorldEntity
 The WorldEntity represents everything that can be put in a Scene at a certain location. More...
 
class  WorldEntityCollisionShape
 
class  WorldSound
 The WorldSound class is to be used for sounds with position and orientation. More...
 
class  XMLFile
 
class  XMLNameListener
 
class  XMLPortClassObjectContainer
 
class  XMLPortClassParamContainer
 
class  XMLPortObjectContainer
 
class  XMLPortParamContainer
 
class  XMLPortVariableHelperClass
 Helper class to load and save simple variables with XMLPort. More...
 

Typedefs

typedef std::list< ArgumentCompletionListElementArgumentCompletionList
 
typedef CEGUI::colour CEGUIColour
 
template<class T >
using ExecutorMemberPtr = std::shared_ptr< ExecutorMember< T >>
 
using ExecutorPtr = std::shared_ptr< Executor >
 
using ExecutorStaticPtr = std::shared_ptr< ExecutorStatic >
 
template<class T >
using FunctorMemberPtr = std::shared_ptr< FunctorMember< T >>
 
template<class F , class T >
using FunctorPointerPtr = std::shared_ptr< FunctorPointer< F, T >>
 
using FunctorPtr = std::shared_ptr< Functor >
 
typedef FunctorMember< voidFunctorStatic
 FunctorStatic is just a typedef of FunctorMember with T = void. More...
 
using FunctorStaticPtr = std::shared_ptr< FunctorMember< void >>
 
typedef std::string LanguageEntryLabel
 
typedef const OutputContextContainer &( OutputContextFunction) ()
 
typedef uint64_t OutputContextMask
 Used to store the context masks. Each bit defines a context. More...
 
typedef uint16_t OutputContextSubID
 Used to store the IDs of sub-contexts. Each number except context::no_subcontext defines a sub-context. More...
 
typedef StaticallyInitializedConsoleCommand SI_CC
 
typedef StaticallyInitializedCommandLineArgument SI_CLA
 
typedef StaticallyInitializedIdentifier SI_I
 
typedef StaticallyInitializedNetworkFunction SI_NF
 
typedef StaticallyInitializedStaticInitializationHandler SI_SIH
 
typedef StaticallyInitializedScopedSingletonWrapper SI_SSW
 
typedef int(* SignalCallback) (void *someData)
 
typedef std::list< SignalCallbackRecSignalCallbackList
 
typedef std::list< SignalRecSignalRecList
 
typedef uint8_t VariableID
 
typedef std::pair< Ogre::Vector3, Ogre::ColourValue > VertexPair
 

Enumerations

enum  AccessLevel {
  AccessLevel::All, AccessLevel::Standalone, AccessLevel::Master, AccessLevel::Server,
  AccessLevel::Client, AccessLevel::Online, AccessLevel::Offline, AccessLevel::None
}
 Possible access levels: A command can only be executed if the program is in the state which is requested by the access level. More...
 
enum  Action {
  Action::NONE, Action::FLY, Action::FIGHT, Action::PROTECT,
  Action::FIGHTALL, Action::ATTACK
}
 ActionpointController is a state machine with states: 1) NONE 2) FLY: fly towards a point 3) FIGHT: fight enemies that are in attackRange_ (see FightingController) 4) PROTECT: follow this->protect_ 5) FIGHTALL: fight all enemies on the map 6) ATTACK: fight a specific spaceship This controller always executes an action that is in the back of the vector being used. More...
 
enum  BaseState { BaseState::Uncontrolled, BaseState::ControlTeam1, BaseState::ControlTeam2 }
 
enum  DistanceMultiTriggerBeaconMode { DistanceMultiTriggerBeaconMode::off, DistanceMultiTriggerBeaconMode::identify, DistanceMultiTriggerBeaconMode::exclude }
 Enum for the beacon mode of the DistanceMultiTrigger. More...
 
enum  DistanceTriggerBeaconMode { DistanceTriggerBeaconMode::off, DistanceTriggerBeaconMode::identify, DistanceTriggerBeaconMode::exclude }
 Enum for the beacon mode of the DistanceTrigger. More...
 
enum  eDirection {
  eDirection_Invalid = 0, eDirection_Up = 1, eDirection_Right = 2, eDirection_Down = 4,
  eDirection_Left = 8
}
 
enum  EscapeMode { EscapeMode::None, EscapeMode::First, EscapeMode::Second }
 
enum  ForceFieldMode {
  ForceFieldMode::tube, ForceFieldMode::sphere, ForceFieldMode::invertedSphere, ForceFieldMode::newtonianGravity,
  ForceFieldMode::homogen
}
 The mode of the ForceField. More...
 
enum  FormationMode { FormationMode::FINGER4, FormationMode::DIAMOND, FormationMode::WALL }
 FlyingController stores all the flying methods and member variables of AI. More...
 
enum  GameStage {
  NOT_READY, CHOOSE_PROVINCE_STAGE, REINFORCEMENT_STAGE, ATTACK_STAGE,
  MOVE_STAGE, WINNER_STAGE
}
 
enum  IncomingEventType { IncomingEventType::receivePacket = 1, IncomingEventType::peerConnect = 2, IncomingEventType::peerDisconnect = 3 }
 
enum  Mini4DgamePlayerColor { Mini4DgamePlayerColor::none, Mini4DgamePlayerColor::red, Mini4DgamePlayerColor::blue, Mini4DgamePlayerColor::green }
 
enum  MoveType { ATTACK, MOVE, SET_TROOPS, SET_TROOPS_INITIAL }
 
enum  MunitionDeployment { MunitionDeployment::Separate, MunitionDeployment::Share, MunitionDeployment::Stack }
 
enum  NotificationCommand { NotificationCommand::none, NotificationCommand::clear }
 
enum  NotificationMessageType { NotificationMessageType::info, NotificationMessageType::important }
 
enum  NotificationSendMode { NotificationSendMode::local, NotificationSendMode::network, NotificationSendMode::broadcast }
 
enum  OutgoingEventType { OutgoingEventType::sendPacket = 1, OutgoingEventType::broadcastPacket = 2, OutgoingEventType::disconnectPeer = 3, OutgoingEventType::disconnectPeers = 4 }
 
enum  PickupActivationType { PickupActivationType::immediate, PickupActivationType::onUse }
 Enum for the Pickup activation type. More...
 
enum  PickupDurationType { PickupDurationType::once, PickupDurationType::continuous }
 Enum for the Pickup duration type. More...
 
enum  PickupHealthType { PickupHealthType::limited, PickupHealthType::temporary, PickupHealthType::permanent }
 Enum for the type of the HealthPickup. More...
 
enum  PickupMetaType {
  PickupMetaType::none, PickupMetaType::use, PickupMetaType::drop, PickupMetaType::destroy,
  PickupMetaType::destroyCarrier
}
 The meta type, specifying what the MetaPickup does exactly. More...
 
enum  PlayerState { PlayerState::Uninitialized, PlayerState::Joined, PlayerState::Alive, PlayerState::Dead }
 
enum  QuestEffectBeaconStatus { QuestEffectBeaconStatus::Inactive, QuestEffectBeaconStatus::Active }
 The status of the QuestEffectBeacon, can be either active or inactive. More...
 
enum  QuestHintStatus { QuestHintStatus::Inactive, QuestHintStatus::Active }
 The state of the QuestHint. More...
 
enum  QuestListenerMode { QuestListenerMode::All, QuestListenerMode::Start, QuestListenerMode::Fail, QuestListenerMode::Complete }
 The mode of the QuestListener. More...
 
enum  QuestStatus { QuestStatus::Inactive, QuestStatus::Active, QuestStatus::Failed, QuestStatus::Completed }
 Different states of a Quest. More...
 
enum  RenderQueueGroupID {
  RENDER_QUEUE_MAIN = Ogre::RENDER_QUEUE_MAIN, RENDER_QUEUE_STENCIL_OBJECTS = RENDER_QUEUE_MAIN+1, RENDER_QUEUE_STENCIL_GLOW = RENDER_QUEUE_MAIN+2, RENDER_QUEUE_STENCIL_LAST = RENDER_QUEUE_STENCIL_GLOW,
  RENDER_QUEUE_HOQ = RENDER_QUEUE_STENCIL_LAST+1
}
 < these are IDs for render queues that are executed just after the main render queue defined by Ogre, we need more than one for Stencil Glow More...
 
enum  ScriptMode { ScriptMode::normal, ScriptMode::lua }
 The mode a specific Script is in. More...
 
enum  TowerDefenseFieldType {
  TowerDefenseFieldType::FREE, TowerDefenseFieldType::STREET, TowerDefenseFieldType::START, TowerDefenseFieldType::END,
  TowerDefenseFieldType::OBSTACLE, TowerDefenseFieldType::TOWER
}
 
enum  TriggerMode { TriggerMode::EventTriggerAND, TriggerMode::EventTriggerOR, TriggerMode::EventTriggerXOR }
 The different modes the trigger can be in. More...
 

Functions

 __DEPRECATED__ (OutputStream &COUT(int level))
 
unsigned int addDelayedCommand (Timer *timer, float delay, const std::string &command)
 Helper function, used by delay() and delayreal() to add a delayed command. More...
 
void AddLanguageEntry (const LanguageEntryLabel &label, const std::string &fallbackString)
 Shortcut function for Language::addEntry. More...
 
std::string addSlashes (const std::string &str)
 Adds backslashes to the given string which makes special chars visible. More...
 
void append (const std::string &filename, const std::string &text)
 Appends text to a file. More...
 
uint32_t calcCRC (unsigned char *data, unsigned int dataLength)
 
void calcCRCBit (uint32_t &crc32, int bit)
 
float calculate (const std::string &calculation)
 Parses the mathematical expression and returns the result. More...
 
template<class PT >
void callMemberNetworkFunction (PT ptr, uint32_t objectID, uint32_t clientID, const MultiType &mt1=MultiType::Null, const MultiType &mt2=MultiType::Null, const MultiType &mt3=MultiType::Null, const MultiType &mt4=MultiType::Null, const MultiType &mt5=MultiType::Null)
 
template<class PT >
void callStaticNetworkFunction (PT ptr, uint32_t clientID, const MultiType &mt1=MultiType::Null, const MultiType &mt2=MultiType::Null, const MultiType &mt3=MultiType::Null, const MultiType &mt4=MultiType::Null, const MultiType &mt5=MultiType::Null)
 
template<class T >
bool checkEquality (const T &variable, uint8_t *mem)
 checks whether the variable of type T is the same as in the bytestream More...
 
template<class T >
bool checkEquality (T *&variable, uint8_t *mem)
 checks whether the objectID of the variable is the same as in the bytestream More...
 
bool checkEquality (char *&variable, uint8_t *mem)
 
template<>
bool checkEquality (const bool &variable, uint8_t *mem)
 
template<class T >
bool checkEquality (const StrongPtr< T > &variable, uint8_t *mem)
 checks whether the objectID of the variable is the same as in the bytestream More...
 
template<>
bool checkEquality (const char &variable, uint8_t *mem)
 
template<class T >
bool checkEquality (const WeakPtr< T > &variable, uint8_t *mem)
 checks whether the objectID of the variable is the same as in the bytestream More...
 
template<>
bool checkEquality (const unsigned char &variable, uint8_t *mem)
 
template<>
bool checkEquality (const short &variable, uint8_t *mem)
 
template<>
bool checkEquality (const unsigned short &variable, uint8_t *mem)
 
template<>
bool checkEquality (const int &variable, uint8_t *mem)
 
template<>
bool checkEquality (const unsigned int &variable, uint8_t *mem)
 
template<>
bool checkEquality (const long &variable, uint8_t *mem)
 
template<>
bool checkEquality (const unsigned long &variable, uint8_t *mem)
 
template<>
bool checkEquality (const long long &variable, uint8_t *mem)
 
template<>
bool checkEquality (const unsigned long long &variable, uint8_t *mem)
 
template<>
bool checkEquality (const float &variable, uint8_t *mem)
 
template<>
bool checkEquality (const double &variable, uint8_t *mem)
 
template<>
bool checkEquality (const long double &variable, uint8_t *mem)
 
template<>
bool checkEquality (const std::string &variable, uint8_t *mem)
 
template<>
bool checkEquality (const Degree &variable, uint8_t *mem)
 
template<>
bool checkEquality (const Radian &variable, uint8_t *mem)
 
template<>
bool checkEquality (const Vector2 &variable, uint8_t *mem)
 
template<>
bool checkEquality (const Vector3 &variable, uint8_t *mem)
 
template<>
bool checkEquality (const Vector4 &variable, uint8_t *mem)
 
template<>
bool checkEquality (const Quaternion &variable, uint8_t *mem)
 
template<>
bool checkEquality (const ColourValue &variable, uint8_t *mem)
 
template<>
bool checkEquality (const mbool &variable, uint8_t *mem)
 
template<class T >
bool checkEquality (const std::set< T > &variable, uint8_t *mem)
 
template<typename T >
constexpr T clamp (T x, T min, T max)
 Keeps a value between a lower and an upper limit. More...
 
IdentifierClassByID (uint32_t id)
 Returns the Identifier with a given network ID. More...
 
IdentifierClassByLowercaseString (const std::string &name)
 Returns the Identifier with a given lowercase name. More...
 
template<class T >
IdentifierClassByObjectType (const T *p)
 Returns the Identifier with a given 'this' pointer. More...
 
IdentifierClassByString (const std::string &name)
 Returns the Identifier with a given name. More...
 
Ogre::ColourValue colour (const btVector3 &color, btScalar alpha)
 
template<>
void CommandLineParser::getValue< std::string > (const std::string &name, std::string *value)
 
template<class T , class U >
WeakPtr< T > const_pointer_cast (const WeakPtr< U > &p)
 Uses a const_cast to cast a pointer of type U* to a pointer of type T* and returns it in a new WeakPtr<T>. More...
 
template<class T , class U >
StrongPtr< T > const_pointer_cast (const StrongPtr< U > &p)
 Uses a const_cast to cast a pointer of type U* to a pointer of type T* and returns it in a new StrongPtr<T>. More...
 
static CEGUI::MouseButton convertButton (MouseButtonCode::ByEnum button)
 converts mouse event code to CEGUI event code More...
 
template<class FromType , class ToType >
ORX_FORCEINLINE bool convertImplicitely (ToType *output, const FromType &input, Loki::Int2Type< false >)
 Template delegates to ConverterStringStream More...
 
template<class FromType , class ToType >
ORX_FORCEINLINE bool convertImplicitely (ToType *output, const FromType &input, Loki::Int2Type< true >)
 Makes an implicit cast from FromType to ToType. More...
 
template<class FromType , class ToType >
ORX_FORCEINLINE bool convertValue (ToType *output, const FromType &input)
 Converts any value to any other as long as there exists a conversion. More...
 
template<class FromType , class ToType >
ORX_FORCEINLINE bool convertValue (ToType *output, const FromType &input, const ToType &fallback)
 Converts any value to any other as long as there exists a conversion. More...
 
template<class PT >
void copyPtr (PT ptr, NetworkFunctionPointer &destptr)
 
OutputStreamCOUT (int)
 Writes output to the orxonox console. More...
 
 CREATE_ORXONOX_EXCEPTION (General)
 
 CREATE_ORXONOX_EXCEPTION (FileNotFound)
 
 CREATE_ORXONOX_EXCEPTION (Argument)
 
 CREATE_ORXONOX_EXCEPTION (PhysicsViolation)
 
 CREATE_ORXONOX_EXCEPTION (ParseError)
 
 CREATE_ORXONOX_EXCEPTION (PluginsNotFound)
 
 CREATE_ORXONOX_EXCEPTION (InitialisationFailed)
 
 CREATE_ORXONOX_EXCEPTION (InitialisationAborted)
 
 CREATE_ORXONOX_EXCEPTION (NotImplemented)
 
 CREATE_ORXONOX_EXCEPTION (GameState)
 
 CREATE_ORXONOX_EXCEPTION (NoGraphics)
 
 CREATE_ORXONOX_EXCEPTION (AbortLoading)
 
 CreateEventName (PongCenterpoint, right)
 
 CreateEventName (PongCenterpoint, left)
 
ExecutorPtr createExecutor (const FunctorPtr &functor, const std::string &name="")
 Creates a new Executor that wraps a given Functor. More...
 
template<class T >
ExecutorMemberPtr< T > createExecutor (const FunctorMemberPtr< T > &functor, const std::string &name="")
 Creates a new ExecutorMember that wraps a given FunctorMember. More...
 
ExecutorStaticPtr createExecutor (const FunctorStaticPtr &functor, const std::string &name="")
 Creates a new ExecutorStatic that wraps a given FunctorStatic. More...
 
template<class R , class O , class OO , class... Params>
FunctorMemberPtr< O > createFunctor (R(O::*functionPointer)(Params...), OO *object)
 Creates a new FunctorMember with the given function-pointer and an assigned object. More...
 
template<class R , class O , class... Params>
FunctorMemberPtr< O > createFunctor (R(O::*functionPointer)(Params...))
 Creates a new FunctorMember with the given function-pointer. More...
 
template<class R , class... Params>
FunctorStaticPtr createFunctor (R(*functionPointer)(Params...))
 Creates a new FunctorStatic with the given function-pointer. More...
 
template<class F >
FunctorStaticPtr createFunctor (const F &functionObject)
 Take care that this functor does not outlive objects that have been captured by reference in a lambda. More...
 
template<typename T >
constexpr T cube (T x)
 Returns the cubed value (x^3). More...
 
void debug (const std::string &text)
 Prints debug output with verbose level. More...
 
 DeclareConsoleCommand (__CC_KeyDetector_callback_name,&prototype::void__string).hide()
 
 DeclareConsoleCommand (__CC_GraphicsManager_group, __CC_setScreenResolution_name,&prototype::string__uint_uint_bool)
 
 DeclareConsoleCommand (__CC_GraphicsManager_group, __CC_setFSAA_name,&prototype::string__string)
 
 DeclareConsoleCommand (__CC_GraphicsManager_group, __CC_setVSync_name,&prototype::string__bool)
 
 DeclareConsoleCommand (__CC_printScreen_name,&prototype::void__void)
 
 DeclareGameState (GSStandalone,"standalone", false, true)
 
 DeclareGameState (GSMasterServer,"masterserver", false, false)
 
 DeclareGameState (GSClient,"client", false, false)
 
 DeclareGameState (GSServer,"server", false, false)
 
 DeclareGameState (GSGraphics,"graphics", false, true)
 
 DeclareGameState (GSRoot,"root", false, false)
 
 DeclareGameState (GSMainMenu,"mainMenu", false, true)
 
 DeclareGameState (GSLevel,"level", false, false)
 
true defaultValue (2, 0.5f)
 
false defaultValue (2, false).argumentCompleter(0
 
unsigned int delay (float delay, const std::string &command)
 Console-command: Calls another console command after delay seconds (game time). More...
 
unsigned int delayreal (float delay, const std::string &command)
 Console-command: Calls another console command after delay seconds (real time) More...
 
int determineMap3DZOrder (const orxonox::Vector3 &myposition, const orxonox::Vector3 &mydirection, const orxonox::Vector3 &myorthonormal, const orxonox::Vector3 &otherposition, const float detectionlimit)
 A value between 0 and 10, in order how other object is in front or in back. More...
 
template<class T , class U >
WeakPtr< T > dynamic_pointer_cast (const WeakPtr< U > &p)
 Uses a dynamic_cast to cast a pointer of type U* to a pointer of type T* and returns it in a new WeakPtr<T>. More...
 
template<class T , class U >
StrongPtr< T > dynamic_pointer_cast (const StrongPtr< U > &p)
 Uses a dynamic_cast to cast a pointer of type U* to a pointer of type T* and returns it in a new StrongPtr<T>. More...
 
std::string echo (const std::string &text)
 Simply returns the arguments. More...
 
void error (const std::string &text)
 Prints output with error level. More...
 
template<class T >
const T & exceptionThrowerHelper (const T &exception)
 Helper function that forwards an exception and displays the message. More...
 
void executeDelayedCommand (Timer *timer, const std::string &command)
 Helper function for delay(), executes the command and destroys the timer. More...
 
std::string fromClipboard ()
 Default implementation if there is no OS-specific implementation or no clipboard. More...
 
orxonox::Vector2 get2DViewCoordinates (const orxonox::Vector3 &myposition, const orxonox::Vector3 &mydirection, const orxonox::Vector3 &myorthonormal, const orxonox::Vector3 &otherposition)
 Gets the 2D viewing direction (up/down, left/right) to the position of the other object, multiplied with the viewing distance to the object (0° = 0, 180° = 1). More...
 
orxonox::Vector2 get2DViewdirection (const orxonox::Vector3 &myposition, const orxonox::Vector3 &mydirection, const orxonox::Vector3 &myorthonormal, const orxonox::Vector3 &otherposition)
 Gets the 2D viewing direction (up/down, left/right) to the position of the other object. More...
 
orxonox::Vector2 get3DProjection (const orxonox::Vector3 &myposition, const orxonox::Vector3 &mydirection, const orxonox::Vector3 &myorthonormal, const orxonox::Vector3 &otherposition, const float mapangle, const float detectionlimit)
 Gets the 2D project vector for the 3D Radar . More...
 
float getAngle (const orxonox::Vector3 &myposition, const orxonox::Vector3 &mydirection, const orxonox::Vector3 &otherposition)
 Gets the angle between my viewing direction and the direction to the position of the other object. More...
 
std::string getComment (const std::string &str)
 If the string contains a comment, the comment gets returned (including the comment symbol and white spaces in front of it), an empty string otherwise. More...
 
ContextgetContextForInitializationOfOtherContexts ()
 
template<class FromType , class ToType >
ORX_FORCEINLINE ToType getConvertedValue (const FromType &input, const ToType &fallback)
 Directly returns the converted value, but uses the fallback on failure. More...
 
unsigned int getLevenshteinDistance (const std::string &str1, const std::string &str2)
 Calculates the Levenshtein distance between two strings. More...
 
const std::string & GetLocalisation (const LanguageEntryLabel &label)
 Shortcut function for Language::getLocalisation. More...
 
const std::string & GetLocalisation_noerror (const LanguageEntryLabel &label)
 Shortcut function for Language::getLocalisation without printing an error in case the label doesn't exist. More...
 
std::string getLowercase (const std::string &str)
 Returns a copy of the given string where all chars are converted to lowercase. More...
 
uint32_t getNetworkIdForPointer (const NetworkFunctionPointer &pointer)
 
size_t getNextCommentPosition (const std::string &str, size_t start)
 Returns the beginning of the next comment including whitespaces in front of the comment symbol. More...
 
size_t getNextQuote (const std::string &str, size_t start)
 Returns the position of the next quotation mark in the string, starting with start. More...
 
std::map< std::string, OutputLevelgetOutputLevelsMap ()
 Builds a map that maps the levels of all output levels to their ID. More...
 
orxonox::Vector3 getPredictedPosition (const orxonox::Vector3 &myposition, float projectilespeed, const orxonox::Vector3 &targetposition, const orxonox::Vector3 &targetvelocity)
 Returns the predicted position I have to aim at, if I want to hit a moving target with a moving projectile. More...
 
std::string getStringBetweenQuotes (const std::string &str)
 If the string contains something like '..."between quotaton marks"...' then 'between quotaton marks' gets returned, otherwise "". More...
 
std::string getStripped (const std::string &str)
 Returns a copy of a string without whitespaces. More...
 
std::string getTimestamp (void)
 Get a timestamp for the current time instant. More...
 
std::string getTimeString (float time)
 
orxonox::Vector3 getTransformedVector (const orxonox::Vector3 &totransform, const orxonox::Vector3 &newx, const orxonox::Vector3 &newy, const orxonox::Vector3 &newz)
 Gets the new vector after a coordinate transformation. More...
 
unsigned long getUniqueNumber ()
 Returns a unique number. More...
 
std::string getUniqueNumberString ()
 Returns a string of a unique number. This function is guaranteed to never return the same string twice. More...
 
std::string getUppercase (const std::string &str)
 Returns a copy of the given string where all chars are converted to uppercase. More...
 
bool hasComment (const std::string &str)
 Returns true if the string contains a comment, introduced by #, %, ; or //. More...
 
bool hasStringBetweenQuotes (const std::string &str)
 Returns true if the string contains something like '..."between quotaton marks"...'. More...
 
static void helper_output_debug (ENetEvent *event, char *addrconv)
 
void info (const std::string &text)
 Prints output with info level. More...
 
template<>
void InputHandler::buttonEvent< JoyStickButtonCode::ByEnum > (unsigned int device, JoyStickButtonCode::ByEnum button, ButtonEvent::TPress)
 
template<>
void InputHandler::buttonEvent< JoyStickButtonCode::ByEnum > (unsigned int device, JoyStickButtonCode::ByEnum button, ButtonEvent::TRelease)
 
template<>
void InputHandler::buttonEvent< JoyStickButtonCode::ByEnum > (unsigned int device, JoyStickButtonCode::ByEnum button, ButtonEvent::THold)
 
template<typename T >
interpolate (float time, const T &start, const T &end)
 Interpolates between two values for a time between 0 and 1. More...
 
template<typename T >
interpolateSmooth (float time, const T &start, const T &end)
 Interpolates smoothly between two values for a time between 0 and 1. More...
 
bool isBetweenQuotes (const std::string &str, size_t pos)
 Returns true if pos is between two quotation marks. More...
 
bool isComment (const std::string &str)
 Determines if a string is a comment (starts with a comment-symbol). More...
 
bool isEmpty (const std::string &str)
 Determines if a string is empty (contains only whitespaces). More...
 
bool isObjectHigherThanShipOnMap (const orxonox::Vector3 &myposition, const orxonox::Vector3 &mydirection, const orxonox::Vector3 &myorthonormal, const orxonox::Vector3 &otherposition, const float mapangle)
 Gets if a object is over the x/z - plain on map. More...
 
static void key_esc ()
 
void killdelay (unsigned int handle)
 Console-command: Kills a delayed command with given handle. More...
 
void killdelays ()
 Console-command: Kills all scheduled commands that were delayed using delay(). More...
 
template<class T >
void loadAndIncrease (T &variable, uint8_t *&mem)
 loads the value of a variable out of the bytestream and increases the mem pointer More...
 
template<class T >
void loadAndIncrease (T *&variable, uint8_t *&mem)
 reads the objectID of a pointer out of the bytestream and increases the mem pointer More...
 
void loadAndIncrease (char *&variable, uint8_t *&mem)
 
template<class T >
void loadAndIncrease (const StrongPtr< T > &variable, uint8_t *&mem)
 reads the objectID of a pointer out of the bytestream and increases the mem pointer More...
 
template<>
void loadAndIncrease (bool &variable, uint8_t *&mem)
 
template<>
void loadAndIncrease (char &variable, uint8_t *&mem)
 
template<class T >
void loadAndIncrease (const WeakPtr< T > &variable, uint8_t *&mem)
 reads the objectID of a pointer out of the bytestream and increases the mem pointer More...
 
template<>
void loadAndIncrease (unsigned char &variable, uint8_t *&mem)
 
template<>
void loadAndIncrease (short &variable, uint8_t *&mem)
 
template<>
void loadAndIncrease (unsigned short &variable, uint8_t *&mem)
 
template<>
void loadAndIncrease (int &variable, uint8_t *&mem)
 
template<>
void loadAndIncrease (unsigned int &variable, uint8_t *&mem)
 
template<>
void loadAndIncrease (long &variable, uint8_t *&mem)
 
template<>
void loadAndIncrease (unsigned long &variable, uint8_t *&mem)
 
template<>
void loadAndIncrease (long long &variable, uint8_t *&mem)
 
template<>
void loadAndIncrease (unsigned long long &variable, uint8_t *&mem)
 
template<>
void loadAndIncrease (float &variable, uint8_t *&mem)
 
template<>
void loadAndIncrease (double &variable, uint8_t *&mem)
 
template<>
void loadAndIncrease (long double &variable, uint8_t *&mem)
 
template<>
void loadAndIncrease (std::string &variable, uint8_t *&mem)
 
template<>
void loadAndIncrease (Degree &variable, uint8_t *&mem)
 
template<>
void loadAndIncrease (Radian &variable, uint8_t *&mem)
 
template<>
void loadAndIncrease (Vector2 &variable, uint8_t *&mem)
 
template<>
void loadAndIncrease (Vector3 &variable, uint8_t *&mem)
 
template<>
void loadAndIncrease (Vector4 &variable, uint8_t *&mem)
 
template<>
void loadAndIncrease (Quaternion &variable, uint8_t *&mem)
 
template<>
void loadAndIncrease (ColourValue &variable, uint8_t *&mem)
 
template<>
void loadAndIncrease (mbool &variable, uint8_t *&mem)
 
template<class T >
void loadAndIncrease (std::set< T > &variable, uint8_t *&mem)
 
void loadCalibration (std::vector< int > &list, const std::string &sectionName, const std::string &valueName, size_t size, int defaultValue)
 Helper function that loads the config value vector of one coefficient. More...
 
void log (const std::string &text)
 Prints text to the console and the logfile. More...
 
void lowercase (std::string *str)
 Replaces each char between A and Z with its lowercase equivalent. More...
 
int main (const std::string &strCmdLine)
 Starting point of orxonox (however not the entry point of the program!) More...
 
 ManageScopedSingleton (DialogManager, ScopeID::ROOT, false)
 
 ManageScopedSingleton (DestroyLaterManager, ScopeID::ROOT, false)
 
 ManageScopedSingleton (ChatHistory, ScopeID::ROOT, false)
 
 ManageScopedSingleton (MoodManager, ScopeID::ROOT, false)
 
 ManageScopedSingleton (Highscore, ScopeID::ROOT, false)
 
 ManageScopedSingleton (KeyDetector, ScopeID::GRAPHICS, false)
 
 ManageScopedSingleton (LANDiscovery, ScopeID::GRAPHICS, false)
 
 ManageScopedSingleton (PlayerManager, ScopeID::ROOT, false)
 
 ManageScopedSingleton (ChatManager, ScopeID::ROOT, false)
 
 ManageScopedSingleton (KeyBinderManager, ScopeID::GRAPHICS, false)
 
 ManageScopedSingleton (CameraManager, ScopeID::GRAPHICS, false)
 
 ManageScopedSingleton (NotificationManager, ScopeID::ROOT, false)
 
 ManageScopedSingleton (QuestManager, ScopeID::ROOT, false)
 
 ManageScopedSingleton (SoundManager, ScopeID::GRAPHICS, true)
 
 ManageScopedSingleton (PickupManager, ScopeID::ROOT, false)
 
 ManageScopedSingleton (Client, ScopeID::ROOT, false)
 
 ManageScopedSingleton (SkyboxGenerator, ScopeID::GRAPHICS, false)
 
 ManageScopedSingleton (ScreenshotManager, ScopeID::GRAPHICS, false)
 
 ManageScopedSingleton (ChatInputHandler, ScopeID::GRAPHICS, false)
 
 ManageScopedSingleton (InGameConsole, ScopeID::GRAPHICS, false)
 
Ogre::Matrix3 matrix3 (const btMatrix3x3 &matrix)
 
Ogre::Matrix4 matrix4 (const btTransform &transform)
 
template<typename T >
int mod (T x, int max)
 The modulo operation, enhanced to work properly with negative values. More...
 
ConsoleCommand::ConsoleCommandManipulator ModifyConsoleCommand (const std::string &name)
 Returns a manipulator for a command with the given name. More...
 
ConsoleCommand::ConsoleCommandManipulator ModifyConsoleCommand (const std::string &group, const std::string &name)
 Returns a manipulator for a command with the given group and name. More...
 
void msleep (unsigned long milliseconds)
 Makes the thread sleep for a few milliseconds. More...
 
template<class ToType , class FromType >
ORX_FORCEINLINE ToType multi_cast (const FromType &input)
 Converts any value to any other as long as there exists a conversion. More...
 
template<>
bool MultiType::MT_ValueBase::isType< orxonox::ColourValue > () const
 
template<>
bool MultiType::MT_ValueBase::isType< orxonox::Degree > () const
 
template<>
bool MultiType::MT_ValueBase::isType< orxonox::Quaternion > () const
 
template<>
bool MultiType::MT_ValueBase::isType< orxonox::Radian > () const
 
template<>
bool MultiType::MT_ValueBase::isType< orxonox::Vector2 > () const
 
template<>
bool MultiType::MT_ValueBase::isType< orxonox::Vector3 > () const
 
template<>
bool MultiType::MT_ValueBase::isType< orxonox::Vector4 > () const
 
template<>
bool MultiType::MT_ValueBase::isType< std::string > () const
 
const boost::posix_time::millisec NETWORK_COMMUNICATION_THREAD_WAIT_TIME (200)
 
int nocaseCmp (const std::string &s1, const std::string &s2)
 Compares two strings ignoring different casing. More...
 
int nocaseCmp (const std::string &s1, const std::string &s2, size_t len)
 Compares the first len chars of two strings ignoring different casing. More...
 
constexpr bool operator!= (bool x, tribool y)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
constexpr bool operator!= (dontcare_keyword_t, tribool x)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
InputManager::State operator&= (InputManager::State &lval, int rval)
 Defines the &= operator for easier use. More...
 
std::ostream & operator<< (std::ostream &out, const orxonox::Radian &radian)
 Function for writing a Radian to a stream. More...
 
std::ostream & operator<< (std::ostream &out, const orxonox::Degree &degree)
 Function for writing a Degree to a stream. More...
 
std::ostream & operator<< (std::ostream &out, const std::set< const Identifier * > &list)
 Lists the names of all Identifiers in a std::set<const Identifier*>. More...
 
_UtilExport std::ostream & operator<< (std::ostream &outstream, const MultiType &mt)
 Puts the MultiType on a stream by using the native << operator of the current type. More...
 
std::ostream & operator<< (std::ostream &out, const ClassTreeMask &mask)
 Converts the content of a mask into a human readable string and puts it on the ostream. More...
 
constexpr bool operator== (bool x, tribool y)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
constexpr bool operator== (dontcare_keyword_t, tribool x)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 
std::istream & operator>> (std::istream &in, orxonox::Radian &radian)
 Function for reading a Radian from a stream. More...
 
std::istream & operator>> (std::istream &in, orxonox::Degree &degree)
 Function for reading a Degree from a stream. More...
 
InputManager::State operator|= (InputManager::State &lval, InputManager::State rval)
 Defines the |= operator for easier use. More...
 
template<class T , class U >
orxonox_cast (U *)
 Casts on object of type Identifiable to any derived type that is registered in the class hierarchy. More...
 
template<class T , class U >
ORX_FORCEINLINEorxonox_cast (U *source)
 Casts on object of type Identifiable to any derived type that is registered in the class hierarchy. More...
 
OutputStreamorxout (OutputLevel level=level::debug_output, const OutputContextContainer &context=context::undefined())
 This helper function returns a reference to a commonly used instance of OutputStream. More...
 
OutputStreamorxout (OutputLevel level, OutputContextFunction context)
 Shortcut for orxout() to allow passing contexts directly as functions without using "()". More...
 
void orxout_level (const std::string &level_name, const std::string &text)
 Prints text to the console. More...
 
void orxout_level_context (const std::string &level_name, const std::string &context_name, const std::string &text)
 Prints text to the console. More...
 
_UtilExport bool parse_float (char *const, char **, float *)
 
_UtilExport bool parse_float (char *const, char **, char, float *)
 
_UtilExport bool parse_vector_float (char *const, char **, bool, float *)
 
static void printFPS ()
 
static void printTickTime ()
 
btQuaternion quaternion (const Ogre::Quaternion &Q)
 
Ogre::Quaternion quaternion (const btQuaternion &Q)
 
std::string read (const std::string &filename)
 Reads text from a file. More...
 
size_t readVorbis (void *ptr, size_t size, size_t nmemb, void *datasource)
 
 RegisterAbstractClass (ViewportEventListener).inheritsFrom< Listable >()
 
 RegisterAbstractClass (UpdateListener).inheritsFrom< Listable >()
 
 RegisterAbstractClass (XMLNameListener).inheritsFrom< Listable >()
 
 RegisterAbstractClass (ClientConnectionListener).inheritsFrom< Listable >()
 
 RegisterAbstractClass (WindowEventListener).inheritsFrom< Listable >()
 
 RegisterAbstractClass (DestroyLaterManager).inheritsFrom< UpdateListener >()
 
 RegisterAbstractClass (AmbientSound).inheritsFrom< BaseSound >().inheritsFrom< MoodListener >()
 
 RegisterAbstractClass (JoyStickQuantityListener).inheritsFrom< Listable >()
 
 RegisterAbstractClass (QuestEffect).inheritsFrom< BaseObject >()
 
 RegisterAbstractClass (WANDiscovery).inheritsFrom< Configurable >()
 
 RegisterAbstractClass (DockingEffect).inheritsFrom< BaseObject >()
 
 RegisterAbstractClass (ChatHistory).inheritsFrom< ChatListener >()
 
 RegisterAbstractClass (RadarViewable).inheritsFrom< OrxonoxInterface >()
 
 RegisterAbstractClass (WANDiscoverable).inheritsFrom< Configurable >()
 
 RegisterAbstractClass (DockingAnimation).inheritsFrom< BaseObject >()
 
 RegisterAbstractClass (AbstractRadiusHeightCollisionShape).inheritsFrom< CollisionShape >()
 
 RegisterAbstractClass (CollectiblePickup).inheritsFrom< Pickupable >()
 
 RegisterAbstractClass (PlayerInfo).inheritsFrom< Info >()
 
 RegisterAbstractClass (PickupListener).inheritsFrom< OrxonoxInterface >()
 
 RegisterAbstractClass (PickupCarrier).inheritsFrom< OrxonoxInterface >()
 
 RegisterAbstractClass (MoodListener).inheritsFrom< OrxonoxInterface >()
 
 RegisterAbstractClass (PlayerManager).inheritsFrom< ClientConnectionListener >()
 
 RegisterAbstractClass (ChangeQuestStatus).inheritsFrom< QuestEffect >()
 
 RegisterAbstractClass (MoodManager).inheritsFrom< Configurable >()
 
 RegisterAbstractClass (KeyDetector).inheritsFrom< KeyBinder >()
 
 RegisterAbstractClass (BaseSound).inheritsFrom< Listable >()
 
 RegisterAbstractClass (ChatManager).inheritsFrom< NetworkChatListener >()
 
 RegisterAbstractClass (KeyBinder).inheritsFrom< JoyStickQuantityListener >()
 
 RegisterAbstractClass (Quest).inheritsFrom< QuestItem >()
 
 RegisterAbstractClass (CollisionShape).inheritsFrom< BaseObject >().inheritsFrom< Synchronisable >()
 
 RegisterAbstractClass (Synchronisable).inheritsFrom< OrxonoxInterface >()
 
 RegisterAbstractClass (WeaponMode).inheritsFrom< BaseObject >()
 
 RegisterAbstractClass (TimeFactorListener).inheritsFrom< Listable >()
 
 RegisterAbstractClass (Pickupable).inheritsFrom< OrxonoxInterface >().inheritsFrom< Rewardable >()
 
 RegisterAbstractClass (Radar).inheritsFrom< Tickable >()
 
 RegisterAbstractClass (JoyStick).inheritsFrom< Configurable >()
 
 RegisterAbstractClass (NotificationManager).inheritsFrom< NotificationListener >()
 
 RegisterAbstractClass (ParticleInterface).inheritsFrom< TimeFactorListener >()
 
 RegisterAbstractClass (GametypeMessageListener).inheritsFrom< OrxonoxInterface >()
 
 RegisterAbstractClass (Mouse).inheritsFrom< WindowEventListener >()
 
 RegisterAbstractClass (NotificationListener).inheritsFrom< OrxonoxInterface >()
 
 RegisterAbstractClass (KeyBinderManager).inheritsFrom< Configurable >()
 
 RegisterAbstractClass (PluginManager).inheritsFrom< Configurable >()
 
 RegisterAbstractClass (PlayerTrigger).inheritsFrom< OrxonoxInterface >()
 
 RegisterAbstractClass (PickupManager).inheritsFrom< PickupListener >()
 
 RegisterAbstractClass (SkyboxGenerator).inheritsFrom< Configurable >().inheritsFrom< Tickable >()
 
 RegisterAbstractClass (WorldEntity).inheritsFrom< BaseObject >().inheritsFrom< Synchronisable >()
 
 RegisterAbstractClass (GSMainMenu).inheritsFrom< Configurable >()
 
 RegisterAbstractClass (ScreenshotManager).inheritsFrom< Configurable >()
 
 RegisterAbstractClass (SoundManager).inheritsFrom< Configurable >().inheritsFrom< UpdateListener >()
 
 RegisterAbstractClass (Tickable).inheritsFrom< OrxonoxInterface >()
 
 RegisterAbstractClass (ChatInputHandler).inheritsFrom< ChatListener >()
 
 RegisterAbstractClass (InGameConsole).inheritsFrom< WindowEventListener >().inheritsFrom< UpdateListener >()
 
 RegisterAbstractClass (RadarListener).inheritsFrom< OrxonoxInterface >()
 
 RegisterAbstractClass (InputManager).inheritsFrom< WindowEventListener >()
 
 RegisterAbstractClass (TeamColourable).inheritsFrom< OrxonoxInterface >()
 
 RegisterAbstractClass (GraphicsManager).inheritsFrom< Configurable >()
 
 RegisterAbstractClass (Rewardable).inheritsFrom< OrxonoxInterface >()
 
 RegisterAbstractClass (ChatListener).inheritsFrom< Listable >()
 
 RegisterAbstractClass (DevModeListener).inheritsFrom< Listable >()
 
 RegisterAbstractClass (NetworkChatListener).inheritsFrom< Listable >()
 
 RegisterAbstractClass (GUIManager).inheritsFrom< WindowEventListener >()
 
 RegisterAbstractClass (GSLevelMemento).inheritsFrom< OrxonoxInterface >()
 
 RegisterClass (Wagnis)
 
 RegisterClass (WagnisGameboard)
 
 RegisterClass (GravityBombMunition)
 
 RegisterClass (GravityBomb)
 
 RegisterClass (GravityBombField)
 
 RegisterClass (TowerDefenseEnemy)
 
 RegisterClass (WagnisPlayer)
 
 RegisterClass (WagnisProvince)
 
 RegisterClass (TowerDefenseTower)
 
 RegisterClass (GravityBombFire)
 
 RegisterClass (ControllerDirector)
 
 RegisterClass (SpaceRaceBot)
 
 RegisterClass (ShootableObstacle)
 
 RegisterClass (EventName)
 
 RegisterClass (WagnisProjectile)
 
 RegisterClass (MasterController)
 
 RegisterClass (SectionController)
 
 RegisterClass (Item)
 
 RegisterClass (Info)
 
 RegisterClass (EventTarget)
 
 RegisterClass (DivisionController)
 
 RegisterClass (WingmanController)
 
 RegisterClass (Answer)
 
 RegisterClass (AnswerId)
 
 RegisterClass (Question)
 
 RegisterClass (Arrow)
 
 RegisterClass (Attacher)
 
 RegisterClass (TeamTargetProxy)
 
 RegisterClass (AnnounceMessage)
 
 RegisterClass (DeathMessage)
 
 RegisterClass (GametypeFadingMessage)
 
 RegisterClass (HUDEnemyShieldBar)
 
 RegisterClass (HUDRocketFuelBar)
 
 RegisterClass (HUDShieldBar)
 
 RegisterClass (KillMessage)
 
 RegisterClass (PauseNotice)
 
 RegisterClass (PacmanGhost)
 
 RegisterClass (PacmanPointAfraid)
 
 RegisterClass (PacmanPointSphere)
 
 RegisterClass (TowerDefenseHUDController)
 
 RegisterClass (WagnisHUDinfo)
 
 RegisterClass (WaypointController)
 
 RegisterClass (Actionpoint)
 
 RegisterClass (FadingBillboard)
 
 RegisterClass (Asteroids2DHUDinfo)
 
 RegisterClass (Destroyer)
 
 RegisterClass (DodgeRaceHUDinfo)
 
 RegisterClass (TeamSpawnPoint)
 
 RegisterClass (InvaderHUDinfo)
 
 RegisterClass (TurretController)
 
 RegisterClass (EventDispatcher)
 
 RegisterClass (EventListener)
 
 RegisterClass (OrxoKartKart)
 
 RegisterClass (DebugFPSText)
 
 RegisterClass (DebugRTRText)
 
 RegisterClass (HUDBoostBar)
 
 RegisterClass (HUDEnemyHealthBar)
 
 RegisterClass (Scoreboard)
 
 RegisterClass (PacmanHUDinfo)
 
 RegisterClass (DefaultWeaponmodeLink)
 
 RegisterClass (ActionpointController)
 
 RegisterClass (BlinkingBillboard)
 
 RegisterClass (CameraPosition)
 
 RegisterClass (Drone)
 
 RegisterClass (SpaceRaceController)
 
 RegisterClass (EventFilter)
 
 RegisterClass (Turret)
 
 RegisterClass (OrxyRoadHUDinfo)
 
 RegisterClass (GametypeStaticMessage)
 
 RegisterClass (HUDSpeedBar)
 
 RegisterClass (HUDTimer)
 
 RegisterClass (PortalLink)
 
 RegisterClass (AutonomousDroneController)
 
 RegisterClass (WaypointPatrolController)
 
 RegisterClass (GUISheet)
 
 RegisterClass (GlobalShader)
 
 RegisterClass (Test)
 
 RegisterClass (Munition)
 
 RegisterClass (ExplosionPart)
 
 RegisterClass (SpawnPoint)
 
 RegisterClass (OrxyRoadShip)
 
 RegisterClass (DebugPositionText)
 
 RegisterClass (HUDHealthBar)
 
 RegisterClass (LastManStandingInfos)
 
 RegisterClass (LastTeamStandingInfos)
 
 RegisterClass (TeamBaseMatchScore)
 
 RegisterClass (Pacman)
 
 RegisterClass (PacmanGelb)
 
 RegisterClass (MineMunition)
 
 RegisterClass (DodgeRaceShip)
 
 RegisterClass (FlameMunition)
 
 RegisterClass (FusionMunition)
 
 RegisterClass (IceMunition)
 
 RegisterClass (LaserMunition)
 
 RegisterClass (LightningMunition)
 
 RegisterClass (RocketMunition)
 
 RegisterClass (SplitMunition)
 
 RegisterClass (WorldEntityCollisionShape)
 
 RegisterClass (ArrowController)
 
 RegisterClass (ResourceCollection)
 
 RegisterClass (ParticleSpawner)
 
 RegisterClass (TeamBaseMatchBase)
 
 RegisterClass (WeaponSet)
 
 RegisterClass (WeaponSlot)
 
 RegisterClass (NameableStaticEntity)
 
 RegisterClass (CreateStars)
 
 RegisterClass (DodgeRaceCube)
 
 RegisterClass (FlappyOrxHUDinfo)
 
 RegisterClass (StaticEntity)
 
 RegisterClass (JumpPlatformFake)
 
 RegisterClass (Context)
 
 RegisterClass (Namespace)
 
 RegisterClass (OrxyRoadCube)
 
 RegisterClass (Template)
 
 RegisterClass (SOBHUDInfo)
 
 RegisterClass (ExplosionChunk)
 
 RegisterClass (DockingController)
 
 RegisterClass (DockingTarget)
 
 RegisterClass (WeaponPack)
 
 RegisterClass (Billboard)
 
 RegisterClass (MeshLodInformation)
 
 RegisterClass (Bot)
 
 RegisterClass (Dialog)
 
 RegisterClass (DockToShip)
 
 RegisterClass (HoverShip)
 
 RegisterClass (JumpPlatformDisappear)
 
 RegisterClass (JumpPlatformHMove)
 
 RegisterClass (JumpPlatformStatic)
 
 RegisterClass (JumpPlatformVMove)
 
 RegisterClass (JumpPropeller)
 
 RegisterClass (JumpRocket)
 
 RegisterClass (JumpShield)
 
 RegisterClass (JumpSpring)
 
 RegisterClass (SimpleNotification)
 
 RegisterClass (Listable).virtualBase()
 
 RegisterClass (OrxoKartOrigin)
 
 RegisterClass (HUDWeaponSystem)
 
 RegisterClass (PongBat)
 
 RegisterClass (PongBot)
 
 RegisterClass (TowerDefenseField)
 
 RegisterClass (TowerDefenseSelecter)
 
 RegisterClass (IceGunFreezer)
 
 RegisterClass (MuzzleFlash)
 
 RegisterClass (AIController)
 
 RegisterClass (AnimatedModel)
 
 RegisterClass (Weapon)
 
 RegisterClass (HoverOrigin)
 
 RegisterClass (TimeHUD)
 
 RegisterClass (InvaderWeaponEnemy)
 
 RegisterClass (JumpBoots)
 
 RegisterClass (JumpCenterpoint)
 
 RegisterClass (JumpEnemy)
 
 RegisterClass (JumpItem)
 
 RegisterClass (JumpProjectile)
 
 RegisterClass (ForceField)
 
 RegisterClass (DistanceTriggerBeacon)
 
 RegisterClass (EventTrigger)
 
 RegisterClass (OrxoKartTile)
 
 RegisterClass (OrxyRoadCenterPoint)
 
 RegisterClass (FadeoutText)
 
 RegisterClass (MunitionContainer)
 
 RegisterClass (EffectContainer)
 
 RegisterClass (SOBCenterpoint)
 
 RegisterClass (DodgeRaceCenterPoint)
 
 RegisterClass (BillboardProjectile)
 
 RegisterClass (LightningGunProjectile)
 
 RegisterClass (CommonController)
 
 RegisterClass (FlyingController)
 
 RegisterClass (Engine)
 
 RegisterClass (ReplenishingMunition)
 
 RegisterClass (Asteroids2DShip)
 
 RegisterClass (MoveToDockingTarget)
 
 RegisterClass (SpaceRaceManager)
 
 RegisterClass (HoverWall)
 
 RegisterClass (InvaderCenterPoint)
 
 RegisterClass (InvaderEnemy)
 
 RegisterClass (MobileEntity)
 
 RegisterClass (JumpPlatformTimer)
 
 RegisterClass (ConeCollisionShape)
 
 RegisterClass (CylinderCollisionShape)
 
 RegisterClass (Planet)
 
 RegisterClass (GUIOverlay)
 
 RegisterClass (RaceCheckPoint)
 
 RegisterClass (PongCenterpoint)
 
 RegisterClass (AddReward)
 
 RegisterClass (GlobalQuest)
 
 RegisterClass (LocalQuest)
 
 RegisterClass (MovableEntity)
 
 RegisterClass (FlameGunProjectile)
 
 RegisterClass (ParticleProjectile)
 
 RegisterClass (SplitGunProjectile)
 
 RegisterClass (DroneController)
 Constructor. More...
 
 RegisterClass (Light)
 
 RegisterClass (Asteroids2DCenterPoint)
 
 RegisterClass (WorldAmbientSound)
 
 RegisterClass (WorldSound)
 
 RegisterClass (InvaderEnemyShooter)
 
 RegisterClass (JumpPlatform)
 
 RegisterClass (JumpScore)
 
 RegisterClass (BoxCollisionShape)
 
 RegisterClass (SphereCollisionShape)
 
 RegisterClass (PlaneCollisionShape)
 
 RegisterClass (SpaceBoundaries)
 
 RegisterClass (CheckPoint)
 
 RegisterClass (FightingController)
 
 RegisterClass (BoostPickup)
 
 RegisterClass (DamageBoostPickup)
 
 RegisterClass (MetaPickup)
 
 RegisterClass (MunitionPickup)
 
 RegisterClass (ShieldPickup)
 
 RegisterClass (SpeedPickup)
 
 RegisterClass (PortalEndPoint)
 
 RegisterClass (CompleteQuest)
 
 RegisterClass (QuestListener)
 
 RegisterClass (SOBCastlestone)
 
 RegisterClass (SOBCoin)
 
 RegisterClass (SOBFlagstone)
 
 RegisterClass (SOBGumba)
 
 RegisterClass (SOBItem)
 
 RegisterClass (SOBMushroom)
 
 RegisterClass (TetrisCenterpoint)
 
 RegisterClass (TetrisStone)
 
 RegisterClass (TowerDefenseCenterpoint)
 
 RegisterClass (RocketController)
 
 RegisterClass (CompoundCollisionShape)
 
 RegisterClass (ResourceLocation)
 
 RegisterClass (FailQuest)
 
 RegisterClass (EventMultiTrigger)
 
 RegisterClass (MultiTrigger)
 
 RegisterClass (OrxoKartFlag)
 
 RegisterClass (StoryModePawn)
 
 RegisterClass (AddQuest)
 
 RegisterClass (QuestHint)
 
 RegisterClass (Projectile)
 
 RegisterClass (WagnisGun)
 
 RegisterClass (ParticleEmitter)
 
 RegisterClass (FlappyOrxShip)
 
 RegisterClass (HoverFlag)
 
 RegisterClass (InvaderShip)
 
 RegisterClass (JumpFigure)
 
 RegisterClass (ScriptableControllerDrone)
 Constructor. More...
 
 RegisterClass (Mini4DgameBoard)
 
 RegisterClass (CommandNotification)
 
 RegisterClass (NotificationQueue)
 
 RegisterClass (HUDWeapon)
 
 RegisterClass (HUDWeaponMode)
 
 RegisterClass (QuestDescription)
 
 RegisterClass (SOBQBlock)
 
 RegisterClass (SOBTube)
 
 RegisterClass (TetrisBrick)
 
 RegisterClass (TetrisScore)
 
 RegisterClass (LightningGun)
 
 RegisterClass (AddQuestHint)
 
 RegisterClass (AutonomousDrone)
 Constructor. More...
 
 RegisterClass (Stats)
 
 RegisterClass (LaserFire)
 
 RegisterClass (DronePickup)
 
 RegisterClass (InvisiblePickup)
 
 RegisterClass (PickupCollection)
 
 RegisterClass (PickupRepresentation)
 
 RegisterClass (PongScore)
 
 RegisterClass (QuestEffectBeacon)
 
 RegisterClass (FlameGun)
 
 RegisterClass (IceGun)
 
 RegisterClass (MineGun)
 
 RegisterClass (SplitGun)
 
 RegisterClass (ArtificialController)
 
 RegisterClass (Backlight)
 
 RegisterClass (MineProjectile)
 
 RegisterClass (PartDestructionEvent)
 
 RegisterClass (Asteroids2DStone)
 
 RegisterClass (Spectator)
 
 RegisterClass (NotificationQueueCEGUI)
 
 RegisterClass (Script)
 
 RegisterClass (Trigger)
 
 RegisterClass (TriggerBase)
 
 RegisterClass (ShroomHUD)
 
 RegisterClass (OverlayText)
 
 RegisterClass (ShrinkPickup)
 
 RegisterClass (PongBall)
 
 RegisterClass (RocketFireOld)
 
 RegisterClass (FusionFire)
 
 RegisterClass (RocketFire)
 
 RegisterClass (SpaceShip)
 
 RegisterClass (WeaponSystem)
 
 RegisterClass (IceGunProjectile)
 
 RegisterClass (Camera)
 
 RegisterClass (Level)
 
 RegisterClass (Dock)
 
 RegisterClass (Asteroids2DWeapon)
 
 RegisterClass (FlagHUD)
 
 RegisterClass (PickupSpawner)
 
 RegisterClass (DistanceMultiTrigger)
 
 RegisterClass (HealthPickup)
 
 RegisterClass (LensFlare)
 
 RegisterClass (HUDPickupSystem)
 
 RegisterClass (SOBGumbaBoss)
 
 RegisterClass (ControllableEntity)
 
 RegisterClass (Model)
 
 RegisterClass (ShipPart)
 
 RegisterClass (EnergyDrink)
 
 RegisterClass (DistanceTrigger)
 
 RegisterClass (MultiStateEngine)
 
 RegisterClass (ChatOverlay)
 
 RegisterClass (BaseObject)
 
 RegisterClass (SOBFireball)
 
 RegisterClass (HsW01)
 
 RegisterClass (SimpleRocketFire)
 
 RegisterClass (InvaderWeapon)
 
 RegisterClass (ModularSpaceShip)
 
 RegisterClass (BarColour)
 
 RegisterClass (HUDRadar)
 
 RegisterClass (ScriptController)
 
 RegisterClass (SimpleRocket)
 
 RegisterClass (RocketOld)
 
 RegisterClass (Rocket)
 
 RegisterClass (FpsPlayer)
 
 RegisterClass (SpicedAsteroidField)
 
 RegisterClass (SOBFigure)
 
 RegisterClass (FormationController)
 
 RegisterClass (SpicedAsteroidBelt)
 
 RegisterClass (Pawn)
 
 RegisterClass (OverlayGroup)
 
 RegisterClass (CountDown)
 
 RegisterClass (Scene)
 
 RegisterClass (StoryModeHUD)
 
 RegisterClass (WagnisHUD)
 
 RegisterClass (OrxonoxOverlay)
 
 RegisterClass (HUDBar)
 
 RegisterClass (HUDNavigation)
 
 RegisterClass (AsteroidMinable)
 
template<class T >
IdentifierregisterClass (const std::string &name, ClassFactory< T > *factory, bool bLoadable=true)
 Overload of registerClass() which determines T implicitly by the template argument of the ClassFactory. More...
 
template<class T >
IdentifierregisterClass (const std::string &name, Factory *factory, bool bLoadable=true)
 Registers a class in the framework. More...
 
 RegisterClass (LevelInfo)
 
 RegisterClassNoArgs (Configurable).virtualBase()
 
 RegisterClassNoArgs (OrxonoxClass)
 
 RegisterClassNoArgs (OrxonoxInterface).virtualBase()
 
 RegisterClassNoArgs (GameConfig)
 
 RegisterClassNoArgs (InputBuffer)
 
 RegisterClassNoArgs (Highscore)
 
 RegisterClassNoArgs (Shader)
 
 RegisterClassNoArgs (CoreConfig)
 
 RegisterClassNoArgs (Identifiable).virtualBase()
 
 RegisterClassNoArgs (BasicProjectile)
 
 RegisterClassNoArgs (LANDiscoverable)
 
 RegisterClassNoArgs (Shell)
 
 RegisterClassNoArgs (Timer)
 
 RegisterClassNoArgs (RealTimer)
 
_UtilExport const OutputContextContainerregisterContext (const std::string &name, const std::string &subname="")
 Registers a context. More...
 
 registerMemberNetworkFunction (NotificationDispatcher, broadcastHelper)
 
 registerMemberNetworkFunction (ControllableEntity, fire)
 
 registerMemberNetworkFunction (NotificationDispatcher, dispatch)
 
 registerMemberNetworkFunction (Test, checkU1)
 
 registerMemberNetworkFunction (ControllableEntity, setTargetInternal)
 
 registerMemberNetworkFunction (Test, printBlaBla)
 
 registerMemberNetworkFunction (GametypeInfo, dispatchAnnounceMessage)
 
 registerMemberNetworkFunction (GametypeInfo, dispatchKillMessage)
 
 registerMemberNetworkFunction (GametypeInfo, dispatchDeathMessage)
 
 registerMemberNetworkFunction (GametypeInfo, dispatchStaticMessage)
 
 registerMemberNetworkFunction (GametypeInfo, dispatchFadingMessage)
 
 registerMemberNetworkFunction (GametypeInfo, changedReadyToSpawn)
 
 registerMemberNetworkFunction (GametypeInfo, changedSpawned)
 
template<class T , class PT >
NetworkFunctionBaseregisterMemberNetworkFunctionFct (PT ptr, const std::string &name)
 
 RegisterStaticInitializationHandler (NetworkStaticInitializationHandler)
 
 registerStaticNetworkFunction (Script::executeHelper)
 
 registerStaticNetworkFunction (NotificationListener::sendHelper)
 
 registerStaticNetworkFunction (Dock::showDockingDialog)
 
 registerStaticNetworkFunction (PickupManager::pickupChangedUsedNetwork)
 
 registerStaticNetworkFunction (PickupManager::pickupChangedPickedUpNetwork)
 
 registerStaticNetworkFunction (PickupManager::dropPickupNetworked)
 
 registerStaticNetworkFunction (PickupManager::usePickupNetworked)
 
template<class PT >
NetworkFunctionBaseregisterStaticNetworkFunctionFct (PT ptr, const std::string &name)
 
 RegisterUnloadableClass (Controller)
 
 RegisterUnloadableClass (Asteroids)
 
 RegisterUnloadableClass (Deathmatch)
 
 RegisterUnloadableClass (TeamBaseMatch)
 
 RegisterUnloadableClass (TeamDeathmatch)
 
 RegisterUnloadableClass (LastManStanding)
 
 RegisterUnloadableClass (LastTeamStanding)
 
 RegisterUnloadableClass (TeamGametype)
 
 RegisterUnloadableClass (OrxyRoad)
 
 RegisterUnloadableClass (UnderAttack)
 
 RegisterUnloadableClass (DodgeRace)
 
 RegisterUnloadableClass (OrxoKart)
 
 RegisterUnloadableClass (MultiTriggerContainer)
 
 RegisterUnloadableClass (QuestItem)
 
 RegisterUnloadableClass (Hover)
 
 RegisterUnloadableClass (HumanPlayer)
 
 RegisterUnloadableClass (StoryMode)
 
 RegisterUnloadableClass (Mission)
 
 RegisterUnloadableClass (Dynamicmatch)
 
 RegisterUnloadableClass (PongAI)
 
 RegisterUnloadableClass (Mini4DgameAI)
 
 RegisterUnloadableClass (NotificationDispatcher)
 
 RegisterUnloadableClass (Pickup)
 
 RegisterUnloadableClass (GametypeInfo)
 
 RegisterUnloadableClass (SOB)
 
 RegisterUnloadableClass (Pong)
 
 RegisterUnloadableClass (Gametype)
 
 RegisterUnloadableClass (Invader)
 
 RegisterUnloadableClass (Mini4Dgame)
 
 RegisterUnloadableClass (FlappyOrx)
 
 RegisterUnloadableClass (Tetris)
 
 RegisterUnloadableClass (Jump)
 
 RegisterUnloadableClass (HumanController)
 
 RegisterUnloadableClass (Asteroids2D)
 
 RegisterUnloadableClass (SpaceRace)
 
 RegisterUnloadableClass (TowerDefense)
 
std::string removeSlashes (const std::string &str)
 Removes backslashes from the given string. More...
 
std::string removeTrailingWhitespaces (const std::string &str)
 Returns a copy of a string without trailing whitespaces. More...
 
size_t replaceCharacters (std::string &str, char target, char replacement)
 Replaces individual charaters. More...
 
template<class T , class V >
void resetConfigValueGeneric (T *object, V *variable, const std::string &entryName)
 Resets a runtime configurable value to its default. More...
 
template<class T >
uint32_t returnSize (const T &variable)
 returns the size of the variable in a datastream More...
 
template<class T >
uint32_t returnSize (T *&variable)
 returns the size of the objectID needed to synchronise the pointer More...
 
uint32_t returnSize (const char *&variable)
 
template<class T >
uint32_t returnSize (const StrongPtr< T > &)
 returns the size of the objectID needed to synchronise the pointer More...
 
template<>
uint32_t returnSize (const bool &)
 
template<>
uint32_t returnSize (const char &)
 
template<class T >
uint32_t returnSize (const WeakPtr< T > &variable)
 returns the size of the objectID needed to synchronise the pointer More...
 
template<>
uint32_t returnSize (const unsigned char &)
 
template<>
uint32_t returnSize (const short &)
 
template<>
uint32_t returnSize (const unsigned short &)
 
template<>
uint32_t returnSize (const int &)
 
template<>
uint32_t returnSize (const unsigned int &)
 
template<>
uint32_t returnSize (const long &)
 
template<>
uint32_t returnSize (const unsigned long &)
 
template<>
uint32_t returnSize (const long long &)
 
template<>
uint32_t returnSize (const unsigned long long &)
 
template<>
uint32_t returnSize (const float &)
 
template<>
uint32_t returnSize (const double &)
 
template<>
uint32_t returnSize (const long double &)
 
template<>
uint32_t returnSize (const std::string &variable)
 
template<>
uint32_t returnSize (const Degree &)
 
template<>
uint32_t returnSize (const Radian &)
 
template<>
uint32_t returnSize (const Vector2 &variable)
 
template<>
uint32_t returnSize (const Vector3 &variable)
 
template<>
uint32_t returnSize (const Vector4 &variable)
 
template<>
uint32_t returnSize (const Quaternion &variable)
 
template<>
uint32_t returnSize (const ColourValue &variable)
 
template<>
uint32_t returnSize (const mbool &variable)
 
template<class T >
uint32_t returnSize (const std::set< T > &variable)
 
float rnd (float min, float max)
 Returns a random number between min and almost max: min <= rnd < max. More...
 
float rnd ()
 Returns a random number between 0 and almost 1: 0 <= rnd < 1. More...
 
float rnd (float max)
 Returns a random number between 0 and almost max: 0 <= rnd < max. More...
 
void rndseed (unsigned int seed)
 Seeds the random number generator used for the functions below. More...
 
float rndsgn ()
 Returns randomly 1 or -1 with equal probability. More...
 
template<class T >
void safeObjectDelete (T **object)
 Deletes an object and resets the pointer. More...
 
template<class T >
void saveAndIncrease (const T &variable, uint8_t *&mem)
 saves the value of a variable into the bytestream and increases the mem pointer More...
 
template<class T >
void saveAndIncrease (T *&variable, uint8_t *&mem)
 saves the objectID of a pointer into the bytestream and increases the mem pointer More...
 
void saveAndIncrease (const char *&variable, uint8_t *&mem)
 
template<class T >
void saveAndIncrease (const StrongPtr< T > &variable, uint8_t *&mem)
 saves the objectID of a pointer into the bytestream and increases the mem pointer More...
 
template<>
void saveAndIncrease (const bool &variable, uint8_t *&mem)
 
template<>
void saveAndIncrease (const char &variable, uint8_t *&mem)
 
template<class T >
void saveAndIncrease (const WeakPtr< T > &variable, uint8_t *&mem)
 saves the objectID of a pointer into the bytestream and increases the mem pointer More...
 
template<>
void saveAndIncrease (const unsigned char &variable, uint8_t *&mem)
 
template<>
void saveAndIncrease (const short &variable, uint8_t *&mem)
 
template<>
void saveAndIncrease (const unsigned short &variable, uint8_t *&mem)
 
template<>
void saveAndIncrease (const int &variable, uint8_t *&mem)
 
template<>
void saveAndIncrease (const unsigned int &variable, uint8_t *&mem)
 
template<>
void saveAndIncrease (const long &variable, uint8_t *&mem)
 
template<>
void saveAndIncrease (const unsigned long &variable, uint8_t *&mem)
 
template<>
void saveAndIncrease (const long long &variable, uint8_t *&mem)
 
template<>
void saveAndIncrease (const unsigned long long &variable, uint8_t *&mem)
 
template<>
void saveAndIncrease (const float &variable, uint8_t *&mem)
 
template<>
void saveAndIncrease (const double &variable, uint8_t *&mem)
 
template<>
void saveAndIncrease (const long double &variable, uint8_t *&mem)
 
template<>
void saveAndIncrease (const std::string &variable, uint8_t *&mem)
 
template<>
void saveAndIncrease (const Degree &variable, uint8_t *&mem)
 
template<>
void saveAndIncrease (const Radian &variable, uint8_t *&mem)
 
template<>
void saveAndIncrease (const Vector2 &variable, uint8_t *&mem)
 
template<>
void saveAndIncrease (const Vector3 &variable, uint8_t *&mem)
 
template<>
void saveAndIncrease (const Vector4 &variable, uint8_t *&mem)
 
template<>
void saveAndIncrease (const Quaternion &variable, uint8_t *&mem)
 
template<>
void saveAndIncrease (const ColourValue &variable, uint8_t *&mem)
 
template<>
void saveAndIncrease (const mbool &variable, uint8_t *&mem)
 
template<class T >
void saveAndIncrease (const std::set< T > &variable, uint8_t *&mem)
 
int seekVorbis (void *datasource, ogg_int64_t offset, int whence)
 
 SetCommandLineArgument (dest,"127.0.0.1").information("Server hostname/IP (IP in the form of GSClient
 
 SetCommandLineArgument (externalDataPath,"").information("Path to the external data files")
 
 SetCommandLineArgument (writingPathSuffix,"").information("Additional subfolder for config and log files")
 
 SetCommandLineArgument (settingsFile,"orxonox.ini").information("THE configuration file")
 
 SetCommandLineArgument (generateDoc,"").information("Generates a Doxygen file from things like SetConsoleCommand")
 
 SetCommandLineSwitch (console).information("Start in console mode (text IO only)")
 
 SetCommandLineSwitch (server).information("Start in server mode")
 
 SetCommandLineSwitch (client).information("Start in client mode")
 
 SetCommandLineSwitch (dedicated).information("Start in dedicated server mode")
 
 SetCommandLineSwitch (standalone).information("Start in standalone mode")
 
 SetCommandLineSwitch (dedicatedClient).information("Start in dedicated client mode")
 
 SetCommandLineSwitch (masterserver).information("Start in masterserver mode")
 
 SetCommandLineSwitch (keyboard_no_grab).information("Whether not to exclusively grab the keyboard")
 
 SetCommandLineSwitch (noIOConsole).information("Use this if you don't want to use the IOConsole (for instance for Lua debugging)")
 
template<class T , class D , class V >
ConfigValueContainersetConfigValueGeneric (T *object, V *variable, ConfigFileType::Value type, const std::string &sectionName, const std::string &entryName, const D &defaultValue)
 Sets a runtime configurable value. More...
 
 SetConsoleCommand ("Test","printV1",&Test::printV1).addShortcut()
 
 SetConsoleCommand ("ms-listservers",&MasterServer::listServers)
 
 SetConsoleCommand ("WorldAmbientSound","nextsong",&WorldAmbientSound::nextSong)
 
 SetConsoleCommand ("Test","printV2",&Test::printV2).addShortcut()
 
 SetConsoleCommand ("ms-delserver",&MasterServer::delServer)
 
 SetConsoleCommand ("Test","printV3",&Test::printV3).addShortcut()
 
 SetConsoleCommand ("Mission","endMission",&Mission::endMission)
 
 SetConsoleCommand ("Test","printV4",&Test::printV4).addShortcut()
 
 SetConsoleCommand ("Mission","setLives",&Mission::setLivesWrapper)
 
 SetConsoleCommand ("Test","call",&Test::call).addShortcut()
 
 SetConsoleCommand ("StoryMode","exit",&StoryMode::exit)
 
 SetConsoleCommand (__CC_printRTT_group, __CC_printRTT_name,&Host::printRTT)
 
 SetConsoleCommand ("chat",&ChatManager::chat).defaultValue(1
 
 SetConsoleCommand ("Test","call2",&Test::call2).addShortcut()
 
 SetConsoleCommand (__CC_CommandExecutor_name, __CC_autocomplete_name,&CommandExecutor::_autocomplete).hide().argumentCompleter(0
 
 SetConsoleCommand ("HumanController","moveFrontBack",&HumanController::moveFrontBack).addShortcut().setAsInputCommand()
 
 SetConsoleCommand ("ArtificialController","setbotlevel",&ArtificialController::setAllBotLevel)
 
 SetConsoleCommand ("tcl",&TclBind::tcl)
 
 SetConsoleCommand ("Trigger","debugFlares",&Trigger::debugFlares).defaultValues(false)
 
 SetConsoleCommand ("HumanController","moveRightLeft",&HumanController::moveRightLeft).addShortcut().setAsInputCommand()
 
 SetConsoleCommand ("bgerror",&TclBind::bgerror).hide()
 
 SetConsoleCommand ("HumanController","moveUpDown",&HumanController::moveUpDown).addShortcut().setAsInputCommand()
 
 SetConsoleCommand ("echo", echo)
 
 SetConsoleCommand ("HumanController","rotateYaw",&HumanController::rotateYaw).addShortcut().setAsInputCommand()
 
 SetConsoleCommand ("IRC","say",&IRC::say)
 
 SetConsoleCommand (__CC_Mouse_name, __CC_grab_name,&Mouse::grab)
 
 SetConsoleCommand ("HumanController","rotatePitch",&HumanController::rotatePitch).addShortcut().setAsInputCommand()
 
 SetConsoleCommand ("IRC","msg",&IRC::msg)
 
 SetConsoleCommand ("orxout", orxout_level)
 
 SetConsoleCommand ("IRC","nick",&IRC::nick)
 
 SetConsoleCommand ("HumanController","rotateRoll",&HumanController::rotateRoll).addShortcut().setAsInputCommand()
 
 SetConsoleCommand ("unhide",&CommandExecutor::unhide).argumentCompleter(0
 
 SetConsoleCommand (__CC_keybind_name,&KeyBinderManager::keybind).defaultValues("").argumentCompleter(0
 
 SetConsoleCommand (__CC_Mouse_name, __CC_ungrab_name,&Mouse::ungrab)
 
 SetConsoleCommand ("Dock","dock",&Dock::cmdDock).addShortcut().setAsInputCommand()
 
 SetConsoleCommand (__CC_tkeybind_name,&KeyBinderManager::tkeybind).defaultValues("").argumentCompleter(0
 
 SetConsoleCommand ("orxout_context", orxout_level_context)
 
 SetConsoleCommand ("ModularSpaceShip","killshippart",&ModularSpaceShip::killShipPartStatic)
 
 SetConsoleCommand ("delay",&delay).argumentCompleter(1
 
 SetConsoleCommand ("PluginManager", __CC_PluginManager_load_name,&PluginManager::loadPlugin)
 
 SetConsoleCommand ("Dock","undock",&Dock::cmdUndock).addShortcut().setAsInputCommand()
 
 SetConsoleCommand (__CC_unbind_name,&KeyBinderManager::unbind).defaultValues("")
 
 SetConsoleCommand ("delayreal",&delayreal).argumentCompleter(1
 
 SetConsoleCommand ("PluginManager", __CC_PluginManager_unload_name,&PluginManager::unloadPlugin)
 
 SetConsoleCommand ("FormationController","formationflight",&FormationController::formationflight)
 
 SetConsoleCommand ("log", log)
 
 SetConsoleCommand ("FormationController","masteraction",&FormationController::masteraction)
 
 SetConsoleCommand ("killdelay",&killdelay)
 
 SetConsoleCommand (__CC_load_name,&ConfigFile::load)
 
 SetConsoleCommand ("alias",&CommandExecutor::alias).argumentCompleter(1
 
 SetConsoleCommand (__CC_tunbind_name,&KeyBinderManager::tunbind).defaultValues("")
 
 SetConsoleCommand ("printObjects",&GSRoot::printObjects).hide()
 
 SetConsoleCommand ("Gametype", __CC_addBots_name,&Gametype::addBots).addShortcut().defaultValues(1)
 
 SetConsoleCommand (__CC_setFilename_name,&SettingsConfigFile::setFilename)
 
 SetConsoleCommand ("killdelays",&killdelays)
 
 SetConsoleCommand ("error", error).hide()
 
 SetConsoleCommand ("FormationController","followme",&FormationController::followme)
 
 SetConsoleCommand (__CC_config_name,&SettingsConfigFile::config).argumentCompleter(0
 
 SetConsoleCommand ("Mini4Dgame","setStone",&Mini4Dgame::setStone).addShortcut()
 
 SetConsoleCommand ("warning", warning).hide()
 
 SetConsoleCommand ("FormationController","passivebehaviour",&FormationController::passivebehaviour)
 
 SetConsoleCommand ("Gametype", __CC_killBots_name,&Gametype::killBots).addShortcut().defaultValues(0)
 
 SetConsoleCommand ("status", status).hide()
 
 SetConsoleCommand ("Mini4Dgame","undoStone",&Mini4Dgame::undoStone).addShortcut()
 
 SetConsoleCommand (__CC_tconfig_name,&SettingsConfigFile::tconfig).argumentCompleter(0
 
 SetConsoleCommand ("FormationController","formationsize",&FormationController::formationsize)
 
 SetConsoleCommand ("HumanController","switchCamera",&HumanController::switchCamera).addShortcut()
 
 SetConsoleCommand ("TclThreadManager","create",&TclThreadManager::create)
 
 SetConsoleCommand (__CC_getConfig_name,&SettingsConfigFile::getConfig).argumentCompleter(0
 
 SetConsoleCommand ("info", info).hide()
 
 SetConsoleCommand ("TclThreadManager","destroy",&TclThreadManager::destroy).argumentCompleter(0
 
 SetConsoleCommand ("HumanController","mouseLook",&HumanController::mouseLook).addShortcut()
 
 SetConsoleCommand ("exit",&stop_game)
 
 SetConsoleCommand ("debug", debug).hide()
 
 SetConsoleCommand ("OverlayGroup","toggleVisibility",&OverlayGroup::toggleVisibility).argumentCompleter(0
 
 SetConsoleCommand ("HumanController", __CC_suicide_name,&HumanController::suicide).addShortcut()
 
 SetConsoleCommand ("TclThreadManager","execute",&TclThreadManager::execute).argumentCompleter(0
 
 SetConsoleCommand (__CC_startStandalone_name,&GSMainMenu::startStandalone).defaultValues("").deactivate()
 
 SetConsoleCommand ("HumanController","toggleGodMode",&HumanController::toggleGodMode).addShortcut()
 
 SetConsoleCommand ("TclThreadManager","query",&TclThreadManager::query).argumentCompleter(0
 
 SetConsoleCommand (__CC_startServer_name,&GSMainMenu::startServer).defaultValues("").deactivate()
 
 SetConsoleCommand ("SkyboxGenerator","createSkybox",&SkyboxGenerator::createSkybox).addShortcut()
 
 SetConsoleCommand ("OverlayGroup","show",&OverlayGroup::show).argumentCompleter(0
 
 SetConsoleCommand (__CC_startMainMenu_name,&GSLevel::startMainMenu).deactivate()
 
 SetConsoleCommand ("printScreenHD",&ScreenshotManager::makeScreenshot_s)
 
 SetConsoleCommand ("HumanController","cycleNavigationFocus",&HumanController::cycleNavigationFocus).addShortcut()
 
 SetConsoleCommand ("OverlayGroup","scaleGroup",&OverlayGroup::scaleGroup).argumentCompleter(0
 
 SetConsoleCommand ("TclThreadManager","source",&TclThreadManager::source).argumentCompleter(0
 
 SetConsoleCommand ("Stats","printFPS",&printFPS)
 
 SetConsoleCommand ("Pawn","debugDrawWeapons",&Pawn::consoleCommand_debugDrawWeapons).addShortcut()
 
 SetConsoleCommand (__CC_startClient_name,&GSMainMenu::startClient).defaultValues("").deactivate()
 
 SetConsoleCommand (__CC_changeGame_name,&GSLevel::changeGame).defaultValues("").deactivate()
 
 SetConsoleCommand (__CC_startDedicated_name,&GSMainMenu::startDedicated).defaultValues("").deactivate()
 
 SetConsoleCommand ("HumanController","releaseNavigationFocus",&HumanController::releaseNavigationFocus).addShortcut()
 
 SetConsoleCommand ("OverlayGroup","scrollGroup",&OverlayGroup::scrollGroup).argumentCompleter(0
 
 SetConsoleCommand (__CC_reloadLevel_name,&GSLevel::reloadLevel).deactivate()
 
 SetConsoleCommand ("HumanController","myposition",&HumanController::myposition).addShortcut()
 
 SetConsoleCommand (__CC_setMainMenuSoundPath_name,&GSMainMenu::setMainMenuSoundPath).hide()
 
 SetConsoleCommand ("Stats","printTickTime",&printTickTime)
 
 SetConsoleCommand ("OrxonoxOverlay","scaleOverlay",&OrxonoxOverlay::scaleOverlay)
 
 SetConsoleCommand ("calculate", calculate)
 
 SetConsoleCommand ("OrxonoxOverlay","scrollOverlay",&OrxonoxOverlay::scrollOverlay)
 
 SetConsoleCommand (__CC_InputManager_name, __CC_calibrate_name,&InputManager::calibrate).addShortcut()
 
 SetConsoleCommand ("startchat",&ChatInputHandler::activate_static)
 
 SetConsoleCommand ("OrxonoxOverlay","toggleVisibility",&OrxonoxOverlay::toggleVisibility)
 
 SetConsoleCommand ("startchat_small",&ChatInputHandler::activate_small_static)
 
 SetConsoleCommand ("OrxonoxOverlay","show",&OrxonoxOverlay::showOverlay)
 
 SetConsoleCommand (__CC_InputManager_name, __CC_reload_name,&InputManager::reload)
 
 SetConsoleCommand ("OrxonoxOverlay","rotateOverlay",&OrxonoxOverlay::rotateOverlay)
 
 SetConsoleCommand ("Scene","debugDrawPhysics",&Scene::consoleCommand_debugDrawPhysics).addShortcut().defaultValue(1
 Constructor, it sets common standard paramters for a scene depending on whether it will be rendered or not. More...
 
 SetConsoleCommand ("InGameConsole","openConsole",&InGameConsole::openConsole)
 
 SetConsoleCommand ("InGameConsole","closeConsole",&InGameConsole::closeConsole)
 
 SetConsoleCommand ("keyESC",&key_esc)
 
 SetConsoleCommand ("showGUI",&GUIManager::showGUI).defaultValue(1
 
 SetConsoleCommand ("hideGUI",&GUIManager::hideGUI).argumentCompleter(0
 
 SetConsoleCommand ("toggleGUI",&GUIManager::toggleGUI).defaultValue(1
 
template<typename T >
constexpr T sgn (T x)
 Returns the sign of the given value. More...
 
void sleep (unsigned long seconds)
 Makes the thread sleep for a few seconds. More...
 
void source (const std::string &filename)
 Reads the content of a file and executes the commands in it line by line. More...
 
void sourceThread (const std::string &file)
 The main function of a non-interactive source thread. More...
 
template<typename T >
constexpr T square (T x)
 Returns the squared value (x^2). More...
 
template<class T , class U >
WeakPtr< T > static_pointer_cast (const WeakPtr< U > &p)
 Uses a static_cast to cast a pointer of type U* to a pointer of type T* and returns it in a new WeakPtr<T>. More...
 
template<class T , class U >
StrongPtr< T > static_pointer_cast (const StrongPtr< U > &p)
 Uses a static_cast to cast a pointer of type U* to a pointer of type T* and returns it in a new StrongPtr<T>. More...
 
void status (const std::string &text)
 Prints output with status level. More...
 
static void stop_game ()
 
void strip (std::string *str)
 Removes all whitespaces from a string. More...
 
std::string stripEnclosingBraces (const std::string &str)
 Removes enclosing braces '{' and '}' (the braces must be exactly on the beginning and the end of the string). More...
 
std::string stripEnclosingQuotes (const std::string &str)
 Removes enclosing quotation marks if available (including whitespaces at the outside of the quotation marks). More...
 
bool sub_compAddr (ENetAddress addr1, ENetAddress addr2)
 
bool sub_compare_names (ServerListElem no1, ServerListElem no2)
 
bool sub_compare_pings (ServerListElem no1, ServerListElem no2)
 
 SUPER_FUNCTION (1, Tickable, tick, true)
 
 SUPER_FUNCTION (9, Pickupable, changedUsed, false)
 SUPER functions. More...
 
 SUPER_FUNCTION (10, Pickupable, changedCarrier, false)
 
 SUPER_FUNCTION (11, Pickupable, changedPickedUp, false)
 
 SUPER_FUNCTION (6, OrxonoxOverlay, changedOwner, false)
 
 SUPER_FUNCTION (7, OrxonoxOverlay, changedOverlayGroup, false)
 
 SUPER_FUNCTION (0, BaseObject, XMLPort, false)
 
 SUPER_FUNCTION (2, BaseObject, changedActivity, false)
 
 SUPER_FUNCTION (3, BaseObject, changedVisibility, false)
 
 SUPER_FUNCTION (4, BaseObject, XMLEventPort, false)
 
 SUPER_FUNCTION (8, BaseObject, changedName, false)
 
 SUPER_FUNCTION (5, WorldEntity, changedScale, false)
 
template<class T >
void swap (WeakPtr< T > &a, WeakPtr< T > &b)
 Swaps the contents of two weak pointers. More...
 
template<class T >
void swap (StrongPtr< T > &a, StrongPtr< T > &b)
 Swaps the contents of two strong pointers. More...
 
int Tcl_OrxonoxAppInit (Tcl_Interp *interp)
 A tcl-init hook to inject the non-interactive Tcl-interpreter into the TclThreadManager. More...
 
void tclThread (TclInterpreterBundle *bundle, const std::string &command)
 The main function of the thread. More...
 
long tellVorbis (void *datasource)
 
boost::posix_time::millisec THREAD_WAIT_BEFORE_DETACH (1000)
 
bool toClipboard (const std::string &text)
 Default implementation if there is no OS-specific implementation or no clipboard. More...
 
template<class T >
std::string typeToString ()
 Returns the name of type T as string. More...
 
void uppercase (std::string *str)
 Replaces each char between a and z with its uppercase equivalent. More...
 
void usleep (unsigned long microseconds)
 Makes the thread sleep for a few microseconds. More...
 
btVector3 vector3 (const Ogre::Vector3 &V)
 
Ogre::Vector3 vector3 (const btVector3 &V)
 
void vectorize (const std::string &str, char delimiter, std::vector< std::string > *output)
 Splits a given string by a delimiter and stores it in an output vector. See SubString for a more sophisticated implementation. More...
 
void warning (const std::string &text)
 Prints output with warning level. More...
 
void write (const std::string &filename, const std::string &text)
 Writes text to a file. More...
 
template<typename T >
std::enable_if<!std::is_enum< T >::value, T >::type zeroise ()
 Returns a "zero" value for the given type. More...
 
template<typename T >
std::enable_if< std::is_enum< T >::value, T >::type zeroise ()
 Implementation for enum classes: uses the underlying type to create a zero value. More...
 
template<>
bool zeroise< bool > ()
 
template<>
char zeroise< char > ()
 
template<>
double zeroise< double > ()
 
template<>
float zeroise< float > ()
 
template<>
int zeroise< int > ()
 
template<>
long zeroise< long > ()
 
template<>
long double zeroise< long double > ()
 
template<>
long long zeroise< long long > ()
 
template<>
orxonox::ColourValue zeroise< orxonox::ColourValue > ()
 
template<>
orxonox::Degree zeroise< orxonox::Degree > ()
 
template<>
orxonox::Quaternion zeroise< orxonox::Quaternion > ()
 
template<>
orxonox::Radian zeroise< orxonox::Radian > ()
 
template<>
orxonox::Vector2 zeroise< orxonox::Vector2 > ()
 
template<>
orxonox::Vector3 zeroise< orxonox::Vector3 > ()
 
template<>
orxonox::Vector4 zeroise< orxonox::Vector4 > ()
 
template<>
short zeroise< short > ()
 
template<>
std::string zeroise< std::string > ()
 
template<>
unsigned char zeroise< unsigned char > ()
 
template<>
unsigned int zeroise< unsigned int > ()
 
template<>
unsigned long zeroise< unsigned long > ()
 
template<>
unsigned long long zeroise< unsigned long long > ()
 
template<>
unsigned short zeroise< unsigned short > ()
 
template<>
voidzeroise< void * > ()
 

Variables

static const std::string __CC_addBots_name = "addBots"
 
static const std::string __CC_autocomplete_name = "autocomplete"
 
static const std::string __CC_calibrate_name = "calibrate"
 
static const std::string __CC_changeGame_name = "changeGame"
 
static const std::string __CC_CommandExecutor_name = "CommandExecutor"
 
static const std::string __CC_config_name = "config"
 
const std::string __CC_fire_name = "fire"
 
static const std::string __CC_getConfig_name = "getConfig"
 
static const std::string __CC_getTimeFactor_name = "getTimeFactor"
 
static const std::string __CC_grab_name = "grab"
 
static const std::string __CC_GraphicsManager_group = "GraphicsManager"
 
static const std::string __CC_InputManager_name = "InputManager"
 
static const std::string __CC_keybind_name = "keybind"
 
static const std::string __CC_KeyDetector_callback_name = "KeyDetectorKeyPressed"
 
static const std::string __CC_killBots_name = "killBots"
 
static const std::string __CC_load_name = "reloadSettings"
 
static const std::string __CC_Mouse_name = "Mouse"
 
static const std::string __CC_pause_name = "pause"
 
static const std::string __CC_PluginManager_load_name = "load"
 
static const std::string __CC_PluginManager_unload_name = "unload"
 
static const std::string __CC_printRTT_group = "Stats"
 
static const std::string __CC_printRTT_name = "printRTT"
 
static const std::string __CC_printScreen_name = "printScreen"
 
static const std::string __CC_reload_name = "reload"
 
static const std::string __CC_reloadLevel_name = "reloadLevel"
 
static const std::string __CC_setFilename_name = "setSettingsFile"
 
static const std::string __CC_setFSAA_name = "setFSAA"
 
static const std::string __CC_setMainMenuSoundPath_name = "setMMSoundPath"
 
static const std::string __CC_setPause_name = "setPause"
 
static const std::string __CC_setScreenResolution_name = "setScreenResolution"
 
static const std::string __CC_setTimeFactor_name = "setTimeFactor"
 
static const std::string __CC_setVSync_name = "setVSync"
 
static const std::string __CC_startClient_name = "startClient"
 
static const std::string __CC_startDedicated_name = "startDedicated"
 
static const std::string __CC_startMainMenu_name = "startMainMenu"
 
static const std::string __CC_startServer_name = "startServer"
 
static const std::string __CC_startStandalone_name = "startGame"
 
const std::string __CC_suicide_name = "suicide"
 
static const std::string __CC_tconfig_name = "tconfig"
 
static const std::string __CC_tkeybind_name = "tkeybind"
 
static const std::string __CC_tunbind_name = "tunbind"
 
static const std::string __CC_unbind_name = "unbind"
 
static const std::string __CC_ungrab_name = "ungrab"
 
const unsigned int ACKID_NACK = 0
 
const int ACL_MODE_COMPARABLE = 2
 A flag, used if there's a different string used to compare. More...
 
const int ACL_MODE_DISPLAY = 4
 A flag, used if there's a different string used to be displayed. More...
 
const int ACL_MODE_NORMAL = 1
 A flag, used if there's a normal string. More...
 
const int ADJUSTDISTANCE = 500
 
const int attacker_ = 0
 
std::string BLANKSTRING
 A blank string (""). Used to return a blank string by reference. More...
 
const unsigned int CLIENTID_SERVER = 0
 
static std::string clipboard
 Keeps the text of our internal clipboard. More...
 
SetConsoleCommand("WagnisHUD","selectClosest",&WagnisHUD::selectClosestTarget).addShortcut().keybindMode(KeybindMode static SetConsoleCommand("WagnisHUD","selectNext",&WagnisHUD::selectNextTarget).addShortcut().keybindMode(KeybindMode bool compareDistance (std::pair< RadarViewable *, unsigned int > a, std::pair< RadarViewable *, unsigned int > b)
 
SetConsoleCommand("HUDNavigation","selectClosest",&HUDNavigation::selectClosestTarget).addShortcut().keybindMode(KeybindMode static SetConsoleCommand("HUDNavigation","selectNext",&HUDNavigation::selectNextTarget).addShortcut().keybindMode(KeybindMode bool compareDistance (std::pair< RadarViewable *, unsigned int > a, std::pair< RadarViewable *, unsigned int > b)
 
static const float CONTINUOUS_SYNCHRONIZATION_TIME = 10.0f
 
const int defender_ = 1
 
static unsigned int delayHandleCounter = 0
 
static boost::bimap< unsigned int, Timer * > delaytimers
 
constexpr dontcare_keyword_t dontcare = dontcare_keyword_t()
 Keyword for the dontcare tribool value. More...
 
static constexpr float FORMATION_LENGTH = 110
 
static constexpr float FORMATION_WIDTH = 110
 
static const float FORWARD_EFFECT_VELOCITY_THRESHOLD = 0
 
static constexpr int FREEDOM_COUNT = 4
 
static constexpr unsigned int GAMESTATEID_INITIAL = static_cast<unsigned int>(-1)
 
PacmanGhostghosts [4]
 
const float HARDCODED_CHAR_WIDTH = 8.0f
 
static constexpr unsigned int IRC_TCL_THREADID = 1421421421
 The ID of the thread in TclThreadManager that is used for the IRC connection. More...
 
const float jumpValue_ = 300
 
const int KEEP_GAMESTATES = 10
 
const char * LAN_DISCOVERY_ACK = "Orxonox Server Ack"
 
const char * LAN_DISCOVERY_MESSAGE = "Orxonox Client"
 
static constexpr unsigned int LAN_DISCOVERY_PORT = 55558
 
const int LINES = 30
 
static constexpr int MAX_ARCHIVED_FILES = 9
 
const unsigned int MAX_FAILURES = 20
 
static constexpr unsigned int MAX_FUNCTION_POINTER_INTS = (MAX_FUNCTION_POINTER_SIZE-1)/4+1
 
static constexpr unsigned int MAX_FUNCTION_POINTER_SIZE = 16
 
const unsigned int MAX_FUNCTOR_ARGUMENTS = 5
 The maximum number of parameters of a function that is supported by Functor. More...
 
static const float MAX_REACTION_TIME = 0.4f
 
static const float MAX_RESYNCHRONIZE_TIME = 3.0f
 
const unsigned int MAX_VECTOR_INDEX = 255
 
static const float MAX_VELOCITY_BOOST = 221
 
static const float MAX_VELOCITY_NORMAL = 111
 
const int MINDISTANCE = 5
 
static constexpr unsigned int NETWORK_CHANNEL_COUNT = 2
 
static constexpr unsigned int NETWORK_CHANNEL_DEFAULT = 0
 
static constexpr unsigned int NETWORK_CHANNEL_UNRELIABLE = 1
 
const unsigned int NETWORK_CLIENT_CONNECTION_TIMEOUT = 3000
 
const unsigned int NETWORK_CLIENT_MAX_CONNECTIONS = 1
 
const unsigned int NETWORK_CLIENT_WAIT_TIME = 1
 
const unsigned int NETWORK_DISCONNECT_TIMEOUT = 500
 
const unsigned int NETWORK_FREQUENCY = 25
 
const unsigned int NETWORK_MAX_CONNECTIONS = 50
 
const unsigned int NETWORK_MAX_QUEUE_PROCESS_TIME = 5
 
static constexpr unsigned int NETWORK_PEER_ID_BROADCAST = static_cast<unsigned int>(-1)
 
static constexpr unsigned int NETWORK_PEER_ID_SERVER = 0
 
static constexpr unsigned int NETWORK_PEER_ID_UNKNOWN = static_cast<unsigned int>(-2)
 
const float NETWORK_PERIOD = 1.0f / NETWORK_FREQUENCY
 
const unsigned int NETWORK_PORT = 55556
 
const unsigned int NETWORK_WAIT_TIMEOUT = 1
 
bool newHighscore =0
 
static constexpr uint32_t OBJECTID_UNKNOWN = static_cast<uint32_t>(-1)
 
const float orientationGain_ = 100
 
Vector3 possibleposition []
 
static constexpr int RADIUS_TO_SEARCH_FOR_MASTERS = 5000
 
SetConsoleCommand("NewHumanController","changeMode",&NewHumanController::changeMode).keybindMode(KeybindMode SetConsoleCommand("NewHumanController","accelerate",&NewHumanController::accelerate).keybindMode(KeybindMode SetConsoleCommand("NewHumanController","decelerate",&NewHumanController::decelerate).keybindMode(KeybindMode SetConsoleCommand("NewHumanController","unfire",&NewHumanController::unfire).keybindMode(KeybindMode RegisterUnloadableClass (NewHumanController)
 
static constexpr float ROTATEFACTOR_FREE = 0.8f
 
static constexpr float ROTATEFACTOR_MASTER = 0.2f
 
static constexpr unsigned int SCHED_PRIORITY_OFFSET = static_cast<unsigned int>(-1)
 
SetConsoleCommand("HumanController","toggleFormationFlight",&HumanController::toggleFormationFlight).addShortcut().keybindMode(KeybindMode SetConsoleCommand("HumanController","FFChangeMode",&HumanController::FFChangeMode).addShortcut().keybindMode(KeybindMode SetConsoleCommand("HumanController", __CC_fire_name,&HumanController::fire).addShortcut().keybindMode(KeybindMode SetConsoleCommand ("HumanController","reload",&HumanController::reload).addShortcut()
 
static constexpr float SPEED_FREE = 0.8f
 
static constexpr float SPEED_MASTER = 0.6f
 
static constexpr unsigned int STANDARD_MAX_FORMATION_SIZE = 9
 
constexpr int STENCIL_FULL_MASK = 0xFFFFFFFF
 this is a reference mask used in our stencil buffer More...
 
constexpr int STENCIL_VALUE_FOR_GLOW = 1
 this is a reference value for our mask, More...
 
mode SUPER_FUNCTION_GLOBAL_DECLARATION_PART2
 
const float TCLTHREADMANAGER_MAX_CPU_USAGE = 0.50f
 
const unsigned int UTIL_CRC32POLY = 0x04C11DB7
 
 xmlelement
 

Detailed Description

Die Wagnis Klasse hat die folgenden Aufgaben:

TODO.

  1. Das Spiel erstellen.
  1. Den Spielablauf steuern

Typedef Documentation

typedef CEGUI::colour orxonox::CEGUIColour
template<class T >
using orxonox::ExecutorMemberPtr = typedef std::shared_ptr<ExecutorMember<T>>
using orxonox::ExecutorPtr = typedef std::shared_ptr<Executor>
using orxonox::ExecutorStaticPtr = typedef std::shared_ptr<ExecutorStatic>
template<class T >
using orxonox::FunctorMemberPtr = typedef std::shared_ptr<FunctorMember<T>>
template<class F , class T >
using orxonox::FunctorPointerPtr = typedef std::shared_ptr<FunctorPointer<F, T>>
using orxonox::FunctorPtr = typedef std::shared_ptr<Functor>

FunctorStatic is just a typedef of FunctorMember with T = void.

using orxonox::FunctorStaticPtr = typedef std::shared_ptr<FunctorMember<void>>
typedef std::string orxonox::LanguageEntryLabel
typedef const OutputContextContainer&( orxonox::OutputContextFunction) ()
typedef uint64_t orxonox::OutputContextMask

Used to store the context masks. Each bit defines a context.

typedef uint16_t orxonox::OutputContextSubID

Used to store the IDs of sub-contexts. Each number except context::no_subcontext defines a sub-context.

typedef int(* orxonox::SignalCallback) (void *someData)
typedef std::list<SignalRec> orxonox::SignalRecList
typedef uint8_t orxonox::VariableID
typedef std::pair<Ogre::Vector3, Ogre::ColourValue> orxonox::VertexPair

Enumeration Type Documentation

enum orxonox::AccessLevel
strong

Possible access levels: A command can only be executed if the program is in the state which is requested by the access level.

Enumerator
All 
Standalone 
Master 
Server 
Client 
Online 
Offline 
None 
enum orxonox::Action
strong

ActionpointController is a state machine with states: 1) NONE 2) FLY: fly towards a point 3) FIGHT: fight enemies that are in attackRange_ (see FightingController) 4) PROTECT: follow this->protect_ 5) FIGHTALL: fight all enemies on the map 6) ATTACK: fight a specific spaceship This controller always executes an action that is in the back of the vector being used.

After current this->action_ is completed, next action becomes the top action (one that will be returned by someVector.back()), and current action either will be removed (if not looping), or moved to the top (if looping).

Every second action(), which is once in two seconds, this searches the area for enemies that are in attack range, if finds anyone, pushes Action::FIGHT to the stack. That makes spaceship fight enemies inside of a sphere, and when all enemies in range are dead, Action::FIGHT is removed from the stack, and spaceship resumes doing whatever action was being executed before.

In XML one has to attack Actionpoints in order to achieve any complex behaviour, but in Controller all actionpoints are effectively being stored in an array of type Point::Value.

Note
ActionpointController will not work, if there is no MasterController in the level! All the demos are in a file called AITest.oxw. In the menu look for New AI Testing Level.
Enumerator
NONE 
FLY 
FIGHT 
PROTECT 
FIGHTALL 
ATTACK 
enum orxonox::BaseState
strong
Enumerator
Uncontrolled 
ControlTeam1 
ControlTeam2 
Enumerator
eDirection_Invalid 
eDirection_Up 
eDirection_Right 
eDirection_Down 
eDirection_Left 
enum orxonox::EscapeMode
strong
Enumerator
None 
First 
Second 

FlyingController stores all the flying methods and member variables of AI.

Enumerator
FINGER4 
DIAMOND 
WALL 
Enumerator
NOT_READY 
CHOOSE_PROVINCE_STAGE 
REINFORCEMENT_STAGE 
ATTACK_STAGE 
MOVE_STAGE 
WINNER_STAGE 
Enumerator
receivePacket 
peerConnect 
peerDisconnect 
Enumerator
none 
red 
blue 
green 
Enumerator
ATTACK 
MOVE 
SET_TROOPS 
SET_TROOPS_INITIAL 
Enumerator
Separate 
Share 
Stack 
Enumerator
none 
clear 
Enumerator
info 
important 
Enumerator
local 
network 
broadcast 
Enumerator
sendPacket 
broadcastPacket 
disconnectPeer 
disconnectPeers 
enum orxonox::PlayerState
strong
Enumerator
Uninitialized 
Joined 
Alive 
Dead 

< these are IDs for render queues that are executed just after the main render queue defined by Ogre, we need more than one for Stencil Glow

Enumerator
RENDER_QUEUE_MAIN 
RENDER_QUEUE_STENCIL_OBJECTS 
RENDER_QUEUE_STENCIL_GLOW 
RENDER_QUEUE_STENCIL_LAST 
RENDER_QUEUE_HOQ 
enum orxonox::ScriptMode
strong

The mode a specific Script is in.

Enumerator
normal 

The Scripts' code is executed through the CommandExecutor.

lua 

The Scripts' code is executed through lua.

Enumerator
FREE 
STREET 
START 
END 
OBSTACLE 
TOWER 

Function Documentation

orxonox::__DEPRECATED__ ( OutputStream COUTint level)
inline
unsigned int orxonox::addDelayedCommand ( Timer timer,
float  delay,
const std::string &  command 
)

Helper function, used by delay() and delayreal() to add a delayed command.

Parameters
timerThe timer which will execute the command
delayThe delay in seconds
commandThe console command
Returns
The handle of the delayed command, can be used as argument for killdelay()
void orxonox::AddLanguageEntry ( const LanguageEntryLabel label,
const std::string &  fallbackString 
)
inline

Shortcut function for Language::addEntry.

_UtilExport std::string orxonox::addSlashes ( const std::string &  str)

Adds backslashes to the given string which makes special chars visible.

Existing slashes will be doubled.

This function converts all special chars like line breaks, tabs, quotation marks etc. into a human readable format by adding a backslash. So for example "\n" will be converted to "\\" + "n".

This is usually used when a string is written to a file.

See also
removeSlashes
_CoreExport void orxonox::append ( const std::string &  filename,
const std::string &  text 
)

Appends text to a file.

_UtilExport uint32_t orxonox::calcCRC ( unsigned char *  data,
unsigned int  dataLength 
)
_UtilExport void orxonox::calcCRCBit ( uint32_t &  crc32,
int  bit 
)
_CoreExport float orxonox::calculate ( const std::string &  calculation)

Parses the mathematical expression and returns the result.

template<class PT >
void orxonox::callMemberNetworkFunction ( PT  ptr,
uint32_t  objectID,
uint32_t  clientID,
const MultiType mt1 = MultiType::Null,
const MultiType mt2 = MultiType::Null,
const MultiType mt3 = MultiType::Null,
const MultiType mt4 = MultiType::Null,
const MultiType mt5 = MultiType::Null 
)
template<class PT >
void orxonox::callStaticNetworkFunction ( PT  ptr,
uint32_t  clientID,
const MultiType mt1 = MultiType::Null,
const MultiType mt2 = MultiType::Null,
const MultiType mt3 = MultiType::Null,
const MultiType mt4 = MultiType::Null,
const MultiType mt5 = MultiType::Null 
)
template<class T >
bool orxonox::checkEquality ( const T &  variable,
uint8_t *  mem 
)
inline

checks whether the variable of type T is the same as in the bytestream

template<class T >
bool orxonox::checkEquality ( T *&  variable,
uint8_t *  mem 
)
inline

checks whether the objectID of the variable is the same as in the bytestream

bool orxonox::checkEquality ( char *&  variable,
uint8_t *  mem 
)
inline
template<>
bool orxonox::checkEquality ( const bool &  variable,
uint8_t *  mem 
)
inline
template<class T >
bool orxonox::checkEquality ( const StrongPtr< T > &  variable,
uint8_t *  mem 
)
inline

checks whether the objectID of the variable is the same as in the bytestream

template<>
bool orxonox::checkEquality ( const char &  variable,
uint8_t *  mem 
)
inline
template<class T >
bool orxonox::checkEquality ( const WeakPtr< T > &  variable,
uint8_t *  mem 
)
inline

checks whether the objectID of the variable is the same as in the bytestream

template<>
bool orxonox::checkEquality ( const unsigned char &  variable,
uint8_t *  mem 
)
inline
template<>
bool orxonox::checkEquality ( const short &  variable,
uint8_t *  mem 
)
inline
template<>
bool orxonox::checkEquality ( const unsigned short &  variable,
uint8_t *  mem 
)
inline
template<>
bool orxonox::checkEquality ( const int &  variable,
uint8_t *  mem 
)
inline
template<>
bool orxonox::checkEquality ( const unsigned int &  variable,
uint8_t *  mem 
)
inline
template<>
bool orxonox::checkEquality ( const long &  variable,
uint8_t *  mem 
)
inline
template<>
bool orxonox::checkEquality ( const unsigned long &  variable,
uint8_t *  mem 
)
inline
template<>
bool orxonox::checkEquality ( const long long &  variable,
uint8_t *  mem 
)
inline
template<>
bool orxonox::checkEquality ( const unsigned long long &  variable,
uint8_t *  mem 
)
inline
template<>
bool orxonox::checkEquality ( const float &  variable,
uint8_t *  mem 
)
inline
template<>
bool orxonox::checkEquality ( const double &  variable,
uint8_t *  mem 
)
inline
template<>
bool orxonox::checkEquality ( const long double &  variable,
uint8_t *  mem 
)
inline
template<>
bool orxonox::checkEquality ( const std::string &  variable,
uint8_t *  mem 
)
inline
template<>
bool orxonox::checkEquality ( const Degree &  variable,
uint8_t *  mem 
)
inline
template<>
bool orxonox::checkEquality ( const Radian &  variable,
uint8_t *  mem 
)
inline
template<>
bool orxonox::checkEquality ( const Vector2 &  variable,
uint8_t *  mem 
)
inline
template<>
bool orxonox::checkEquality ( const Vector3 &  variable,
uint8_t *  mem 
)
inline
template<>
bool orxonox::checkEquality ( const Vector4 &  variable,
uint8_t *  mem 
)
inline
template<>
bool orxonox::checkEquality ( const Quaternion &  variable,
uint8_t *  mem 
)
inline
template<>
bool orxonox::checkEquality ( const ColourValue &  variable,
uint8_t *  mem 
)
inline
template<>
bool orxonox::checkEquality ( const mbool variable,
uint8_t *  mem 
)
inline
template<class T >
bool orxonox::checkEquality ( const std::set< T > &  variable,
uint8_t *  mem 
)
inline
template<typename T >
constexpr T orxonox::clamp ( x,
min,
max 
)
inline

Keeps a value between a lower and an upper limit.

Values beyond these limits are limited to either min or max.

Parameters
xThe value
minThe lower limit
maxThe upper limit
Identifier* orxonox::ClassByID ( uint32_t  id)
inline

Returns the Identifier with a given network ID.

Parameters
idThe network ID of the class
Identifier* orxonox::ClassByLowercaseString ( const std::string &  name)
inline

Returns the Identifier with a given lowercase name.

Parameters
nameThe lowercase name of the class
template<class T >
Identifier* orxonox::ClassByObjectType ( const T *  p)
inline

Returns the Identifier with a given 'this' pointer.

Note
This of course only works with Identifiables. The only use is in conjunction with macros that don't know the class type.
Parameters
pPointer to an Identifiable
Identifier* orxonox::ClassByString ( const std::string &  name)
inline

Returns the Identifier with a given name.

Parameters
nameThe name of the class
Ogre::ColourValue orxonox::colour ( const btVector3 &  color,
btScalar  alpha 
)
inline
template<>
void orxonox::CommandLineParser::getValue< std::string > ( const std::string &  name,
std::string *  value 
)
inline
template<class T , class U >
WeakPtr<T> orxonox::const_pointer_cast ( const WeakPtr< U > &  p)

Uses a const_cast to cast a pointer of type U* to a pointer of type T* and returns it in a new WeakPtr<T>.

template<class T , class U >
StrongPtr<T> orxonox::const_pointer_cast ( const StrongPtr< U > &  p)

Uses a const_cast to cast a pointer of type U* to a pointer of type T* and returns it in a new StrongPtr<T>.

static CEGUI::MouseButton orxonox::convertButton ( MouseButtonCode::ByEnum  button)
inlinestatic

converts mouse event code to CEGUI event code

Parameters
buttoncode of the mouse button as we use it in Orxonox
Returns
code of the mouse button as it is used by CEGUI

Simple conversion from mouse event code in Orxonox to the one used in CEGUI.

template<class FromType , class ToType >
ORX_FORCEINLINE bool orxonox::convertImplicitely ( ToType *  output,
const FromType &  input,
Loki::Int2Type< false >   
)

Template delegates to ConverterStringStream

template<class FromType , class ToType >
ORX_FORCEINLINE bool orxonox::convertImplicitely ( ToType *  output,
const FromType &  input,
Loki::Int2Type< true >   
)

Makes an implicit cast from FromType to ToType.

template<class FromType , class ToType >
ORX_FORCEINLINE bool orxonox::convertValue ( ToType *  output,
const FromType &  input 
)

Converts any value to any other as long as there exists a conversion.

Otherwise, the conversion will generate a runtime warning and return false.

See also
Convert.h
Parameters
outputA pointer to the variable where the converted value will be stored
inputThe original value
template<class FromType , class ToType >
ORX_FORCEINLINE bool orxonox::convertValue ( ToType *  output,
const FromType &  input,
const ToType &  fallback 
)

Converts any value to any other as long as there exists a conversion.

Otherwise, the conversion will generate a runtime warning and return false. If the conversion doesn't succeed, fallback is written to output.

See also
Convert.h
Parameters
outputA pointer to the variable where the converted value will be stored
inputThe original value
fallbackA default value that gets written to '*output' if there is no conversion.
template<class PT >
void orxonox::copyPtr ( PT  ptr,
NetworkFunctionPointer destptr 
)
inline
OutputStream& orxonox::COUT ( int  )
inline

Writes output to the orxonox console.

This function is deprecated, please use orxout()

Note
The output level argument is ignored since it's not supported anymore. See orxout() for the new output levels.
Deprecated:
This function is deprecated. Use orxout() instead.
orxonox::CREATE_ORXONOX_EXCEPTION ( General  )
orxonox::CREATE_ORXONOX_EXCEPTION ( FileNotFound  )
orxonox::CREATE_ORXONOX_EXCEPTION ( Argument  )
orxonox::CREATE_ORXONOX_EXCEPTION ( PhysicsViolation  )
orxonox::CREATE_ORXONOX_EXCEPTION ( ParseError  )
orxonox::CREATE_ORXONOX_EXCEPTION ( PluginsNotFound  )
orxonox::CREATE_ORXONOX_EXCEPTION ( InitialisationFailed  )
orxonox::CREATE_ORXONOX_EXCEPTION ( InitialisationAborted  )
orxonox::CREATE_ORXONOX_EXCEPTION ( NotImplemented  )
orxonox::CREATE_ORXONOX_EXCEPTION ( GameState  )
orxonox::CREATE_ORXONOX_EXCEPTION ( NoGraphics  )
orxonox::CREATE_ORXONOX_EXCEPTION ( AbortLoading  )
orxonox::CreateEventName ( PongCenterpoint  ,
right   
)
orxonox::CreateEventName ( PongCenterpoint  ,
left   
)
ExecutorPtr orxonox::createExecutor ( const FunctorPtr functor,
const std::string &  name = "" 
)
inline

Creates a new Executor that wraps a given Functor.

template<class T >
ExecutorMemberPtr<T> orxonox::createExecutor ( const FunctorMemberPtr< T > &  functor,
const std::string &  name = "" 
)
inline

Creates a new ExecutorMember that wraps a given FunctorMember.

ExecutorStaticPtr orxonox::createExecutor ( const FunctorStaticPtr functor,
const std::string &  name = "" 
)
inline

Creates a new ExecutorStatic that wraps a given FunctorStatic.

template<class R , class O , class OO , class... Params>
FunctorMemberPtr< O > orxonox::createFunctor ( R(O::*)(Params...)  functionPointer,
OO *  object 
)
inline

Creates a new FunctorMember with the given function-pointer and an assigned object.

template<class R , class O , class... Params>
FunctorMemberPtr< O > orxonox::createFunctor ( R(O::*)(Params...)  functionPointer)
inline

Creates a new FunctorMember with the given function-pointer.

template<class R , class... Params>
FunctorStaticPtr orxonox::createFunctor ( R(*)(Params...)  functionPointer)
inline

Creates a new FunctorStatic with the given function-pointer.

template<class F >
FunctorStaticPtr orxonox::createFunctor ( const F &  functionObject)
inline

Take care that this functor does not outlive objects that have been captured by reference in a lambda.

Creates a new Functor with a callable object

template<typename T >
constexpr T orxonox::cube ( x)
inline

Returns the cubed value (x^3).

_CoreExport void orxonox::debug ( const std::string &  text)

Prints debug output with verbose level.

orxonox::DeclareConsoleCommand ( __CC_KeyDetector_callback_name  ,
&prototype::void__string   
)
orxonox::DeclareConsoleCommand ( __CC_GraphicsManager_group  ,
__CC_setFSAA_name  ,
&prototype::string__string   
)
orxonox::DeclareConsoleCommand ( __CC_GraphicsManager_group  ,
__CC_setVSync_name  ,
&prototype::string__bool   
)
orxonox::DeclareConsoleCommand ( __CC_printScreen_name  ,
&prototype::void__void   
)
orxonox::DeclareGameState ( GSStandalone  ,
"standalone"  ,
false  ,
true   
)
orxonox::DeclareGameState ( GSMasterServer  ,
"masterserver"  ,
false  ,
false   
)
orxonox::DeclareGameState ( GSClient  ,
"client"  ,
false  ,
false   
)
orxonox::DeclareGameState ( GSServer  ,
"server"  ,
false  ,
false   
)
orxonox::DeclareGameState ( GSGraphics  ,
"graphics"  ,
false  ,
true   
)
orxonox::DeclareGameState ( GSRoot  ,
"root"  ,
false  ,
false   
)
orxonox::DeclareGameState ( GSMainMenu  ,
"mainMenu"  ,
false  ,
true   
)
orxonox::DeclareGameState ( GSLevel  ,
"level"  ,
false  ,
false   
)
true orxonox::defaultValue ( ,
0.  5f 
)
false orxonox::defaultValue ( ,
false   
)
unsigned int orxonox::delay ( float  delay,
const std::string &  command 
)

Console-command: Calls another console command after delay seconds (game time).

Parameters
delayThe delay in seconds
commandThe console command
Returns
The handle of the delayed command, can be used as argument for killdelay()
unsigned int orxonox::delayreal ( float  delay,
const std::string &  command 
)

Console-command: Calls another console command after delay seconds (real time)

Parameters
delayThe delay in seconds
commandThe console command
Returns
The handle of the delayed command, can be used as argument for killdelay()
_UtilExport int orxonox::determineMap3DZOrder ( const orxonox::Vector3 &  myposition,
const orxonox::Vector3 &  mydirection,
const orxonox::Vector3 &  myorthonormal,
const orxonox::Vector3 &  otherposition,
const float  detectionlimit 
)

A value between 0 and 10, in order how other object is in front or in back.

Parameters
mypositionMy position
mydirectionMy viewing direction
myorthonormalMy orthonormalvector (pointing upwards through my head)
otherpositionThe position of the other object
detectionlimitThe limit in which objects are shown on the map
Returns
value between 0 and 100
template<class T , class U >
WeakPtr<T> orxonox::dynamic_pointer_cast ( const WeakPtr< U > &  p)

Uses a dynamic_cast to cast a pointer of type U* to a pointer of type T* and returns it in a new WeakPtr<T>.

template<class T , class U >
StrongPtr<T> orxonox::dynamic_pointer_cast ( const StrongPtr< U > &  p)

Uses a dynamic_cast to cast a pointer of type U* to a pointer of type T* and returns it in a new StrongPtr<T>.

_CoreExport std::string orxonox::echo ( const std::string &  text)

Simply returns the arguments.

_CoreExport void orxonox::error ( const std::string &  text)

Prints output with error level.

template<class T >
const T& orxonox::exceptionThrowerHelper ( const T &  exception)
inline

Helper function that forwards an exception and displays the message.

This is necessary because only when using 'throw' the objects storage is managed.

void orxonox::executeDelayedCommand ( Timer timer,
const std::string &  command 
)

Helper function for delay(), executes the command and destroys the timer.

Parameters
timerThe timer which called this function.
commandThe command to execute
_UtilExport std::string orxonox::fromClipboard ( )

Default implementation if there is no OS-specific implementation or no clipboard.

Gets the text from the internal clipboard.

See also
toClipboard()
_UtilExport orxonox::Vector2 orxonox::get2DViewCoordinates ( const orxonox::Vector3 &  myposition,
const orxonox::Vector3 &  mydirection,
const orxonox::Vector3 &  myorthonormal,
const orxonox::Vector3 &  otherposition 
)

Gets the 2D viewing direction (up/down, left/right) to the position of the other object, multiplied with the viewing distance to the object (0° = 0, 180° = 1).

Parameters
mypositionMy position
mydirectionMy viewing direction
myorthonormalMy orthonormalvector (pointing upwards through my head)
otherpositionThe position of the other object
Returns
The viewing direction

Examples:

  • If the other object is exactly in front of me, the function returns Vector2(0, 0).
  • If the other object is exactly at my left, the function returns Vector2(-0.5, 0).
  • If the other object is exactly at my right, the function returns Vector2(0.5, 0).
  • If the other object is only a bit at my right, the function still returns Vector2(0.01, 0).
  • If the other object is exactly above me, the function returns Vector2(0, 0.5).
_UtilExport orxonox::Vector2 orxonox::get2DViewdirection ( const orxonox::Vector3 &  myposition,
const orxonox::Vector3 &  mydirection,
const orxonox::Vector3 &  myorthonormal,
const orxonox::Vector3 &  otherposition 
)

Gets the 2D viewing direction (up/down, left/right) to the position of the other object.

Parameters
mypositionMy position
mydirectionMy viewing direction
myorthonormalMy orthonormalvector (pointing upwards through my head)
otherpositionThe position of the other object
Returns
The viewing direction

Examples:

  • If the other object is exactly in front of me, the function returns Vector2(0, 0).
  • If the other object is exactly at my left, the function returns Vector2(-1, 0).
  • If the other object is exactly at my right, the function returns Vector2(1, 0).
  • If the other object is only a bit at my right, the function still returns Vector2(1, 0).
  • If the other object is exactly above me, the function returns Vector2(0, 1).
_UtilExport orxonox::Vector2 orxonox::get3DProjection ( const orxonox::Vector3 &  myposition,
const orxonox::Vector3 &  mydirection,
const orxonox::Vector3 &  myorthonormal,
const orxonox::Vector3 &  otherposition,
const float  mapangle,
const float  detectionlimit 
)

Gets the 2D project vector for the 3D Radar .

Parameters
mypositionMy position
mydirectionMy viewing direction
myorthonormalMy orthonormalvector (pointing upwards through my head)
otherpositionThe position of the other object
mapangleThe angle between line of sight on screen and the 3Dmap-x/z-plain in radian
detectionlimitThe limit in which objects are shown on the map
Returns
The viewing direction
_UtilExport float orxonox::getAngle ( const orxonox::Vector3 &  myposition,
const orxonox::Vector3 &  mydirection,
const orxonox::Vector3 &  otherposition 
)

Gets the angle between my viewing direction and the direction to the position of the other object.

Parameters
mypositionMy position
mydirectionMy viewing direction
otherpositionThe position of the other object
Returns
The angle in radian

Examples:

  • If the other object is exactly in front of me, the function returns 0.
  • If the other object is exactly behind me, the function returns pi.
  • If the other object is exactly right/left to me (or above/below), the function returns pi/2.
_UtilExport std::string orxonox::getComment ( const std::string &  str)

If the string contains a comment, the comment gets returned (including the comment symbol and white spaces in front of it), an empty string otherwise.

Context* orxonox::getContextForInitializationOfOtherContexts ( )
template<class FromType , class ToType >
ORX_FORCEINLINE ToType orxonox::getConvertedValue ( const FromType &  input,
const ToType &  fallback 
)

Directly returns the converted value, but uses the fallback on failure.

See also
convertValue
_UtilExport unsigned int orxonox::getLevenshteinDistance ( const std::string &  str1,
const std::string &  str2 
)

Calculates the Levenshtein distance between two strings.

The Levenshtein distance is defined by the number of transformations needed to convert str1 into str2. Possible transformations are substituted, added, or removed characters.

const std::string& orxonox::GetLocalisation ( const LanguageEntryLabel label)
inline

Shortcut function for Language::getLocalisation.

const std::string& orxonox::GetLocalisation_noerror ( const LanguageEntryLabel label)
inline

Shortcut function for Language::getLocalisation without printing an error in case the label doesn't exist.

_UtilExport std::string orxonox::getLowercase ( const std::string &  str)

Returns a copy of the given string where all chars are converted to lowercase.

_NetworkExport uint32_t orxonox::getNetworkIdForPointer ( const NetworkFunctionPointer pointer)
_UtilExport size_t orxonox::getNextCommentPosition ( const std::string &  str,
size_t  start 
)

Returns the beginning of the next comment including whitespaces in front of the comment symbol.

Parameters
strThe string
startThe first position to look at
_UtilExport size_t orxonox::getNextQuote ( const std::string &  str,
size_t  start 
)

Returns the position of the next quotation mark in the string, starting with start.

Escaped quotation marks (with \ in front) are not considered.

Parameters
strThe string
startThe first position to look at
Returns
The position of the next quotation mark (std::string::npos if there is none)
std::map<std::string, OutputLevel> orxonox::getOutputLevelsMap ( )

Builds a map that maps the levels of all output levels to their ID.

_UtilExport orxonox::Vector3 orxonox::getPredictedPosition ( const orxonox::Vector3 &  myposition,
float  projectilespeed,
const orxonox::Vector3 &  targetposition,
const orxonox::Vector3 &  targetvelocity 
)

Returns the predicted position I have to aim at, if I want to hit a moving target with a moving projectile.

Parameters
mypositionMy position
projectilespeedThe speed of my projectile
targetpositionThe position of my target
targetvelocityThe velocity of my target
Returns
The predicted position

The function predicts the position based on a linear velocity of the target. If the target changes speed or direction, the projectile will miss.

_UtilExport std::string orxonox::getStringBetweenQuotes ( const std::string &  str)

If the string contains something like '..."between quotaton marks"...' then 'between quotaton marks' gets returned, otherwise "".

_UtilExport std::string orxonox::getStripped ( const std::string &  str)

Returns a copy of a string without whitespaces.

_UtilExport std::string orxonox::getTimestamp ( void  )

Get a timestamp for the current time instant.

Returns
Returns a string with the timestamp.
std::string orxonox::getTimeString ( float  time)
inline
_UtilExport orxonox::Vector3 orxonox::getTransformedVector ( const orxonox::Vector3 &  totransform,
const orxonox::Vector3 &  newx,
const orxonox::Vector3 &  newy,
const orxonox::Vector3 &  newz 
)

Gets the new vector after a coordinate transformation.

Parameters
totransformVector which will be transformed
newxNew x basevector
newyNew y basevector
newzNew z basevector
Returns
Vector in the new coordinates

x is vector in old coordinates y is vector in old coordinates T is transform matrix with: T = (t1 , t2 , t3) t1 = mydirection t2 = myorthonormal t3 = myside

y = T^(-1)*x

_UtilExport unsigned long orxonox::getUniqueNumber ( )

Returns a unique number.

This function will never return the same value twice.

_UtilExport std::string orxonox::getUniqueNumberString ( )

Returns a string of a unique number. This function is guaranteed to never return the same string twice.

_UtilExport std::string orxonox::getUppercase ( const std::string &  str)

Returns a copy of the given string where all chars are converted to uppercase.

_UtilExport bool orxonox::hasComment ( const std::string &  str)

Returns true if the string contains a comment, introduced by #, %, ; or //.

_UtilExport bool orxonox::hasStringBetweenQuotes ( const std::string &  str)

Returns true if the string contains something like '..."between quotaton marks"...'.

static void orxonox::helper_output_debug ( ENetEvent event,
char *  addrconv 
)
static
_CoreExport void orxonox::info ( const std::string &  text)

Prints output with info level.

template<typename T >
T orxonox::interpolate ( float  time,
const T &  start,
const T &  end 
)
inline

Interpolates between two values for a time between 0 and 1.

Parameters
timeThe time is a value between 0 and 1 - the function returns start if time is 0, end if time is 1, and interpolates if time is between 0 and 1.
startThe value at time = 0
endThe value at time = 1
Returns
The interpolated value at a given time
template<typename T >
T orxonox::interpolateSmooth ( float  time,
const T &  start,
const T &  end 
)
inline

Interpolates smoothly between two values for a time between 0 and 1.

The function starts slowly, increases faster and stops slowly again.

Parameters
timeThe time is a value between 0 and 1 - the function returns start if time is 0, end if time is 1, and interpolates if time is between 0 and 1.
startThe value at time = 0
endThe value at time = 1
Returns
The interpolated value at a given time
_UtilExport bool orxonox::isBetweenQuotes ( const std::string &  str,
size_t  pos 
)

Returns true if pos is between two quotation marks.

Parameters
strThe string
posThe position to check
Returns
True if pos is between two quotation marks
_UtilExport bool orxonox::isComment ( const std::string &  str)

Determines if a string is a comment (starts with a comment-symbol).

A comment is defined by a leading '#', '', ';' or '//'.

_UtilExport bool orxonox::isEmpty ( const std::string &  str)

Determines if a string is empty (contains only whitespaces).

_UtilExport bool orxonox::isObjectHigherThanShipOnMap ( const orxonox::Vector3 &  myposition,
const orxonox::Vector3 &  mydirection,
const orxonox::Vector3 &  myorthonormal,
const orxonox::Vector3 &  otherposition,
const float  mapangle 
)

Gets if a object is over the x/z - plain on map.

Parameters
mypositionMy position
mydirectionMy viewing direction
myorthonormalMy orthonormalvector (pointing upwards through my head)
otherpositionThe position of the other object
mapangleThe angle you look on the 3Dmap in radian
Returns
If distancevector to the other object has a positive y-coordinate

Examples: Returns true if object is over x/z - plain Returns false if object is below x/z -plain

static void orxonox::key_esc ( )
static
void orxonox::killdelay ( unsigned int  handle)

Console-command: Kills a delayed command with given handle.

void orxonox::killdelays ( )

Console-command: Kills all scheduled commands that were delayed using delay().

template<class T >
void orxonox::loadAndIncrease ( T &  variable,
uint8_t *&  mem 
)
inline

loads the value of a variable out of the bytestream and increases the mem pointer

template<class T >
void orxonox::loadAndIncrease ( T *&  variable,
uint8_t *&  mem 
)
inline

reads the objectID of a pointer out of the bytestream and increases the mem pointer

void orxonox::loadAndIncrease ( char *&  variable,
uint8_t *&  mem 
)
inline
template<class T >
void orxonox::loadAndIncrease ( const StrongPtr< T > &  variable,
uint8_t *&  mem 
)
inline

reads the objectID of a pointer out of the bytestream and increases the mem pointer

template<>
void orxonox::loadAndIncrease ( bool &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::loadAndIncrease ( char &  variable,
uint8_t *&  mem 
)
inline
template<class T >
void orxonox::loadAndIncrease ( const WeakPtr< T > &  variable,
uint8_t *&  mem 
)
inline

reads the objectID of a pointer out of the bytestream and increases the mem pointer

template<>
void orxonox::loadAndIncrease ( unsigned char &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::loadAndIncrease ( short &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::loadAndIncrease ( unsigned short &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::loadAndIncrease ( int &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::loadAndIncrease ( unsigned int &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::loadAndIncrease ( long &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::loadAndIncrease ( unsigned long &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::loadAndIncrease ( long long &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::loadAndIncrease ( unsigned long long &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::loadAndIncrease ( float &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::loadAndIncrease ( double &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::loadAndIncrease ( long double &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::loadAndIncrease ( std::string &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::loadAndIncrease ( Degree &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::loadAndIncrease ( Radian &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::loadAndIncrease ( Vector2 &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::loadAndIncrease ( Vector3 &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::loadAndIncrease ( Vector4 &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::loadAndIncrease ( Quaternion &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::loadAndIncrease ( ColourValue &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::loadAndIncrease ( mbool variable,
uint8_t *&  mem 
)
inline
template<class T >
void orxonox::loadAndIncrease ( std::set< T > &  variable,
uint8_t *&  mem 
)
inline
void orxonox::loadCalibration ( std::vector< int > &  list,
const std::string &  sectionName,
const std::string &  valueName,
size_t  size,
int  defaultValue 
)

Helper function that loads the config value vector of one coefficient.

_CoreExport void orxonox::log ( const std::string &  text)

Prints text to the console and the logfile.

_UtilExport void orxonox::lowercase ( std::string *  str)

Replaces each char between A and Z with its lowercase equivalent.

_OrxonoxExport int orxonox::main ( const std::string &  strCmdLine)

Starting point of orxonox (however not the entry point of the program!)

orxonox::ManageScopedSingleton ( DialogManager  ,
ScopeID::ROOT  ,
false   
)
orxonox::ManageScopedSingleton ( DestroyLaterManager  ,
ScopeID::ROOT  ,
false   
)
orxonox::ManageScopedSingleton ( ChatHistory  ,
ScopeID::ROOT  ,
false   
)
orxonox::ManageScopedSingleton ( MoodManager  ,
ScopeID::ROOT  ,
false   
)
orxonox::ManageScopedSingleton ( Highscore  ,
ScopeID::ROOT  ,
false   
)
orxonox::ManageScopedSingleton ( KeyDetector  ,
ScopeID::GRAPHICS  ,
false   
)
orxonox::ManageScopedSingleton ( LANDiscovery  ,
ScopeID::GRAPHICS  ,
false   
)
orxonox::ManageScopedSingleton ( PlayerManager  ,
ScopeID::ROOT  ,
false   
)
orxonox::ManageScopedSingleton ( ChatManager  ,
ScopeID::ROOT  ,
false   
)
orxonox::ManageScopedSingleton ( KeyBinderManager  ,
ScopeID::GRAPHICS  ,
false   
)
orxonox::ManageScopedSingleton ( CameraManager  ,
ScopeID::GRAPHICS  ,
false   
)
orxonox::ManageScopedSingleton ( NotificationManager  ,
ScopeID::ROOT  ,
false   
)
orxonox::ManageScopedSingleton ( QuestManager  ,
ScopeID::ROOT  ,
false   
)
orxonox::ManageScopedSingleton ( SoundManager  ,
ScopeID::GRAPHICS  ,
true   
)
orxonox::ManageScopedSingleton ( PickupManager  ,
ScopeID::ROOT  ,
false   
)
orxonox::ManageScopedSingleton ( Client  ,
ScopeID::ROOT  ,
false   
)
orxonox::ManageScopedSingleton ( SkyboxGenerator  ,
ScopeID::GRAPHICS  ,
false   
)
orxonox::ManageScopedSingleton ( ScreenshotManager  ,
ScopeID::GRAPHICS  ,
false   
)
orxonox::ManageScopedSingleton ( ChatInputHandler  ,
ScopeID::GRAPHICS  ,
false   
)
orxonox::ManageScopedSingleton ( InGameConsole  ,
ScopeID::GRAPHICS  ,
false   
)
Ogre::Matrix3 orxonox::matrix3 ( const btMatrix3x3 &  matrix)
inline
Ogre::Matrix4 orxonox::matrix4 ( const btTransform &  transform)
inline
template<typename T >
int orxonox::mod ( x,
int  max 
)
inline

The modulo operation, enhanced to work properly with negative values.

Parameters
xThe value
maxThe operand

The built in modulo operator % yields a strange behavior with negative values. This function corrects this - the result is guaranteed to lie always between zero and (max-1).

Example:

int var = 11 % 10; // 1
int var = -1 % 10; // -1
int var = mod(11, 10); // 1
int var = mod(-1, 10); // 9
ConsoleCommand::ConsoleCommandManipulator orxonox::ModifyConsoleCommand ( const std::string &  name)
inline

Returns a manipulator for a command with the given name.

Note
If the command doesn't exist, the manipulator contains a nullptr to the command, but it can still be used without checks, because all functions of ConsoleCommandManipulator check internally if the command exists.
ConsoleCommand::ConsoleCommandManipulator orxonox::ModifyConsoleCommand ( const std::string &  group,
const std::string &  name 
)
inline

Returns a manipulator for a command with the given group and name.

Note
If the command doesn't exist, the manipulator contains a nullptr to the command, but it can still be used without checks, because all functions of ConsoleCommandManipulator check internally if the command exists.
_UtilExport void orxonox::msleep ( unsigned long  milliseconds)

Makes the thread sleep for a few milliseconds.

template<class ToType , class FromType >
ORX_FORCEINLINE ToType orxonox::multi_cast ( const FromType &  input)

Converts any value to any other as long as there exists a conversion.

Use exactly the way you use static_cast, etc.
A failed conversion will return a default instance of ToType (possibly uninitialised)

See also
Convert.h
Parameters
inputThe original value
template<>
bool orxonox::MultiType::MT_ValueBase::isType< orxonox::ColourValue > ( ) const
inline
template<>
bool orxonox::MultiType::MT_ValueBase::isType< orxonox::Degree > ( ) const
inline
template<>
bool orxonox::MultiType::MT_ValueBase::isType< orxonox::Quaternion > ( ) const
inline
template<>
bool orxonox::MultiType::MT_ValueBase::isType< orxonox::Radian > ( ) const
inline
template<>
bool orxonox::MultiType::MT_ValueBase::isType< orxonox::Vector2 > ( ) const
inline
template<>
bool orxonox::MultiType::MT_ValueBase::isType< orxonox::Vector3 > ( ) const
inline
template<>
bool orxonox::MultiType::MT_ValueBase::isType< orxonox::Vector4 > ( ) const
inline
template<>
bool orxonox::MultiType::MT_ValueBase::isType< std::string > ( ) const
inline
const boost::posix_time::millisec orxonox::NETWORK_COMMUNICATION_THREAD_WAIT_TIME ( 200  )
_UtilExport int orxonox::nocaseCmp ( const std::string &  s1,
const std::string &  s2 
)

Compares two strings ignoring different casing.

Returns
s1 == s2 -> returns 0 / s1 < s2 -> returns -1 / s1 >= s2 -> returns 1
_UtilExport int orxonox::nocaseCmp ( const std::string &  s1,
const std::string &  s2,
size_t  len 
)

Compares the first len chars of two strings ignoring different casing.

Parameters
s1First string
s2Second string
lenMaximal number of chars to compare
constexpr bool orxonox::operator!= ( bool  x,
tribool  y 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

constexpr bool orxonox::operator!= ( dontcare_keyword_t  ,
tribool  x 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

InputManager::State orxonox::operator&= ( InputManager::State lval,
int  rval 
)
inline

Defines the &= operator for easier use.

_UtilExport std::ostream & orxonox::operator<< ( std::ostream &  out,
const orxonox::Radian &  radian 
)

Function for writing a Radian to a stream.

_UtilExport std::ostream & orxonox::operator<< ( std::ostream &  out,
const orxonox::Degree &  degree 
)

Function for writing a Degree to a stream.

_CoreExport std::ostream & orxonox::operator<< ( std::ostream &  out,
const std::set< const Identifier * > &  list 
)

Lists the names of all Identifiers in a std::set<const Identifier*>.

Parameters
outThe outstream
listThe list (or set) of Identifiers
Returns
The outstream
_UtilExport std::ostream& orxonox::operator<< ( std::ostream &  outstream,
const MultiType mt 
)
inline

Puts the MultiType on a stream by using the native << operator of the current type.

std::ostream& orxonox::operator<< ( std::ostream &  out,
const ClassTreeMask mask 
)

Converts the content of a mask into a human readable string and puts it on the ostream.

Parameters
outThe ostream
maskThe mask
Returns
A reference to the ostream
constexpr bool orxonox::operator== ( bool  x,
tribool  y 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

constexpr bool orxonox::operator== ( dontcare_keyword_t  ,
tribool  x 
)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

_UtilExport std::istream & orxonox::operator>> ( std::istream &  in,
orxonox::Radian &  radian 
)

Function for reading a Radian from a stream.

_UtilExport std::istream & orxonox::operator>> ( std::istream &  in,
orxonox::Degree &  degree 
)

Function for reading a Degree from a stream.

InputManager::State orxonox::operator|= ( InputManager::State lval,
InputManager::State  rval 
)
inline

Defines the |= operator for easier use.

template<class T , class U >
T orxonox::orxonox_cast ( U *  source)

Casts on object of type Identifiable to any derived type that is registered in the class hierarchy.

Returns
Returns nullptr if the cast is not possible
Note
In case of nullptr return (and using MSVC), a dynamic_cast might still be possible if a class forgot to register its objects. Also note that the function is implemented differently for GCC/MSVC.
template<class T , class U >
ORX_FORCEINLINE T orxonox::orxonox_cast ( U *  source)

Casts on object of type Identifiable to any derived type that is registered in the class hierarchy.

Returns
Returns nullptr if the cast is not possible
Note
In case of nullptr return (and using MSVC), a dynamic_cast might still be possible if a class forgot to register its objects. Also note that the function is implemented differently for GCC/MSVC.
OutputStream& orxonox::orxout ( OutputLevel  level = level::debug_output,
const OutputContextContainer context = context::undefined() 
)
inline

This helper function returns a reference to a commonly used instance of OutputStream.

It can be used like std::cout except that it is a function. You can pass level and context of the following output as function arguments.

OutputStream& orxonox::orxout ( OutputLevel  level,
OutputContextFunction  context 
)
inline

Shortcut for orxout() to allow passing contexts directly as functions without using "()".

orxout(user_info, context::example) << "Hello World" << endl; // calls this function
orxout(user_info, context::example()) << "Hello World" << endl; // calls the other orxout function
_CoreExport void orxonox::orxout_level ( const std::string &  level_name,
const std::string &  text 
)

Prints text to the console.

Parameters
level_nameThe name of the output level
textThe text to print
_CoreExport void orxonox::orxout_level_context ( const std::string &  level_name,
const std::string &  context_name,
const std::string &  text 
)

Prints text to the console.

Parameters
level_nameThe name of the output level
context_nameThe name of the output context
textThe text to print
_UtilExport bool orxonox::parse_float ( char *  const,
char **  ,
float *   
)
_UtilExport bool orxonox::parse_float ( char *  const,
char **  ,
char  ,
float *   
)
_UtilExport bool orxonox::parse_vector_float ( char *  const,
char **  ,
bool  ,
float *   
)
static void orxonox::printFPS ( )
static
static void orxonox::printTickTime ( )
static
btQuaternion orxonox::quaternion ( const Ogre::Quaternion &  Q)
inline
Ogre::Quaternion orxonox::quaternion ( const btQuaternion &  Q)
inline
_CoreExport std::string orxonox::read ( const std::string &  filename)

Reads text from a file.

size_t orxonox::readVorbis ( void ptr,
size_t  size,
size_t  nmemb,
void datasource 
)
orxonox::RegisterAbstractClass ( ViewportEventListener  )
orxonox::RegisterAbstractClass ( UpdateListener  )
orxonox::RegisterAbstractClass ( XMLNameListener  )
orxonox::RegisterAbstractClass ( ClientConnectionListener  )
orxonox::RegisterAbstractClass ( WindowEventListener  )
orxonox::RegisterAbstractClass ( DestroyLaterManager  )
orxonox::RegisterAbstractClass ( AmbientSound  )
orxonox::RegisterAbstractClass ( JoyStickQuantityListener  )
orxonox::RegisterAbstractClass ( QuestEffect  )
orxonox::RegisterAbstractClass ( WANDiscovery  )
orxonox::RegisterAbstractClass ( DockingEffect  )
orxonox::RegisterAbstractClass ( ChatHistory  )
orxonox::RegisterAbstractClass ( RadarViewable  )
orxonox::RegisterAbstractClass ( WANDiscoverable  )
orxonox::RegisterAbstractClass ( DockingAnimation  )
orxonox::RegisterAbstractClass ( AbstractRadiusHeightCollisionShape  )
orxonox::RegisterAbstractClass ( CollectiblePickup  )
orxonox::RegisterAbstractClass ( PlayerInfo  )
orxonox::RegisterAbstractClass ( PickupListener  )
orxonox::RegisterAbstractClass ( PickupCarrier  )
orxonox::RegisterAbstractClass ( MoodListener  )
orxonox::RegisterAbstractClass ( PlayerManager  )
orxonox::RegisterAbstractClass ( ChangeQuestStatus  )
orxonox::RegisterAbstractClass ( MoodManager  )
orxonox::RegisterAbstractClass ( KeyDetector  )
orxonox::RegisterAbstractClass ( BaseSound  )
orxonox::RegisterAbstractClass ( ChatManager  )
orxonox::RegisterAbstractClass ( KeyBinder  )
orxonox::RegisterAbstractClass ( Quest  )
orxonox::RegisterAbstractClass ( CollisionShape  )
orxonox::RegisterAbstractClass ( Synchronisable  )
orxonox::RegisterAbstractClass ( WeaponMode  )
orxonox::RegisterAbstractClass ( TimeFactorListener  )
orxonox::RegisterAbstractClass ( Pickupable  )
orxonox::RegisterAbstractClass ( Radar  )
orxonox::RegisterAbstractClass ( JoyStick  )
orxonox::RegisterAbstractClass ( NotificationManager  )
orxonox::RegisterAbstractClass ( ParticleInterface  )
orxonox::RegisterAbstractClass ( GametypeMessageListener  )
orxonox::RegisterAbstractClass ( Mouse  )
orxonox::RegisterAbstractClass ( NotificationListener  )
orxonox::RegisterAbstractClass ( KeyBinderManager  )
orxonox::RegisterAbstractClass ( PluginManager  )
orxonox::RegisterAbstractClass ( PlayerTrigger  )
orxonox::RegisterAbstractClass ( PickupManager  )
orxonox::RegisterAbstractClass ( SkyboxGenerator  )
orxonox::RegisterAbstractClass ( WorldEntity  )
orxonox::RegisterAbstractClass ( GSMainMenu  )
orxonox::RegisterAbstractClass ( ScreenshotManager  )
orxonox::RegisterAbstractClass ( SoundManager  )
orxonox::RegisterAbstractClass ( Tickable  )
orxonox::RegisterAbstractClass ( ChatInputHandler  )
orxonox::RegisterAbstractClass ( InGameConsole  )
orxonox::RegisterAbstractClass ( RadarListener  )
orxonox::RegisterAbstractClass ( InputManager  )
orxonox::RegisterAbstractClass ( TeamColourable  )
orxonox::RegisterAbstractClass ( GraphicsManager  )
orxonox::RegisterAbstractClass ( Rewardable  )
orxonox::RegisterAbstractClass ( ChatListener  )
orxonox::RegisterAbstractClass ( DevModeListener  )
orxonox::RegisterAbstractClass ( NetworkChatListener  )
orxonox::RegisterAbstractClass ( GUIManager  )
orxonox::RegisterAbstractClass ( GSLevelMemento  )
orxonox::RegisterClass ( Wagnis  )
orxonox::RegisterClass ( WagnisGameboard  )
orxonox::RegisterClass ( GravityBombMunition  )
orxonox::RegisterClass ( GravityBomb  )
orxonox::RegisterClass ( GravityBombField  )
orxonox::RegisterClass ( TowerDefenseEnemy  )
orxonox::RegisterClass ( WagnisPlayer  )
orxonox::RegisterClass ( WagnisProvince  )
orxonox::RegisterClass ( TowerDefenseTower  )
orxonox::RegisterClass ( GravityBombFire  )
orxonox::RegisterClass ( ControllerDirector  )
orxonox::RegisterClass ( SpaceRaceBot  )
orxonox::RegisterClass ( ShootableObstacle  )
orxonox::RegisterClass ( EventName  )
orxonox::RegisterClass ( WagnisProjectile  )
orxonox::RegisterClass ( MasterController  )
orxonox::RegisterClass ( SectionController  )
orxonox::RegisterClass ( Item  )
orxonox::RegisterClass ( Info  )
orxonox::RegisterClass ( EventTarget  )
orxonox::RegisterClass ( DivisionController  )
orxonox::RegisterClass ( WingmanController  )
orxonox::RegisterClass ( Answer  )
orxonox::RegisterClass ( AnswerId  )
orxonox::RegisterClass ( Question  )
orxonox::RegisterClass ( Arrow  )
orxonox::RegisterClass ( Attacher  )
orxonox::RegisterClass ( TeamTargetProxy  )
orxonox::RegisterClass ( AnnounceMessage  )
orxonox::RegisterClass ( DeathMessage  )
orxonox::RegisterClass ( GametypeFadingMessage  )
orxonox::RegisterClass ( HUDEnemyShieldBar  )
orxonox::RegisterClass ( HUDRocketFuelBar  )
orxonox::RegisterClass ( HUDShieldBar  )
orxonox::RegisterClass ( KillMessage  )
orxonox::RegisterClass ( PauseNotice  )
orxonox::RegisterClass ( PacmanGhost  )
orxonox::RegisterClass ( PacmanPointAfraid  )
orxonox::RegisterClass ( PacmanPointSphere  )
orxonox::RegisterClass ( TowerDefenseHUDController  )
orxonox::RegisterClass ( WagnisHUDinfo  )
orxonox::RegisterClass ( WaypointController  )
orxonox::RegisterClass ( Actionpoint  )
orxonox::RegisterClass ( FadingBillboard  )
orxonox::RegisterClass ( Asteroids2DHUDinfo  )
orxonox::RegisterClass ( Destroyer  )
orxonox::RegisterClass ( DodgeRaceHUDinfo  )
orxonox::RegisterClass ( TeamSpawnPoint  )
orxonox::RegisterClass ( InvaderHUDinfo  )
orxonox::RegisterClass ( TurretController  )
orxonox::RegisterClass ( EventDispatcher  )
orxonox::RegisterClass ( EventListener  )
orxonox::RegisterClass ( OrxoKartKart  )
orxonox::RegisterClass ( DebugFPSText  )
orxonox::RegisterClass ( DebugRTRText  )
orxonox::RegisterClass ( HUDBoostBar  )
orxonox::RegisterClass ( HUDEnemyHealthBar  )
orxonox::RegisterClass ( Scoreboard  )
orxonox::RegisterClass ( PacmanHUDinfo  )
orxonox::RegisterClass ( DefaultWeaponmodeLink  )
orxonox::RegisterClass ( ActionpointController  )
orxonox::RegisterClass ( BlinkingBillboard  )
orxonox::RegisterClass ( CameraPosition  )
orxonox::RegisterClass ( Drone  )
orxonox::RegisterClass ( SpaceRaceController  )
orxonox::RegisterClass ( EventFilter  )
orxonox::RegisterClass ( Turret  )
orxonox::RegisterClass ( OrxyRoadHUDinfo  )
orxonox::RegisterClass ( GametypeStaticMessage  )
orxonox::RegisterClass ( HUDSpeedBar  )
orxonox::RegisterClass ( HUDTimer  )
orxonox::RegisterClass ( PortalLink  )
orxonox::RegisterClass ( AutonomousDroneController  )
orxonox::RegisterClass ( WaypointPatrolController  )
orxonox::RegisterClass ( GUISheet  )
orxonox::RegisterClass ( GlobalShader  )
orxonox::RegisterClass ( Test  )
orxonox::RegisterClass ( Munition  )
orxonox::RegisterClass ( ExplosionPart  )
orxonox::RegisterClass ( SpawnPoint  )
orxonox::RegisterClass ( OrxyRoadShip  )
orxonox::RegisterClass ( DebugPositionText  )
orxonox::RegisterClass ( HUDHealthBar  )
orxonox::RegisterClass ( LastManStandingInfos  )
orxonox::RegisterClass ( LastTeamStandingInfos  )
orxonox::RegisterClass ( TeamBaseMatchScore  )
orxonox::RegisterClass ( Pacman  )
orxonox::RegisterClass ( PacmanGelb  )
orxonox::RegisterClass ( MineMunition  )
orxonox::RegisterClass ( DodgeRaceShip  )
orxonox::RegisterClass ( FlameMunition  )
orxonox::RegisterClass ( FusionMunition  )
orxonox::RegisterClass ( IceMunition  )
orxonox::RegisterClass ( LaserMunition  )
orxonox::RegisterClass ( LightningMunition  )
orxonox::RegisterClass ( RocketMunition  )
orxonox::RegisterClass ( SplitMunition  )
orxonox::RegisterClass ( WorldEntityCollisionShape  )
orxonox::RegisterClass ( ArrowController  )
orxonox::RegisterClass ( ResourceCollection  )
orxonox::RegisterClass ( ParticleSpawner  )
orxonox::RegisterClass ( TeamBaseMatchBase  )
orxonox::RegisterClass ( WeaponSet  )
orxonox::RegisterClass ( WeaponSlot  )
orxonox::RegisterClass ( NameableStaticEntity  )
orxonox::RegisterClass ( CreateStars  )
orxonox::RegisterClass ( DodgeRaceCube  )
orxonox::RegisterClass ( FlappyOrxHUDinfo  )
orxonox::RegisterClass ( StaticEntity  )
orxonox::RegisterClass ( JumpPlatformFake  )
orxonox::RegisterClass ( Context  )
orxonox::RegisterClass ( Namespace  )
orxonox::RegisterClass ( OrxyRoadCube  )
orxonox::RegisterClass ( Template  )
orxonox::RegisterClass ( SOBHUDInfo  )
orxonox::RegisterClass ( ExplosionChunk  )
orxonox::RegisterClass ( DockingController  )
orxonox::RegisterClass ( DockingTarget  )
orxonox::RegisterClass ( WeaponPack  )
orxonox::RegisterClass ( Billboard  )
orxonox::RegisterClass ( MeshLodInformation  )
orxonox::RegisterClass ( Bot  )
orxonox::RegisterClass ( Dialog  )
orxonox::RegisterClass ( DockToShip  )
orxonox::RegisterClass ( HoverShip  )
orxonox::RegisterClass ( JumpPlatformDisappear  )
orxonox::RegisterClass ( JumpPlatformHMove  )
orxonox::RegisterClass ( JumpPlatformStatic  )
orxonox::RegisterClass ( JumpPlatformVMove  )
orxonox::RegisterClass ( JumpPropeller  )
orxonox::RegisterClass ( JumpRocket  )
orxonox::RegisterClass ( JumpShield  )
orxonox::RegisterClass ( JumpSpring  )
orxonox::RegisterClass ( SimpleNotification  )
orxonox::RegisterClass ( Listable  )
orxonox::RegisterClass ( OrxoKartOrigin  )
orxonox::RegisterClass ( HUDWeaponSystem  )
orxonox::RegisterClass ( PongBat  )
orxonox::RegisterClass ( PongBot  )
orxonox::RegisterClass ( TowerDefenseField  )
orxonox::RegisterClass ( TowerDefenseSelecter  )
orxonox::RegisterClass ( IceGunFreezer  )
orxonox::RegisterClass ( MuzzleFlash  )
orxonox::RegisterClass ( AIController  )
orxonox::RegisterClass ( AnimatedModel  )
orxonox::RegisterClass ( Weapon  )
orxonox::RegisterClass ( HoverOrigin  )
orxonox::RegisterClass ( TimeHUD  )
orxonox::RegisterClass ( InvaderWeaponEnemy  )
orxonox::RegisterClass ( JumpBoots  )
orxonox::RegisterClass ( JumpCenterpoint  )
orxonox::RegisterClass ( JumpEnemy  )
orxonox::RegisterClass ( JumpItem  )
orxonox::RegisterClass ( JumpProjectile  )
orxonox::RegisterClass ( ForceField  )
orxonox::RegisterClass ( DistanceTriggerBeacon  )
orxonox::RegisterClass ( EventTrigger  )
orxonox::RegisterClass ( OrxoKartTile  )
orxonox::RegisterClass ( OrxyRoadCenterPoint  )
orxonox::RegisterClass ( FadeoutText  )
orxonox::RegisterClass ( MunitionContainer  )
orxonox::RegisterClass ( EffectContainer  )
orxonox::RegisterClass ( SOBCenterpoint  )
orxonox::RegisterClass ( DodgeRaceCenterPoint  )
orxonox::RegisterClass ( BillboardProjectile  )
orxonox::RegisterClass ( LightningGunProjectile  )
orxonox::RegisterClass ( CommonController  )
orxonox::RegisterClass ( FlyingController  )
orxonox::RegisterClass ( Engine  )
orxonox::RegisterClass ( ReplenishingMunition  )
orxonox::RegisterClass ( Asteroids2DShip  )
orxonox::RegisterClass ( MoveToDockingTarget  )
orxonox::RegisterClass ( SpaceRaceManager  )
orxonox::RegisterClass ( HoverWall  )
orxonox::RegisterClass ( InvaderCenterPoint  )
orxonox::RegisterClass ( InvaderEnemy  )
orxonox::RegisterClass ( MobileEntity  )
orxonox::RegisterClass ( JumpPlatformTimer  )
orxonox::RegisterClass ( ConeCollisionShape  )
orxonox::RegisterClass ( CylinderCollisionShape  )
orxonox::RegisterClass ( Planet  )
orxonox::RegisterClass ( GUIOverlay  )
orxonox::RegisterClass ( RaceCheckPoint  )
orxonox::RegisterClass ( PongCenterpoint  )
orxonox::RegisterClass ( AddReward  )
orxonox::RegisterClass ( GlobalQuest  )
orxonox::RegisterClass ( LocalQuest  )
orxonox::RegisterClass ( MovableEntity  )
orxonox::RegisterClass ( FlameGunProjectile  )
orxonox::RegisterClass ( ParticleProjectile  )
orxonox::RegisterClass ( SplitGunProjectile  )
orxonox::RegisterClass ( DroneController  )

Constructor.

orxonox::RegisterClass ( Light  )
orxonox::RegisterClass ( Asteroids2DCenterPoint  )
orxonox::RegisterClass ( WorldAmbientSound  )
orxonox::RegisterClass ( WorldSound  )
orxonox::RegisterClass ( InvaderEnemyShooter  )
orxonox::RegisterClass ( JumpPlatform  )
orxonox::RegisterClass ( JumpScore  )
orxonox::RegisterClass ( BoxCollisionShape  )
orxonox::RegisterClass ( SphereCollisionShape  )
orxonox::RegisterClass ( PlaneCollisionShape  )
orxonox::RegisterClass ( SpaceBoundaries  )
orxonox::RegisterClass ( CheckPoint  )
orxonox::RegisterClass ( FightingController  )
orxonox::RegisterClass ( BoostPickup  )
orxonox::RegisterClass ( DamageBoostPickup  )
orxonox::RegisterClass ( MetaPickup  )
orxonox::RegisterClass ( MunitionPickup  )
orxonox::RegisterClass ( ShieldPickup  )
orxonox::RegisterClass ( SpeedPickup  )
orxonox::RegisterClass ( PortalEndPoint  )
orxonox::RegisterClass ( CompleteQuest  )
orxonox::RegisterClass ( QuestListener  )
orxonox::RegisterClass ( SOBCastlestone  )
orxonox::RegisterClass ( SOBCoin  )
orxonox::RegisterClass ( SOBFlagstone  )
orxonox::RegisterClass ( SOBGumba  )
orxonox::RegisterClass ( SOBItem  )
orxonox::RegisterClass ( SOBMushroom  )
orxonox::RegisterClass ( TetrisCenterpoint  )
orxonox::RegisterClass ( TetrisStone  )
orxonox::RegisterClass ( TowerDefenseCenterpoint  )
orxonox::RegisterClass ( RocketController  )
orxonox::RegisterClass ( CompoundCollisionShape  )
orxonox::RegisterClass ( ResourceLocation  )
orxonox::RegisterClass ( FailQuest  )
orxonox::RegisterClass ( EventMultiTrigger  )
orxonox::RegisterClass ( MultiTrigger  )
orxonox::RegisterClass ( OrxoKartFlag  )
orxonox::RegisterClass ( StoryModePawn  )
orxonox::RegisterClass ( AddQuest  )
orxonox::RegisterClass ( QuestHint  )
orxonox::RegisterClass ( Projectile  )
orxonox::RegisterClass ( WagnisGun  )
orxonox::RegisterClass ( ParticleEmitter  )
orxonox::RegisterClass ( FlappyOrxShip  )
orxonox::RegisterClass ( HoverFlag  )
orxonox::RegisterClass ( InvaderShip  )
orxonox::RegisterClass ( JumpFigure  )
orxonox::RegisterClass ( ScriptableControllerDrone  )

Constructor.

Registers the object and initializes some default values.

Parameters
creatorThe creator of this object.
orxonox::RegisterClass ( Mini4DgameBoard  )
orxonox::RegisterClass ( CommandNotification  )
orxonox::RegisterClass ( NotificationQueue  )
orxonox::RegisterClass ( HUDWeapon  )
orxonox::RegisterClass ( HUDWeaponMode  )
orxonox::RegisterClass ( QuestDescription  )
orxonox::RegisterClass ( SOBQBlock  )
orxonox::RegisterClass ( SOBTube  )
orxonox::RegisterClass ( TetrisBrick  )
orxonox::RegisterClass ( TetrisScore  )
orxonox::RegisterClass ( LightningGun  )
orxonox::RegisterClass ( AddQuestHint  )
orxonox::RegisterClass ( AutonomousDrone  )

Constructor.

Registers the object and initializes some default values.

Parameters
creatorThe creator of this object.
orxonox::RegisterClass ( Stats  )
orxonox::RegisterClass ( LaserFire  )
orxonox::RegisterClass ( DronePickup  )
orxonox::RegisterClass ( InvisiblePickup  )
orxonox::RegisterClass ( PickupCollection  )
orxonox::RegisterClass ( PickupRepresentation  )
orxonox::RegisterClass ( PongScore  )
orxonox::RegisterClass ( QuestEffectBeacon  )
orxonox::RegisterClass ( FlameGun  )
orxonox::RegisterClass ( IceGun  )
orxonox::RegisterClass ( MineGun  )
orxonox::RegisterClass ( SplitGun  )
orxonox::RegisterClass ( ArtificialController  )
orxonox::RegisterClass ( Backlight  )
orxonox::RegisterClass ( MineProjectile  )
orxonox::RegisterClass ( PartDestructionEvent  )
orxonox::RegisterClass ( Asteroids2DStone  )
orxonox::RegisterClass ( Spectator  )
orxonox::RegisterClass ( NotificationQueueCEGUI  )
orxonox::RegisterClass ( Script  )
orxonox::RegisterClass ( Trigger  )
orxonox::RegisterClass ( TriggerBase  )
orxonox::RegisterClass ( ShroomHUD  )
orxonox::RegisterClass ( OverlayText  )
orxonox::RegisterClass ( ShrinkPickup  )
orxonox::RegisterClass ( PongBall  )
orxonox::RegisterClass ( RocketFireOld  )
orxonox::RegisterClass ( FusionFire  )
orxonox::RegisterClass ( RocketFire  )
orxonox::RegisterClass ( SpaceShip  )
orxonox::RegisterClass ( WeaponSystem  )
orxonox::RegisterClass ( IceGunProjectile  )
orxonox::RegisterClass ( Camera  )
orxonox::RegisterClass ( Level  )
orxonox::RegisterClass ( Dock  )
orxonox::RegisterClass ( Asteroids2DWeapon  )
orxonox::RegisterClass ( FlagHUD  )
orxonox::RegisterClass ( PickupSpawner  )
orxonox::RegisterClass ( DistanceMultiTrigger  )
orxonox::RegisterClass ( HealthPickup  )
orxonox::RegisterClass ( LensFlare  )
orxonox::RegisterClass ( HUDPickupSystem  )
orxonox::RegisterClass ( SOBGumbaBoss  )
orxonox::RegisterClass ( ControllableEntity  )
orxonox::RegisterClass ( Model  )
orxonox::RegisterClass ( ShipPart  )
orxonox::RegisterClass ( EnergyDrink  )
orxonox::RegisterClass ( DistanceTrigger  )
orxonox::RegisterClass ( MultiStateEngine  )
orxonox::RegisterClass ( ChatOverlay  )
orxonox::RegisterClass ( BaseObject  )
orxonox::RegisterClass ( SOBFireball  )
orxonox::RegisterClass ( HsW01  )
orxonox::RegisterClass ( SimpleRocketFire  )
orxonox::RegisterClass ( InvaderWeapon  )
orxonox::RegisterClass ( ModularSpaceShip  )
orxonox::RegisterClass ( BarColour  )
orxonox::RegisterClass ( HUDRadar  )
orxonox::RegisterClass ( ScriptController  )
orxonox::RegisterClass ( SimpleRocket  )
orxonox::RegisterClass ( RocketOld  )
orxonox::RegisterClass ( Rocket  )
orxonox::RegisterClass ( FpsPlayer  )
orxonox::RegisterClass ( SpicedAsteroidField  )
orxonox::RegisterClass ( SOBFigure  )
orxonox::RegisterClass ( FormationController  )
orxonox::RegisterClass ( SpicedAsteroidBelt  )
orxonox::RegisterClass ( Pawn  )
orxonox::RegisterClass ( OverlayGroup  )
orxonox::RegisterClass ( CountDown  )
orxonox::RegisterClass ( Scene  )
orxonox::RegisterClass ( StoryModeHUD  )
orxonox::RegisterClass ( WagnisHUD  )
orxonox::RegisterClass ( OrxonoxOverlay  )
orxonox::RegisterClass ( HUDBar  )
orxonox::RegisterClass ( HUDNavigation  )
orxonox::RegisterClass ( AsteroidMinable  )
template<class T >
Identifier* orxonox::registerClass ( const std::string &  name,
ClassFactory< T > *  factory,
bool  bLoadable = true 
)
inline

Overload of registerClass() which determines T implicitly by the template argument of the ClassFactory.

template<class T >
Identifier* orxonox::registerClass ( const std::string &  name,
Factory factory,
bool  bLoadable = true 
)
inline

Registers a class in the framework.

Parameters
nameThe name of the class
factoryThe factory which is able to create new instances of this class
bLoadableWhether the class is allowed to be loaded through XML
orxonox::RegisterClass ( LevelInfo  )
orxonox::RegisterClassNoArgs ( Configurable  )
orxonox::RegisterClassNoArgs ( OrxonoxClass  )
orxonox::RegisterClassNoArgs ( OrxonoxInterface  )
orxonox::RegisterClassNoArgs ( GameConfig  )
orxonox::RegisterClassNoArgs ( InputBuffer  )
orxonox::RegisterClassNoArgs ( Highscore  )
orxonox::RegisterClassNoArgs ( Shader  )
orxonox::RegisterClassNoArgs ( CoreConfig  )
orxonox::RegisterClassNoArgs ( Identifiable  )
orxonox::RegisterClassNoArgs ( BasicProjectile  )
orxonox::RegisterClassNoArgs ( LANDiscoverable  )
orxonox::RegisterClassNoArgs ( Shell  )
orxonox::RegisterClassNoArgs ( Timer  )
orxonox::RegisterClassNoArgs ( RealTimer  )
const OutputContextContainer & orxonox::registerContext ( const std::string &  name,
const std::string &  subname = "" 
)

Registers a context.

Static function, shortcut to OutputManager::registerContext().

This is a shortcut to OutputManager::registerContext() to avoid the inclusion of its header file.

The function is declared in OutputDefinitions.h.

orxonox::registerMemberNetworkFunction ( NotificationDispatcher  ,
broadcastHelper   
)
orxonox::registerMemberNetworkFunction ( ControllableEntity  ,
fire   
)
orxonox::registerMemberNetworkFunction ( NotificationDispatcher  ,
dispatch   
)
orxonox::registerMemberNetworkFunction ( Test  ,
checkU1   
)
orxonox::registerMemberNetworkFunction ( ControllableEntity  ,
setTargetInternal   
)
orxonox::registerMemberNetworkFunction ( Test  ,
printBlaBla   
)
orxonox::registerMemberNetworkFunction ( GametypeInfo  ,
dispatchAnnounceMessage   
)
orxonox::registerMemberNetworkFunction ( GametypeInfo  ,
dispatchKillMessage   
)
orxonox::registerMemberNetworkFunction ( GametypeInfo  ,
dispatchDeathMessage   
)
orxonox::registerMemberNetworkFunction ( GametypeInfo  ,
dispatchStaticMessage   
)
orxonox::registerMemberNetworkFunction ( GametypeInfo  ,
dispatchFadingMessage   
)
orxonox::registerMemberNetworkFunction ( GametypeInfo  ,
changedReadyToSpawn   
)
orxonox::registerMemberNetworkFunction ( GametypeInfo  ,
changedSpawned   
)
template<class T , class PT >
NetworkFunctionBase* orxonox::registerMemberNetworkFunctionFct ( PT  ptr,
const std::string &  name 
)
inline
orxonox::RegisterStaticInitializationHandler ( NetworkStaticInitializationHandler  )
orxonox::registerStaticNetworkFunction ( Script::executeHelper  )
orxonox::registerStaticNetworkFunction ( NotificationListener::sendHelper  )
orxonox::registerStaticNetworkFunction ( Dock::showDockingDialog  )
orxonox::registerStaticNetworkFunction ( PickupManager::pickupChangedUsedNetwork  )
orxonox::registerStaticNetworkFunction ( PickupManager::pickupChangedPickedUpNetwork  )
orxonox::registerStaticNetworkFunction ( PickupManager::dropPickupNetworked  )
orxonox::registerStaticNetworkFunction ( PickupManager::usePickupNetworked  )
template<class PT >
NetworkFunctionBase* orxonox::registerStaticNetworkFunctionFct ( PT  ptr,
const std::string &  name 
)
inline
orxonox::RegisterUnloadableClass ( Controller  )
orxonox::RegisterUnloadableClass ( Asteroids  )
orxonox::RegisterUnloadableClass ( Deathmatch  )
orxonox::RegisterUnloadableClass ( TeamBaseMatch  )
orxonox::RegisterUnloadableClass ( TeamDeathmatch  )
orxonox::RegisterUnloadableClass ( LastManStanding  )
orxonox::RegisterUnloadableClass ( LastTeamStanding  )
orxonox::RegisterUnloadableClass ( TeamGametype  )
orxonox::RegisterUnloadableClass ( OrxyRoad  )
orxonox::RegisterUnloadableClass ( UnderAttack  )
orxonox::RegisterUnloadableClass ( DodgeRace  )
orxonox::RegisterUnloadableClass ( OrxoKart  )
orxonox::RegisterUnloadableClass ( MultiTriggerContainer  )
orxonox::RegisterUnloadableClass ( QuestItem  )
orxonox::RegisterUnloadableClass ( Hover  )
orxonox::RegisterUnloadableClass ( HumanPlayer  )
orxonox::RegisterUnloadableClass ( StoryMode  )
orxonox::RegisterUnloadableClass ( Mission  )
orxonox::RegisterUnloadableClass ( Dynamicmatch  )
orxonox::RegisterUnloadableClass ( PongAI  )
orxonox::RegisterUnloadableClass ( Mini4DgameAI  )
orxonox::RegisterUnloadableClass ( NotificationDispatcher  )
orxonox::RegisterUnloadableClass ( Pickup  )
orxonox::RegisterUnloadableClass ( GametypeInfo  )
orxonox::RegisterUnloadableClass ( SOB  )
orxonox::RegisterUnloadableClass ( Pong  )
orxonox::RegisterUnloadableClass ( Gametype  )
orxonox::RegisterUnloadableClass ( Invader  )
orxonox::RegisterUnloadableClass ( Mini4Dgame  )
orxonox::RegisterUnloadableClass ( FlappyOrx  )
orxonox::RegisterUnloadableClass ( Tetris  )
orxonox::RegisterUnloadableClass ( Jump  )
orxonox::RegisterUnloadableClass ( HumanController  )
orxonox::RegisterUnloadableClass ( Asteroids2D  )
orxonox::RegisterUnloadableClass ( SpaceRace  )
orxonox::RegisterUnloadableClass ( TowerDefense  )
_UtilExport std::string orxonox::removeSlashes ( const std::string &  str)

Removes backslashes from the given string.

Double backslashes are interpreted as one backslash.

This function removes all backslashes and converts the human readable equivalents of special chars like "\\" + "n" into their real meaning (in this case a line break or "\n").

This is usually used when reading a string from a file.

See also
addSlashes
_UtilExport std::string orxonox::removeTrailingWhitespaces ( const std::string &  str)

Returns a copy of a string without trailing whitespaces.

_UtilExport size_t orxonox::replaceCharacters ( std::string &  str,
char  target,
char  replacement 
)

Replaces individual charaters.

Parameters
strString to be manipulated
targetCharacter to be replaced
replacementReplacement character
Returns
Number of replacements
template<class T , class V >
void orxonox::resetConfigValueGeneric ( T *  object,
V *  variable,
const std::string &  entryName 
)
inline

Resets a runtime configurable value to its default.

If the container for the value doesn't yet exist, a warning is displayed. Also, the variable argument will be modified and set to the default value.

Parameters
objectClass instance that the config value should belong to (usually just 'this')
variablePointer to the variable where the value should be written to
entryNameName of the entry in the ini file (e.g. [MySection] myValue)
template<class T >
uint32_t orxonox::returnSize ( const T &  variable)
inline

returns the size of the variable in a datastream

template<class T >
uint32_t orxonox::returnSize ( T *&  variable)
inline

returns the size of the objectID needed to synchronise the pointer

uint32_t orxonox::returnSize ( const char *&  variable)
inline
template<class T >
uint32_t orxonox::returnSize ( const StrongPtr< T > &  )
inline

returns the size of the objectID needed to synchronise the pointer

template<>
uint32_t orxonox::returnSize ( const bool &  )
inline
template<>
uint32_t orxonox::returnSize ( const char &  )
inline
template<class T >
uint32_t orxonox::returnSize ( const WeakPtr< T > &  variable)
inline

returns the size of the objectID needed to synchronise the pointer

template<>
uint32_t orxonox::returnSize ( const unsigned char &  )
inline
template<>
uint32_t orxonox::returnSize ( const short &  )
inline
template<>
uint32_t orxonox::returnSize ( const unsigned short &  )
inline
template<>
uint32_t orxonox::returnSize ( const int &  )
inline
template<>
uint32_t orxonox::returnSize ( const unsigned int &  )
inline
template<>
uint32_t orxonox::returnSize ( const long &  )
inline
template<>
uint32_t orxonox::returnSize ( const unsigned long &  )
inline
template<>
uint32_t orxonox::returnSize ( const long long &  )
inline
template<>
uint32_t orxonox::returnSize ( const unsigned long long &  )
inline
template<>
uint32_t orxonox::returnSize ( const float &  )
inline
template<>
uint32_t orxonox::returnSize ( const double &  )
inline
template<>
uint32_t orxonox::returnSize ( const long double &  )
inline
template<>
uint32_t orxonox::returnSize ( const std::string &  variable)
inline
template<>
uint32_t orxonox::returnSize ( const Degree &  )
inline
template<>
uint32_t orxonox::returnSize ( const Radian &  )
inline
template<>
uint32_t orxonox::returnSize ( const Vector2 &  variable)
inline
template<>
uint32_t orxonox::returnSize ( const Vector3 &  variable)
inline
template<>
uint32_t orxonox::returnSize ( const Vector4 &  variable)
inline
template<>
uint32_t orxonox::returnSize ( const Quaternion &  variable)
inline
template<>
uint32_t orxonox::returnSize ( const ColourValue &  variable)
inline
template<>
uint32_t orxonox::returnSize ( const mbool variable)
inline
template<class T >
uint32_t orxonox::returnSize ( const std::set< T > &  variable)
inline
float orxonox::rnd ( float  min,
float  max 
)
inline

Returns a random number between min and almost max: min <= rnd < max.

Parameters
minThe minimum
maxThe maximum
float orxonox::rnd ( )
inline

Returns a random number between 0 and almost 1: 0 <= rnd < 1.

float orxonox::rnd ( float  max)
inline

Returns a random number between 0 and almost max: 0 <= rnd < max.

Parameters
maxThe maximum
void orxonox::rndseed ( unsigned int  seed)
inline

Seeds the random number generator used for the functions below.

float orxonox::rndsgn ( )
inline

Returns randomly 1 or -1 with equal probability.

template<class T >
void orxonox::safeObjectDelete ( T **  object)

Deletes an object and resets the pointer.

Parameters
objectPointer to an object. Handing over nullptr is safe.
template<class T >
void orxonox::saveAndIncrease ( const T &  variable,
uint8_t *&  mem 
)
inline

saves the value of a variable into the bytestream and increases the mem pointer

template<class T >
void orxonox::saveAndIncrease ( T *&  variable,
uint8_t *&  mem 
)
inline

saves the objectID of a pointer into the bytestream and increases the mem pointer

void orxonox::saveAndIncrease ( const char *&  variable,
uint8_t *&  mem 
)
inline
template<class T >
void orxonox::saveAndIncrease ( const StrongPtr< T > &  variable,
uint8_t *&  mem 
)
inline

saves the objectID of a pointer into the bytestream and increases the mem pointer

template<>
void orxonox::saveAndIncrease ( const bool &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::saveAndIncrease ( const char &  variable,
uint8_t *&  mem 
)
inline
template<class T >
void orxonox::saveAndIncrease ( const WeakPtr< T > &  variable,
uint8_t *&  mem 
)
inline

saves the objectID of a pointer into the bytestream and increases the mem pointer

template<>
void orxonox::saveAndIncrease ( const unsigned char &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::saveAndIncrease ( const short &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::saveAndIncrease ( const unsigned short &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::saveAndIncrease ( const int &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::saveAndIncrease ( const unsigned int &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::saveAndIncrease ( const long &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::saveAndIncrease ( const unsigned long &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::saveAndIncrease ( const long long &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::saveAndIncrease ( const unsigned long long &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::saveAndIncrease ( const float &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::saveAndIncrease ( const double &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::saveAndIncrease ( const long double &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::saveAndIncrease ( const std::string &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::saveAndIncrease ( const Degree &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::saveAndIncrease ( const Radian &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::saveAndIncrease ( const Vector2 &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::saveAndIncrease ( const Vector3 &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::saveAndIncrease ( const Vector4 &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::saveAndIncrease ( const Quaternion &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::saveAndIncrease ( const ColourValue &  variable,
uint8_t *&  mem 
)
inline
template<>
void orxonox::saveAndIncrease ( const mbool variable,
uint8_t *&  mem 
)
inline
template<class T >
void orxonox::saveAndIncrease ( const std::set< T > &  variable,
uint8_t *&  mem 
)
inline
int orxonox::seekVorbis ( void datasource,
ogg_int64_t  offset,
int  whence 
)
orxonox::SetCommandLineArgument ( dest  ,
"127.0.0.1"   
)
orxonox::SetCommandLineArgument ( externalDataPath  ,
""   
)
orxonox::SetCommandLineArgument ( writingPathSuffix  ,
""   
)
orxonox::SetCommandLineArgument ( settingsFile  ,
"orxonox.ini"   
)
orxonox::SetCommandLineArgument ( generateDoc  ,
""   
)
orxonox::SetCommandLineSwitch ( console  )
orxonox::SetCommandLineSwitch ( server  )
orxonox::SetCommandLineSwitch ( client  )
orxonox::SetCommandLineSwitch ( dedicated  )
orxonox::SetCommandLineSwitch ( standalone  )
orxonox::SetCommandLineSwitch ( dedicatedClient  )
orxonox::SetCommandLineSwitch ( masterserver  )
orxonox::SetCommandLineSwitch ( keyboard_no_grab  )
orxonox::SetCommandLineSwitch ( noIOConsole  )
template<class T , class D , class V >
ConfigValueContainer& orxonox::setConfigValueGeneric ( T *  object,
V *  variable,
ConfigFileType::Value  type,
const std::string &  sectionName,
const std::string &  entryName,
const D &  defaultValue 
)
inline

Sets a runtime configurable value.

If the container for the value doesn't yet exist, a new one is created. Also, the variable argument will be modified and set to the new value (default or from ini file).

Parameters
objectClass instance that the config value should belong to (usually just 'this')
variablePointer to the variable where the value should be written to
typeType of the config file, usually ConfigFileType::Settings
sectionNameName of the section in the ini file (e.g. [MySection])
entryNameName of the entry in the ini file (e.g. [MySection] myValue)
defaultValueValue to be used if it cannot be read from the ini file
orxonox::SetConsoleCommand ( "Test"  ,
"printV1"  ,
&Test::printV1   
)
orxonox::SetConsoleCommand ( "ms-listservers"  ,
&MasterServer::listServers   
)
orxonox::SetConsoleCommand ( "WorldAmbientSound"  ,
"nextsong"  ,
&WorldAmbientSound::nextSong   
)
orxonox::SetConsoleCommand ( "Test"  ,
"printV2"  ,
&Test::printV2   
)
orxonox::SetConsoleCommand ( "ms-delserver"  ,
&MasterServer::delServer   
)
orxonox::SetConsoleCommand ( "Test"  ,
"printV3"  ,
&Test::printV3   
)
orxonox::SetConsoleCommand ( "Mission"  ,
"endMission"  ,
&Mission::endMission   
)
orxonox::SetConsoleCommand ( "Test"  ,
"printV4"  ,
&Test::printV4   
)
orxonox::SetConsoleCommand ( "Mission"  ,
"setLives"  ,
&Mission::setLivesWrapper   
)
orxonox::SetConsoleCommand ( "Test"  ,
"call"  ,
&Test::call   
)
orxonox::SetConsoleCommand ( "StoryMode"  ,
"exit"  ,
&StoryMode::exit   
)
orxonox::SetConsoleCommand ( __CC_printRTT_group  ,
__CC_printRTT_name  ,
&Host::printRTT   
)
orxonox::SetConsoleCommand ( "chat"  ,
&ChatManager::chat   
)
orxonox::SetConsoleCommand ( "Test"  ,
"call2"  ,
&Test::call2   
)
orxonox::SetConsoleCommand ( "HumanController"  ,
"moveFrontBack"  ,
&HumanController::moveFrontBack   
)
orxonox::SetConsoleCommand ( "ArtificialController"  ,
"setbotlevel"  ,
&ArtificialController::setAllBotLevel   
)
orxonox::SetConsoleCommand ( "tcl"  ,
&TclBind::tcl   
)
orxonox::SetConsoleCommand ( "Trigger"  ,
"debugFlares"  ,
&Trigger::debugFlares   
)
orxonox::SetConsoleCommand ( "HumanController"  ,
"moveRightLeft"  ,
&HumanController::moveRightLeft   
)
orxonox::SetConsoleCommand ( "bgerror"  ,
&TclBind::bgerror   
)
orxonox::SetConsoleCommand ( "HumanController"  ,
"moveUpDown"  ,
&HumanController::moveUpDown   
)
orxonox::SetConsoleCommand ( "echo"  ,
echo   
)
orxonox::SetConsoleCommand ( "HumanController"  ,
"rotateYaw"  ,
&HumanController::rotateYaw   
)
orxonox::SetConsoleCommand ( "IRC"  ,
"say"  ,
&IRC::say   
)
orxonox::SetConsoleCommand ( __CC_Mouse_name  ,
__CC_grab_name  ,
&Mouse::grab   
)
orxonox::SetConsoleCommand ( "HumanController"  ,
"rotatePitch"  ,
&HumanController::rotatePitch   
)
orxonox::SetConsoleCommand ( "IRC"  ,
"msg"  ,
&IRC::msg   
)
orxonox::SetConsoleCommand ( "orxout"  ,
orxout_level   
)
orxonox::SetConsoleCommand ( "IRC"  ,
"nick"  ,
&IRC::nick   
)
orxonox::SetConsoleCommand ( "HumanController"  ,
"rotateRoll"  ,
&HumanController::rotateRoll   
)
orxonox::SetConsoleCommand ( "unhide"  ,
&CommandExecutor::unhide   
)
orxonox::SetConsoleCommand ( __CC_keybind_name  ,
&KeyBinderManager::keybind   
)
orxonox::SetConsoleCommand ( __CC_Mouse_name  ,
__CC_ungrab_name  ,
&Mouse::ungrab   
)
orxonox::SetConsoleCommand ( "Dock"  ,
"dock"  ,
&Dock::cmdDock   
)
orxonox::SetConsoleCommand ( __CC_tkeybind_name  ,
&KeyBinderManager::tkeybind   
)
orxonox::SetConsoleCommand ( "orxout_context"  ,
orxout_level_context   
)
orxonox::SetConsoleCommand ( "ModularSpaceShip"  ,
"killshippart"  ,
&ModularSpaceShip::killShipPartStatic   
)
orxonox::SetConsoleCommand ( "delay"  ,
delay 
)
orxonox::SetConsoleCommand ( "PluginManager"  ,
__CC_PluginManager_load_name  ,
&PluginManager::loadPlugin   
)
orxonox::SetConsoleCommand ( "Dock"  ,
"undock"  ,
&Dock::cmdUndock   
)
orxonox::SetConsoleCommand ( __CC_unbind_name  ,
&KeyBinderManager::unbind   
)
orxonox::SetConsoleCommand ( "delayreal"  ,
delayreal 
)
orxonox::SetConsoleCommand ( "PluginManager"  ,
__CC_PluginManager_unload_name  ,
&PluginManager::unloadPlugin   
)
orxonox::SetConsoleCommand ( "FormationController"  ,
"formationflight"  ,
&FormationController::formationflight   
)
orxonox::SetConsoleCommand ( "log"  ,
log   
)
orxonox::SetConsoleCommand ( "FormationController"  ,
"masteraction"  ,
&FormationController::masteraction   
)
orxonox::SetConsoleCommand ( "killdelay"  ,
killdelay 
)
orxonox::SetConsoleCommand ( __CC_load_name  ,
&ConfigFile::load   
)
orxonox::SetConsoleCommand ( "alias"  ,
&CommandExecutor::alias   
)
orxonox::SetConsoleCommand ( __CC_tunbind_name  ,
&KeyBinderManager::tunbind   
)
orxonox::SetConsoleCommand ( "printObjects"  ,
&GSRoot::printObjects   
)
orxonox::SetConsoleCommand ( "Gametype"  ,
__CC_addBots_name  ,
&Gametype::addBots   
)
orxonox::SetConsoleCommand ( __CC_setFilename_name  ,
&SettingsConfigFile::setFilename   
)
orxonox::SetConsoleCommand ( "killdelays"  ,
killdelays 
)
orxonox::SetConsoleCommand ( "error"  ,
error   
)
orxonox::SetConsoleCommand ( "FormationController"  ,
"followme"  ,
&FormationController::followme   
)
orxonox::SetConsoleCommand ( __CC_config_name  ,
&SettingsConfigFile::config   
)
orxonox::SetConsoleCommand ( "Mini4Dgame"  ,
"setStone"  ,
&Mini4Dgame::setStone   
)
orxonox::SetConsoleCommand ( "warning"  ,
warning   
)
orxonox::SetConsoleCommand ( "FormationController"  ,
"passivebehaviour"  ,
&FormationController::passivebehaviour   
)
orxonox::SetConsoleCommand ( "Gametype"  ,
__CC_killBots_name  ,
&Gametype::killBots   
)
orxonox::SetConsoleCommand ( "status"  ,
status   
)
orxonox::SetConsoleCommand ( "Mini4Dgame"  ,
"undoStone"  ,
&Mini4Dgame::undoStone   
)
orxonox::SetConsoleCommand ( __CC_tconfig_name  ,
&SettingsConfigFile::tconfig   
)
orxonox::SetConsoleCommand ( "FormationController"  ,
"formationsize"  ,
&FormationController::formationsize   
)
orxonox::SetConsoleCommand ( "HumanController"  ,
"switchCamera"  ,
&HumanController::switchCamera   
)
orxonox::SetConsoleCommand ( "TclThreadManager"  ,
"create"  ,
&TclThreadManager::create   
)
orxonox::SetConsoleCommand ( __CC_getConfig_name  ,
&SettingsConfigFile::getConfig   
)
orxonox::SetConsoleCommand ( "info"  ,
info   
)
orxonox::SetConsoleCommand ( "TclThreadManager"  ,
"destroy"  ,
&TclThreadManager::destroy   
)
orxonox::SetConsoleCommand ( "HumanController"  ,
"mouseLook"  ,
&HumanController::mouseLook   
)
orxonox::SetConsoleCommand ( "exit"  ,
stop_game 
)
orxonox::SetConsoleCommand ( "debug"  ,
debug   
)
orxonox::SetConsoleCommand ( "OverlayGroup"  ,
"toggleVisibility"  ,
&OverlayGroup::toggleVisibility   
)
orxonox::SetConsoleCommand ( "HumanController"  ,
__CC_suicide_name  ,
&HumanController::suicide   
)
orxonox::SetConsoleCommand ( "TclThreadManager"  ,
"execute"  ,
&TclThreadManager::execute   
)
orxonox::SetConsoleCommand ( __CC_startStandalone_name  ,
&GSMainMenu::startStandalone   
)
orxonox::SetConsoleCommand ( "HumanController"  ,
"toggleGodMode"  ,
&HumanController::toggleGodMode   
)
orxonox::SetConsoleCommand ( "TclThreadManager"  ,
"query"  ,
&TclThreadManager::query   
)
orxonox::SetConsoleCommand ( __CC_startServer_name  ,
&GSMainMenu::startServer   
)
orxonox::SetConsoleCommand ( "SkyboxGenerator"  ,
"createSkybox"  ,
&SkyboxGenerator::createSkybox   
)
orxonox::SetConsoleCommand ( "OverlayGroup"  ,
"show"  ,
&OverlayGroup::show   
)
orxonox::SetConsoleCommand ( __CC_startMainMenu_name  ,
&GSLevel::startMainMenu   
)
orxonox::SetConsoleCommand ( "printScreenHD"  ,
&ScreenshotManager::makeScreenshot_s   
)
orxonox::SetConsoleCommand ( "HumanController"  ,
"cycleNavigationFocus"  ,
&HumanController::cycleNavigationFocus   
)
orxonox::SetConsoleCommand ( "OverlayGroup"  ,
"scaleGroup"  ,
&OverlayGroup::scaleGroup   
)
orxonox::SetConsoleCommand ( "TclThreadManager"  ,
"source"  ,
&TclThreadManager::source   
)
orxonox::SetConsoleCommand ( "Stats"  ,
"printFPS"  ,
printFPS 
)
orxonox::SetConsoleCommand ( "Pawn"  ,
"debugDrawWeapons"  ,
&Pawn::consoleCommand_debugDrawWeapons   
)
orxonox::SetConsoleCommand ( __CC_startClient_name  ,
&GSMainMenu::startClient   
)
orxonox::SetConsoleCommand ( __CC_changeGame_name  ,
&GSLevel::changeGame   
)
orxonox::SetConsoleCommand ( __CC_startDedicated_name  ,
&GSMainMenu::startDedicated   
)
orxonox::SetConsoleCommand ( "HumanController"  ,
"releaseNavigationFocus"  ,
&HumanController::releaseNavigationFocus   
)
orxonox::SetConsoleCommand ( "OverlayGroup"  ,
"scrollGroup"  ,
&OverlayGroup::scrollGroup   
)
orxonox::SetConsoleCommand ( __CC_reloadLevel_name  ,
&GSLevel::reloadLevel   
)
orxonox::SetConsoleCommand ( "HumanController"  ,
"myposition"  ,
&HumanController::myposition   
)
orxonox::SetConsoleCommand ( __CC_setMainMenuSoundPath_name  ,
&GSMainMenu::setMainMenuSoundPath   
)
orxonox::SetConsoleCommand ( "Stats"  ,
"printTickTime"  ,
printTickTime 
)
orxonox::SetConsoleCommand ( "OrxonoxOverlay"  ,
"scaleOverlay"  ,
&OrxonoxOverlay::scaleOverlay   
)
orxonox::SetConsoleCommand ( "calculate"  ,
calculate   
)
orxonox::SetConsoleCommand ( "OrxonoxOverlay"  ,
"scrollOverlay"  ,
&OrxonoxOverlay::scrollOverlay   
)
orxonox::SetConsoleCommand ( __CC_InputManager_name  ,
__CC_calibrate_name  ,
&InputManager::calibrate   
)
orxonox::SetConsoleCommand ( "startchat"  ,
&ChatInputHandler::activate_static   
)
orxonox::SetConsoleCommand ( "OrxonoxOverlay"  ,
"toggleVisibility"  ,
&OrxonoxOverlay::toggleVisibility   
)
orxonox::SetConsoleCommand ( "startchat_small"  ,
&ChatInputHandler::activate_small_static   
)
orxonox::SetConsoleCommand ( "OrxonoxOverlay"  ,
"show"  ,
&OrxonoxOverlay::showOverlay   
)
orxonox::SetConsoleCommand ( __CC_InputManager_name  ,
__CC_reload_name  ,
&InputManager::reload   
)
orxonox::SetConsoleCommand ( "OrxonoxOverlay"  ,
"rotateOverlay"  ,
&OrxonoxOverlay::rotateOverlay   
)
orxonox::SetConsoleCommand ( "Scene"  ,
"debugDrawPhysics"  ,
&Scene::consoleCommand_debugDrawPhysics   
)

Constructor, it sets common standard paramters for a scene depending on whether it will be rendered or not.

It also makes sure we user our own render queue listener for rendering instead of the standard listener provided by Ogre

orxonox::SetConsoleCommand ( "InGameConsole"  ,
"openConsole"  ,
&InGameConsole::openConsole   
)
orxonox::SetConsoleCommand ( "InGameConsole"  ,
"closeConsole"  ,
&InGameConsole::closeConsole   
)
orxonox::SetConsoleCommand ( "keyESC"  ,
key_esc 
)
orxonox::SetConsoleCommand ( "showGUI"  ,
&GUIManager::showGUI   
)
orxonox::SetConsoleCommand ( "hideGUI"  ,
&GUIManager::hideGUI   
)
orxonox::SetConsoleCommand ( "toggleGUI"  ,
&GUIManager::toggleGUI   
)
template<typename T >
constexpr T orxonox::sgn ( x)
inline

Returns the sign of the given value.

Parameters
xThe value
Returns
1 if the value is positive or zero, -1 if the value is negative
_UtilExport void orxonox::sleep ( unsigned long  seconds)

Makes the thread sleep for a few seconds.

_CoreExport void orxonox::source ( const std::string &  filename)

Reads the content of a file and executes the commands in it line by line.

_CoreExport void orxonox::sourceThread ( const std::string &  file)

The main function of a non-interactive source thread.

Executes the file.

Parameters
fileThe name of the file that should be executed by the non-interactive interpreter.
template<typename T >
constexpr T orxonox::square ( x)
inline

Returns the squared value (x^2).

template<class T , class U >
WeakPtr<T> orxonox::static_pointer_cast ( const WeakPtr< U > &  p)

Uses a static_cast to cast a pointer of type U* to a pointer of type T* and returns it in a new WeakPtr<T>.

template<class T , class U >
StrongPtr<T> orxonox::static_pointer_cast ( const StrongPtr< U > &  p)

Uses a static_cast to cast a pointer of type U* to a pointer of type T* and returns it in a new StrongPtr<T>.

_CoreExport void orxonox::status ( const std::string &  text)

Prints output with status level.

static void orxonox::stop_game ( )
static
_UtilExport void orxonox::strip ( std::string *  str)

Removes all whitespaces from a string.

_UtilExport std::string orxonox::stripEnclosingBraces ( const std::string &  str)

Removes enclosing braces '{' and '}' (the braces must be exactly on the beginning and the end of the string).

Returns
The stripped string without braces
_UtilExport std::string orxonox::stripEnclosingQuotes ( const std::string &  str)

Removes enclosing quotation marks if available (including whitespaces at the outside of the quotation marks).

Returns
The stripped string without quotation marks
bool orxonox::sub_compAddr ( ENetAddress  addr1,
ENetAddress  addr2 
)
bool orxonox::sub_compare_names ( ServerListElem  no1,
ServerListElem  no2 
)
bool orxonox::sub_compare_pings ( ServerListElem  no1,
ServerListElem  no2 
)
orxonox::SUPER_FUNCTION ( ,
Tickable  ,
tick  ,
true   
)
orxonox::SUPER_FUNCTION ( ,
Pickupable  ,
changedUsed  ,
false   
)

SUPER functions.

orxonox::SUPER_FUNCTION ( 10  ,
Pickupable  ,
changedCarrier  ,
false   
)
orxonox::SUPER_FUNCTION ( 11  ,
Pickupable  ,
changedPickedUp  ,
false   
)
orxonox::SUPER_FUNCTION ( ,
OrxonoxOverlay  ,
changedOwner  ,
false   
)
orxonox::SUPER_FUNCTION ( ,
OrxonoxOverlay  ,
changedOverlayGroup  ,
false   
)
orxonox::SUPER_FUNCTION ( ,
BaseObject  ,
XMLPort  ,
false   
)
orxonox::SUPER_FUNCTION ( ,
BaseObject  ,
changedActivity  ,
false   
)
orxonox::SUPER_FUNCTION ( ,
BaseObject  ,
changedVisibility  ,
false   
)
orxonox::SUPER_FUNCTION ( ,
BaseObject  ,
XMLEventPort  ,
false   
)
orxonox::SUPER_FUNCTION ( ,
BaseObject  ,
changedName  ,
false   
)
orxonox::SUPER_FUNCTION ( ,
WorldEntity  ,
changedScale  ,
false   
)
template<class T >
void orxonox::swap ( WeakPtr< T > &  a,
WeakPtr< T > &  b 
)

Swaps the contents of two weak pointers.

template<class T >
void orxonox::swap ( StrongPtr< T > &  a,
StrongPtr< T > &  b 
)

Swaps the contents of two strong pointers.

_CoreExport int orxonox::Tcl_OrxonoxAppInit ( Tcl_Interp *  interp)

A tcl-init hook to inject the non-interactive Tcl-interpreter into the TclThreadManager.

_CoreExport void orxonox::tclThread ( TclInterpreterBundle bundle,
const std::string &  command 
)

The main function of the thread.

Executes a Tcl command.

Parameters
bundleThe interpreter bundle containing all necessary variables
commandthe Command to execute
long orxonox::tellVorbis ( void datasource)
boost::posix_time::millisec orxonox::THREAD_WAIT_BEFORE_DETACH ( 1000  )
_UtilExport bool orxonox::toClipboard ( const std::string &  text)

Default implementation if there is no OS-specific implementation or no clipboard.

Copies the text into an internal clipboard.

See also
fromClipboard()
template<class T >
std::string orxonox::typeToString ( )
inline

Returns the name of type T as string.

_UtilExport void orxonox::uppercase ( std::string *  str)

Replaces each char between a and z with its uppercase equivalent.

_UtilExport void orxonox::usleep ( unsigned long  microseconds)

Makes the thread sleep for a few microseconds.

btVector3 orxonox::vector3 ( const Ogre::Vector3 &  V)
inline
Ogre::Vector3 orxonox::vector3 ( const btVector3 &  V)
inline
_UtilExport void orxonox::vectorize ( const std::string &  str,
char  delimiter,
std::vector< std::string > *  output 
)

Splits a given string by a delimiter and stores it in an output vector. See SubString for a more sophisticated implementation.

_CoreExport void orxonox::warning ( const std::string &  text)

Prints output with warning level.

_CoreExport void orxonox::write ( const std::string &  filename,
const std::string &  text 
)

Writes text to a file.

template<typename T >
std::enable_if<!std::is_enum<T>::value, T>::type orxonox::zeroise ( )
inline

Returns a "zero" value for the given type.

Note
This is the default template of the zeroise() function. The template is spezialized for each supported type.

The exact return value of the function depends on the type. For int this is 0, for float it's 0.0f. For a std::string the function returns "" and for Vector3 you get Vector3(0, 0, 0).

template<typename T >
std::enable_if<std::is_enum<T>::value, T>::type orxonox::zeroise ( )
inline

Implementation for enum classes: uses the underlying type to create a zero value.

template<>
bool orxonox::zeroise< bool > ( )
inline
template<>
char orxonox::zeroise< char > ( )
inline
template<>
double orxonox::zeroise< double > ( )
inline
template<>
float orxonox::zeroise< float > ( )
inline
template<>
int orxonox::zeroise< int > ( )
inline
template<>
long orxonox::zeroise< long > ( )
inline
template<>
long double orxonox::zeroise< long double > ( )
inline
template<>
long long orxonox::zeroise< long long > ( )
inline
template<>
orxonox::ColourValue orxonox::zeroise< orxonox::ColourValue > ( )
inline
template<>
orxonox::Degree orxonox::zeroise< orxonox::Degree > ( )
inline
template<>
orxonox::Quaternion orxonox::zeroise< orxonox::Quaternion > ( )
inline
template<>
orxonox::Radian orxonox::zeroise< orxonox::Radian > ( )
inline
template<>
orxonox::Vector2 orxonox::zeroise< orxonox::Vector2 > ( )
inline
template<>
orxonox::Vector3 orxonox::zeroise< orxonox::Vector3 > ( )
inline
template<>
orxonox::Vector4 orxonox::zeroise< orxonox::Vector4 > ( )
inline
template<>
short orxonox::zeroise< short > ( )
inline
template<>
std::string orxonox::zeroise< std::string > ( )
inline
template<>
unsigned char orxonox::zeroise< unsigned char > ( )
inline
template<>
unsigned int orxonox::zeroise< unsigned int > ( )
inline
template<>
unsigned long orxonox::zeroise< unsigned long > ( )
inline
template<>
unsigned long long orxonox::zeroise< unsigned long long > ( )
inline
template<>
unsigned short orxonox::zeroise< unsigned short > ( )
inline
template<>
void* orxonox::zeroise< void * > ( )
inline

Variable Documentation

const std::string orxonox::__CC_addBots_name = "addBots"
static
const std::string orxonox::__CC_autocomplete_name = "autocomplete"
static
const std::string orxonox::__CC_calibrate_name = "calibrate"
static
const std::string orxonox::__CC_changeGame_name = "changeGame"
static
const std::string orxonox::__CC_CommandExecutor_name = "CommandExecutor"
static
const std::string orxonox::__CC_config_name = "config"
static
const std::string orxonox::__CC_fire_name = "fire"
const std::string orxonox::__CC_getConfig_name = "getConfig"
static
const std::string orxonox::__CC_getTimeFactor_name = "getTimeFactor"
static
const std::string orxonox::__CC_grab_name = "grab"
static
const std::string orxonox::__CC_GraphicsManager_group = "GraphicsManager"
static
const std::string orxonox::__CC_InputManager_name = "InputManager"
static
const std::string orxonox::__CC_keybind_name = "keybind"
static
const std::string orxonox::__CC_KeyDetector_callback_name = "KeyDetectorKeyPressed"
static
const std::string orxonox::__CC_killBots_name = "killBots"
static
const std::string orxonox::__CC_load_name = "reloadSettings"
static
const std::string orxonox::__CC_Mouse_name = "Mouse"
static
const std::string orxonox::__CC_pause_name = "pause"
static
const std::string orxonox::__CC_PluginManager_load_name = "load"
static
const std::string orxonox::__CC_PluginManager_unload_name = "unload"
static
const std::string orxonox::__CC_printRTT_group = "Stats"
static
const std::string orxonox::__CC_printRTT_name = "printRTT"
static
const std::string orxonox::__CC_printScreen_name = "printScreen"
static
const std::string orxonox::__CC_reload_name = "reload"
static
const std::string orxonox::__CC_reloadLevel_name = "reloadLevel"
static
const std::string orxonox::__CC_setFilename_name = "setSettingsFile"
static
const std::string orxonox::__CC_setFSAA_name = "setFSAA"
static
const std::string orxonox::__CC_setMainMenuSoundPath_name = "setMMSoundPath"
static
const std::string orxonox::__CC_setPause_name = "setPause"
static
const std::string orxonox::__CC_setScreenResolution_name = "setScreenResolution"
static
const std::string orxonox::__CC_setTimeFactor_name = "setTimeFactor"
static
const std::string orxonox::__CC_setVSync_name = "setVSync"
static
const std::string orxonox::__CC_startClient_name = "startClient"
static
const std::string orxonox::__CC_startDedicated_name = "startDedicated"
static
const std::string orxonox::__CC_startMainMenu_name = "startMainMenu"
static
const std::string orxonox::__CC_startServer_name = "startServer"
static
const std::string orxonox::__CC_startStandalone_name = "startGame"
static
const std::string orxonox::__CC_suicide_name = "suicide"
const std::string orxonox::__CC_tconfig_name = "tconfig"
static
const std::string orxonox::__CC_tkeybind_name = "tkeybind"
static
const std::string orxonox::__CC_tunbind_name = "tunbind"
static
const std::string orxonox::__CC_unbind_name = "unbind"
static
const std::string orxonox::__CC_ungrab_name = "ungrab"
static
const unsigned int orxonox::ACKID_NACK = 0
const int orxonox::ACL_MODE_COMPARABLE = 2

A flag, used if there's a different string used to compare.

const int orxonox::ACL_MODE_DISPLAY = 4

A flag, used if there's a different string used to be displayed.

const int orxonox::ACL_MODE_NORMAL = 1

A flag, used if there's a normal string.

const int orxonox::ADJUSTDISTANCE = 500
const int orxonox::attacker_ = 0
_UtilExport std::string orxonox::BLANKSTRING

A blank string (""). Used to return a blank string by reference.

const unsigned int orxonox::CLIENTID_SERVER = 0
std::string orxonox::clipboard
static

Keeps the text of our internal clipboard.

SetConsoleCommand ("WagnisHUD","selectClosest", &WagnisHUD::selectClosestTarget).addShortcut().keybindMode(KeybindMode static SetConsoleCommand ("WagnisHUD","selectNext", &WagnisHUD::selectNextTarget).addShortcut().keybindMode(KeybindMode bool orxonox::compareDistance(std::pair< RadarViewable *, unsigned int > a, std::pair< RadarViewable *, unsigned int > b)
static
SetConsoleCommand ("HUDNavigation","selectClosest", &HUDNavigation::selectClosestTarget).addShortcut().keybindMode(KeybindMode static SetConsoleCommand ("HUDNavigation","selectNext", &HUDNavigation::selectNextTarget).addShortcut().keybindMode(KeybindMode bool orxonox::compareDistance(std::pair< RadarViewable *, unsigned int > a, std::pair< RadarViewable *, unsigned int > b)
static
const float orxonox::CONTINUOUS_SYNCHRONIZATION_TIME = 10.0f
static
const int orxonox::defender_ = 1
unsigned int orxonox::delayHandleCounter = 0
static
boost::bimap<unsigned int, Timer*> orxonox::delaytimers
static
constexpr dontcare_keyword_t orxonox::dontcare = dontcare_keyword_t()

Keyword for the dontcare tribool value.

constexpr float orxonox::FORMATION_LENGTH = 110
static
constexpr float orxonox::FORMATION_WIDTH = 110
static
const float orxonox::FORWARD_EFFECT_VELOCITY_THRESHOLD = 0
static
constexpr int orxonox::FREEDOM_COUNT = 4
static
constexpr unsigned int orxonox::GAMESTATEID_INITIAL = static_cast<unsigned int>(-1)
static
PacmanGhost* orxonox::ghosts[4]
const float orxonox::HARDCODED_CHAR_WIDTH = 8.0f
constexpr unsigned int orxonox::IRC_TCL_THREADID = 1421421421
static

The ID of the thread in TclThreadManager that is used for the IRC connection.

const float orxonox::jumpValue_ = 300
const int orxonox::KEEP_GAMESTATES = 10
const char * orxonox::LAN_DISCOVERY_ACK = "Orxonox Server Ack"
const char * orxonox::LAN_DISCOVERY_MESSAGE = "Orxonox Client"
constexpr unsigned int orxonox::LAN_DISCOVERY_PORT = 55558
static
const int orxonox::LINES = 30
constexpr int orxonox::MAX_ARCHIVED_FILES = 9
static
const unsigned int orxonox::MAX_FAILURES = 20
constexpr unsigned int orxonox::MAX_FUNCTION_POINTER_INTS = (MAX_FUNCTION_POINTER_SIZE-1)/4+1
static
constexpr unsigned int orxonox::MAX_FUNCTION_POINTER_SIZE = 16
static
const unsigned int orxonox::MAX_FUNCTOR_ARGUMENTS = 5

The maximum number of parameters of a function that is supported by Functor.

const float orxonox::MAX_REACTION_TIME = 0.4f
static
const float orxonox::MAX_RESYNCHRONIZE_TIME = 3.0f
static
const unsigned int orxonox::MAX_VECTOR_INDEX = 255
const float orxonox::MAX_VELOCITY_BOOST = 221
static
const float orxonox::MAX_VELOCITY_NORMAL = 111
static
const int orxonox::MINDISTANCE = 5
constexpr unsigned int orxonox::NETWORK_CHANNEL_COUNT = 2
static
constexpr unsigned int orxonox::NETWORK_CHANNEL_DEFAULT = 0
static
constexpr unsigned int orxonox::NETWORK_CHANNEL_UNRELIABLE = 1
static
const unsigned int orxonox::NETWORK_CLIENT_CONNECTION_TIMEOUT = 3000
const unsigned int orxonox::NETWORK_CLIENT_MAX_CONNECTIONS = 1
const unsigned int orxonox::NETWORK_CLIENT_WAIT_TIME = 1
const unsigned int orxonox::NETWORK_DISCONNECT_TIMEOUT = 500
const unsigned int orxonox::NETWORK_FREQUENCY = 25
const unsigned int orxonox::NETWORK_MAX_CONNECTIONS = 50
const unsigned int orxonox::NETWORK_MAX_QUEUE_PROCESS_TIME = 5
orxonox::NETWORK_PEER_ID_BROADCAST = static_cast<unsigned int>(-1)
static
constexpr unsigned int orxonox::NETWORK_PEER_ID_SERVER = 0
static
constexpr unsigned int orxonox::NETWORK_PEER_ID_UNKNOWN = static_cast<unsigned int>(-2)
static
const float orxonox::NETWORK_PERIOD = 1.0f / NETWORK_FREQUENCY
const unsigned int orxonox::NETWORK_PORT = 55556
const unsigned int orxonox::NETWORK_WAIT_TIMEOUT = 1
bool orxonox::newHighscore =0
constexpr uint32_t orxonox::OBJECTID_UNKNOWN = static_cast<uint32_t>(-1)
static
const float orxonox::orientationGain_ = 100
Vector3 orxonox::possibleposition[]
Initial value:
= {Vector3(20,10,245),Vector3(215,10,245),Vector3(215,10,195),Vector3(185,10,195),Vector3(135,10,195),
Vector3(185,10,150),Vector3(135,10,150),Vector3(215,10,150),Vector3(215,10,105),Vector3(135,10,105),
Vector3(135,10,15),Vector3(135,10,-85),Vector3(215,10,-85),Vector3(135,10,-135),Vector3(215,10,-135),
Vector3(215,10,-195),Vector3(135,10,-195),Vector3(20,10,195),Vector3(-20,10,195),Vector3(-20,10,245),
Vector3(-215,10,245),Vector3(-215,10,195),Vector3(-185,10,195),Vector3(-135,10,195),Vector3(-70,10,195),
Vector3(70,10,195),Vector3(70,10,150),Vector3(20,10,150),Vector3(-20,10,150),Vector3(-70,10,150),
Vector3(-135,10,150),Vector3(-185,10,150),Vector3(-215,10,150),Vector3(-215,10,105),Vector3(-135,10,105),
Vector3(-70,10,105),Vector3(-20,10,105),Vector3(20,10,105),Vector3(70,10,105),Vector3(70,10,60),
Vector3(0,10,60),Vector3(-70,10,60),Vector3(-135,10,15),Vector3(-70,10,60),Vector3(0,10,15),
Vector3(70,10,15),Vector3(-70,10,-35),Vector3(-20,10,-35),Vector3(20,10,-35),Vector3(70,10,-35),
Vector3(70,10,-85),Vector3(20,10,-85),Vector3(-20,10,-85),Vector3(-70,10,-85),Vector3(-135,10,-85),
Vector3(-215,10,-85),Vector3(-215,10,-135),Vector3(-135,10,-135),Vector3(-70,10,-135),Vector3(-20,10,-135),
Vector3(20,10,-135),Vector3(70,10,-135),Vector3(20,10,-195),Vector3(-20,10,-195),Vector3(-135,10,-195),
Vector3(-215,10,-195),Vector3(0,10,-35)}
constexpr int orxonox::RADIUS_TO_SEARCH_FOR_MASTERS = 5000
static
SetConsoleCommand ("NewHumanController", "changeMode", &NewHumanController::changeMode).keybindMode(KeybindMode SetConsoleCommand ("NewHumanController", "accelerate", &NewHumanController::accelerate).keybindMode(KeybindMode SetConsoleCommand ("NewHumanController", "decelerate", &NewHumanController::decelerate).keybindMode(KeybindMode SetConsoleCommand ("NewHumanController", "unfire", &NewHumanController::unfire ).keybindMode(KeybindMode orxonox::RegisterUnloadableClass(NewHumanController)
constexpr float orxonox::ROTATEFACTOR_FREE = 0.8f
static
constexpr float orxonox::ROTATEFACTOR_MASTER = 0.2f
static
constexpr unsigned int orxonox::SCHED_PRIORITY_OFFSET = static_cast<unsigned int>(-1)
static
orxonox::SetConsoleCommand
constexpr float orxonox::SPEED_FREE = 0.8f
static
constexpr float orxonox::SPEED_MASTER = 0.6f
static
constexpr unsigned int orxonox::STANDARD_MAX_FORMATION_SIZE = 9
static
constexpr int orxonox::STENCIL_FULL_MASK = 0xFFFFFFFF

this is a reference mask used in our stencil buffer

constexpr int orxonox::STENCIL_VALUE_FOR_GLOW = 1

this is a reference value for our mask,

if more than one type of stencil mask is to be used, each of them need their own value

mode orxonox::SUPER_FUNCTION_GLOBAL_DECLARATION_PART2
const float orxonox::TCLTHREADMANAGER_MAX_CPU_USAGE = 0.50f
const unsigned int orxonox::UTIL_CRC32POLY = 0x04C11DB7
orxonox::xmlelement