Changeset 9638 for code/branches/core6/src
- Timestamp:
- Aug 11, 2013, 5:52:29 PM (11 years ago)
- Location:
- code/branches/core6/src
- Files:
-
- 203 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core6/src/libraries/core/BaseObject.cc
r9629 r9638 50 50 namespace orxonox 51 51 { 52 CreateFactory(BaseObject);52 RegisterClass(BaseObject); 53 53 54 54 /** -
code/branches/core6/src/libraries/core/CoreIncludes.h
r9637 r9638 28 28 29 29 /** 30 @defgroup Factory RegisterObject() and CreateFactory()30 @defgroup Factory RegisterObject() and RegisterClass() 31 31 @ingroup Object 32 32 */ … … 35 35 @file 36 36 @ingroup Object Factory Class Identifier 37 @brief Defines several very important macros used to register objects, create factories, and to work with identifiers.37 @brief Defines several very important macros used to register objects, register classes, and to work with identifiers. 38 38 39 39 Every class needs the @c RegisterObject(class) macro in its constructor. If the class is an interface 40 40 or the @c BaseObject itself, it needs the macro @c RegisterRootObject(class) instead. 41 41 42 To allow the object being created through the factory, use the @c CreateFactory(class) macro outside 43 of the class implementation, so it gets executed statically before @c main(). This will at the same time 44 register @a class in the class-hierarchy. If you don't want @a class to be loadable, but still 45 register it, call @c CreateUnloadableFactory(class). 42 To register @a class in the class-hierarchy, use the @c RegisterClass(class) macro outside of the class implementation, 43 so it gets executed statically before @c main(). If you don't want @a class to be loadable, but still register it, call 44 @c RegisterUnloadableClass(class). 46 45 47 46 Example: 48 47 @code 49 // Create the factory for MyClass50 CreateFactory(MyClass);48 // register MyClass 49 RegisterClass(MyClass); 51 50 52 51 // Constructor: … … 83 82 #include "object/ObjectList.h" 84 83 84 // resolve macro conflict on windows 85 #if defined(ORXONOX_PLATFORM_WINDOWS) 86 # include <windows.h> 87 # undef RegisterClass 88 #endif 89 85 90 86 91 /** … … 96 101 97 102 /** 98 @brief Registers a newly created object in the core. Has to be called at the beginning of the constructor of @a ClassName.103 @brief Registers a newly created object in the framework. Has to be called at the beginning of the constructor of @a ClassName. 99 104 @param ClassName The name of the class 100 105 */ … … 103 108 104 109 /** 105 @brief Registers a newly created object in the core. Has to be called at the beginning of the constructor of @a ClassName.110 @brief Registers a newly created object in the framework. Has to be called at the beginning of the constructor of @a ClassName. 106 111 @param ClassName The name of the class 107 112 … … 113 118 114 119 /** 115 @brief Creates and registers the Factory.116 @param ClassName The name of the class 117 */ 118 #define CreateFactory(ClassName) \119 Register Factory(ClassName, new orxonox::ClassFactoryWithContext<ClassName>(), true)120 121 /** 122 @brief Creates and registers the Factory for classes which should not be loaded through XML.123 @param ClassName The name of the class 124 */ 125 #define CreateUnloadableFactory(ClassName) \126 Register Factory(ClassName, new orxonox::ClassFactoryWithContext<ClassName>(), false)127 128 /** 129 @brief Registers a given Factory.130 @param ClassName The name of the class 131 */ 132 #define Register Factory(ClassName, FactoryInstance, bLoadable) \120 @brief Registers the class in the framework. 121 @param ClassName The name of the class 122 */ 123 #define RegisterClass(ClassName) \ 124 RegisterClassWithFactory(ClassName, new orxonox::ClassFactoryWithContext<ClassName>(), true) 125 126 /** 127 @brief Registers the class in the framework (for classes which should not be loaded through XML). 128 @param ClassName The name of the class 129 */ 130 #define RegisterUnloadableClass(ClassName) \ 131 RegisterClassWithFactory(ClassName, new orxonox::ClassFactoryWithContext<ClassName>(), false) 132 133 /** 134 @brief Registers the class in the framework with a given Factory. 135 @param ClassName The name of the class 136 */ 137 #define RegisterClassWithFactory(ClassName, FactoryInstance, bLoadable) \ 133 138 Identifier* _##ClassName##Identifier = orxonox::registerClass<ClassName>(#ClassName, FactoryInstance, bLoadable) 134 139 -
code/branches/core6/src/libraries/core/Namespace.cc
r9629 r9638 38 38 namespace orxonox 39 39 { 40 CreateFactory(Namespace);40 RegisterClass(Namespace); 41 41 42 42 Namespace::Namespace(Context* context) : BaseObject(context), Context(context), -
code/branches/core6/src/libraries/core/Template.cc
r9629 r9638 38 38 namespace orxonox 39 39 { 40 CreateFactory(Template);40 RegisterClass(Template); 41 41 42 42 Template::Template(Context* context) : BaseObject(context) -
code/branches/core6/src/libraries/tools/ResourceCollection.cc
r9629 r9638 37 37 namespace orxonox 38 38 { 39 CreateFactory(ResourceCollection);39 RegisterClass(ResourceCollection); 40 40 41 41 ResourceCollection::ResourceCollection(Context* context) -
code/branches/core6/src/libraries/tools/ResourceLocation.cc
r9629 r9638 41 41 namespace orxonox 42 42 { 43 CreateFactory(ResourceLocation);43 RegisterClass(ResourceLocation); 44 44 45 45 ResourceLocation::ResourceLocation(Context* context) -
code/branches/core6/src/modules/designtools/CreateStars.cc
r9629 r9638 37 37 namespace orxonox 38 38 { 39 CreateFactory(CreateStars);39 RegisterClass(CreateStars); 40 40 41 41 CreateStars::CreateStars(Context* context) : BaseObject(context) -
code/branches/core6/src/modules/docking/Dock.cc
r9629 r9638 46 46 namespace orxonox 47 47 { 48 CreateFactory(Dock);48 RegisterClass(Dock); 49 49 50 50 SetConsoleCommand("Dock", "dock", &Dock::cmdDock).addShortcut().setAsInputCommand(); -
code/branches/core6/src/modules/docking/DockToShip.cc
r9629 r9638 38 38 namespace orxonox 39 39 { 40 CreateFactory(DockToShip);40 RegisterClass(DockToShip); 41 41 42 42 DockToShip::DockToShip(Context* context) : DockingEffect(context) -
code/branches/core6/src/modules/docking/DockingController.cc
r9629 r9638 38 38 namespace orxonox 39 39 { 40 CreateFactory(DockingController);40 RegisterClass(DockingController); 41 41 42 42 DockingController::DockingController(Context* context) : ArtificialController(context) -
code/branches/core6/src/modules/docking/DockingTarget.cc
r9629 r9638 39 39 namespace orxonox 40 40 { 41 CreateFactory(DockingTarget);41 RegisterClass(DockingTarget); 42 42 43 43 DockingTarget::DockingTarget(Context* context) : StaticEntity(context) -
code/branches/core6/src/modules/docking/MoveToDockingTarget.cc
r9629 r9638 40 40 namespace orxonox 41 41 { 42 CreateFactory(MoveToDockingTarget);42 RegisterClass(MoveToDockingTarget); 43 43 44 44 MoveToDockingTarget::MoveToDockingTarget(Context* context) : DockingAnimation(context) -
code/branches/core6/src/modules/gametypes/OldRaceCheckPoint.cc
r9629 r9638 38 38 namespace orxonox 39 39 { 40 CreateFactory(OldRaceCheckPoint);40 RegisterClass(OldRaceCheckPoint); 41 41 42 42 OldRaceCheckPoint::OldRaceCheckPoint(Context* context): DistanceTrigger(context), RadarViewable(this, static_cast<WorldEntity*>(this)) -
code/branches/core6/src/modules/gametypes/OldSpaceRace.cc
r9629 r9638 36 36 namespace orxonox 37 37 { 38 CreateUnloadableFactory(OldSpaceRace);38 RegisterUnloadableClass(OldSpaceRace); 39 39 40 40 OldSpaceRace::OldSpaceRace(Context* context) : Gametype(context) -
code/branches/core6/src/modules/gametypes/RaceCheckPoint.cc
r9629 r9638 41 41 namespace orxonox 42 42 { 43 CreateFactory(RaceCheckPoint);43 RegisterClass(RaceCheckPoint); 44 44 45 45 RaceCheckPoint::RaceCheckPoint(Context* context) : DistanceMultiTrigger(context), -
code/branches/core6/src/modules/gametypes/SpaceRace.cc
r9629 r9638 40 40 namespace orxonox 41 41 { 42 CreateUnloadableFactory(SpaceRace);42 RegisterUnloadableClass(SpaceRace); 43 43 44 44 SpaceRace::SpaceRace(Context* context) : Gametype(context) -
code/branches/core6/src/modules/gametypes/SpaceRaceBot.cc
r9629 r9638 29 29 namespace orxonox 30 30 { 31 CreateFactory(SpaceRaceBot);31 RegisterClass(SpaceRaceBot); 32 32 33 33 SpaceRaceBot::SpaceRaceBot(Context* context) : Bot(context){ -
code/branches/core6/src/modules/gametypes/SpaceRaceController.cc
r9629 r9638 45 45 namespace orxonox 46 46 { 47 CreateFactory(SpaceRaceController);47 RegisterClass(SpaceRaceController); 48 48 49 49 const int ADJUSTDISTANCE = 500; -
code/branches/core6/src/modules/gametypes/SpaceRaceManager.cc
r9629 r9638 40 40 namespace orxonox 41 41 { 42 CreateFactory(SpaceRaceManager);42 RegisterClass(SpaceRaceManager); 43 43 44 44 SpaceRaceManager::SpaceRaceManager(Context* context) : -
code/branches/core6/src/modules/notifications/NotificationDispatcher.cc
r9629 r9638 48 48 { 49 49 50 CreateUnloadableFactory(NotificationDispatcher);50 RegisterUnloadableClass(NotificationDispatcher); 51 51 52 52 registerMemberNetworkFunction(NotificationDispatcher, broadcastHelper); -
code/branches/core6/src/modules/notifications/NotificationQueue.cc
r9629 r9638 44 44 { 45 45 46 CreateFactory(NotificationQueue);46 RegisterClass(NotificationQueue); 47 47 48 48 /** -
code/branches/core6/src/modules/notifications/NotificationQueueCEGUI.cc
r9629 r9638 46 46 { 47 47 48 CreateFactory(NotificationQueueCEGUI);48 RegisterClass(NotificationQueueCEGUI); 49 49 50 50 /*static*/ const std::string NotificationQueueCEGUI::NOTIFICATION_LAYER("NotificationLayer"); -
code/branches/core6/src/modules/notifications/dispatchers/CommandNotification.cc
r9629 r9638 44 44 namespace orxonox { 45 45 46 CreateFactory(CommandNotification);46 RegisterClass(CommandNotification); 47 47 48 48 /** -
code/branches/core6/src/modules/notifications/dispatchers/SimpleNotification.cc
r9629 r9638 39 39 namespace orxonox { 40 40 41 CreateFactory(SimpleNotification);41 RegisterClass(SimpleNotification); 42 42 43 43 /** -
code/branches/core6/src/modules/objects/Attacher.cc
r9629 r9638 34 34 namespace orxonox 35 35 { 36 CreateFactory(Attacher);36 RegisterClass(Attacher); 37 37 38 38 Attacher::Attacher(Context* context) : StaticEntity(context) -
code/branches/core6/src/modules/objects/ForceField.cc
r9629 r9638 40 40 namespace orxonox 41 41 { 42 CreateFactory(ForceField);42 RegisterClass(ForceField); 43 43 44 44 /*static*/ const std::string ForceField::modeTube_s = "tube"; -
code/branches/core6/src/modules/objects/Planet.cc
r9629 r9638 42 42 namespace orxonox 43 43 { 44 CreateFactory(Planet);44 RegisterClass(Planet); 45 45 46 46 /** -
code/branches/core6/src/modules/objects/Script.cc
r9629 r9638 46 46 namespace orxonox 47 47 { 48 CreateFactory(Script);48 RegisterClass(Script); 49 49 50 50 registerStaticNetworkFunction(Script::executeHelper); -
code/branches/core6/src/modules/objects/SpaceBoundaries.cc
r9629 r9638 42 42 namespace orxonox 43 43 { 44 CreateFactory(SpaceBoundaries);44 RegisterClass(SpaceBoundaries); 45 45 46 46 SpaceBoundaries::SpaceBoundaries(Context* context) : StaticEntity(context) -
code/branches/core6/src/modules/objects/Turret.cc
r9629 r9638 35 35 namespace orxonox 36 36 { 37 CreateFactory(Turret);37 RegisterClass(Turret); 38 38 39 39 /** -
code/branches/core6/src/modules/objects/collisionshapes/BoxCollisionShape.cc
r9629 r9638 42 42 namespace orxonox 43 43 { 44 CreateFactory(BoxCollisionShape);44 RegisterClass(BoxCollisionShape); 45 45 46 46 /** -
code/branches/core6/src/modules/objects/collisionshapes/ConeCollisionShape.cc
r9629 r9638 42 42 namespace orxonox 43 43 { 44 CreateFactory(ConeCollisionShape);44 RegisterClass(ConeCollisionShape); 45 45 46 46 /** -
code/branches/core6/src/modules/objects/collisionshapes/PlaneCollisionShape.cc
r9629 r9638 42 42 namespace orxonox 43 43 { 44 CreateFactory(PlaneCollisionShape);44 RegisterClass(PlaneCollisionShape); 45 45 46 46 /** -
code/branches/core6/src/modules/objects/collisionshapes/SphereCollisionShape.cc
r9629 r9638 42 42 namespace orxonox 43 43 { 44 CreateFactory(SphereCollisionShape);44 RegisterClass(SphereCollisionShape); 45 45 46 46 /** -
code/branches/core6/src/modules/objects/eventsystem/EventDispatcher.cc
r9629 r9638 35 35 namespace orxonox 36 36 { 37 CreateFactory(EventDispatcher);37 RegisterClass(EventDispatcher); 38 38 39 39 EventDispatcher::EventDispatcher(Context* context) : BaseObject(context) -
code/branches/core6/src/modules/objects/eventsystem/EventFilter.cc
r9629 r9638 36 36 namespace orxonox 37 37 { 38 CreateFactory(EventFilter);38 RegisterClass(EventFilter); 39 39 40 40 EventFilter::EventFilter(Context* context) : BaseObject(context) -
code/branches/core6/src/modules/objects/eventsystem/EventListener.cc
r9629 r9638 35 35 namespace orxonox 36 36 { 37 CreateFactory(EventListener);37 RegisterClass(EventListener); 38 38 39 39 EventListener::EventListener(Context* context) : BaseObject(context) -
code/branches/core6/src/modules/objects/eventsystem/EventName.cc
r9629 r9638 32 32 namespace orxonox 33 33 { 34 CreateFactory(EventName);34 RegisterClass(EventName); 35 35 36 36 EventName::EventName(Context* context) : BaseObject(context) -
code/branches/core6/src/modules/objects/eventsystem/EventTarget.cc
r9629 r9638 33 33 namespace orxonox 34 34 { 35 CreateFactory(EventTarget);35 RegisterClass(EventTarget); 36 36 37 37 EventTarget::EventTarget(Context* context) : BaseObject(context) -
code/branches/core6/src/modules/objects/triggers/CheckPoint.cc
r9629 r9638 42 42 namespace orxonox 43 43 { 44 CreateFactory(CheckPoint);44 RegisterClass(CheckPoint); 45 45 46 46 CheckPoint::CheckPoint(Context* context) -
code/branches/core6/src/modules/objects/triggers/DistanceMultiTrigger.cc
r9629 r9638 47 47 /*static*/ const std::string DistanceMultiTrigger::beaconModeExlcude_s = "exclude"; 48 48 49 CreateFactory(DistanceMultiTrigger);49 RegisterClass(DistanceMultiTrigger); 50 50 51 51 /** -
code/branches/core6/src/modules/objects/triggers/DistanceTrigger.cc
r9629 r9638 49 49 /*static*/ const std::string DistanceTrigger::beaconModeExlcude_s = "exclude"; 50 50 51 CreateFactory(DistanceTrigger);51 RegisterClass(DistanceTrigger); 52 52 53 53 /** -
code/branches/core6/src/modules/objects/triggers/DistanceTriggerBeacon.cc
r9629 r9638 40 40 { 41 41 42 CreateFactory(DistanceTriggerBeacon);42 RegisterClass(DistanceTriggerBeacon); 43 43 44 44 /** -
code/branches/core6/src/modules/objects/triggers/EventMultiTrigger.cc
r9629 r9638 43 43 { 44 44 45 CreateFactory(EventMultiTrigger);45 RegisterClass(EventMultiTrigger); 46 46 47 47 /** -
code/branches/core6/src/modules/objects/triggers/EventTrigger.cc
r9629 r9638 40 40 namespace orxonox 41 41 { 42 CreateFactory(EventTrigger);42 RegisterClass(EventTrigger); 43 43 44 44 /** -
code/branches/core6/src/modules/objects/triggers/MultiTrigger.cc
r9629 r9638 43 43 { 44 44 45 CreateFactory(MultiTrigger);45 RegisterClass(MultiTrigger); 46 46 47 47 /** -
code/branches/core6/src/modules/objects/triggers/MultiTriggerContainer.cc
r9629 r9638 42 42 { 43 43 44 CreateUnloadableFactory(MultiTriggerContainer);44 RegisterUnloadableClass(MultiTriggerContainer); 45 45 46 46 /** -
code/branches/core6/src/modules/objects/triggers/Trigger.cc
r9629 r9638 47 47 SetConsoleCommand("Trigger", "debugFlares", &Trigger::debugFlares).defaultValues(false); 48 48 49 CreateFactory(Trigger);49 RegisterClass(Trigger); 50 50 51 51 /** -
code/branches/core6/src/modules/objects/triggers/TriggerBase.cc
r9629 r9638 46 46 /*static*/ const std::string TriggerBase::xor_s = "xor"; 47 47 48 CreateFactory(TriggerBase);48 RegisterClass(TriggerBase); 49 49 50 50 /** -
code/branches/core6/src/modules/overlays/FadeoutText.cc
r9629 r9638 36 36 namespace orxonox 37 37 { 38 CreateFactory(FadeoutText);38 RegisterClass(FadeoutText); 39 39 40 40 FadeoutText::FadeoutText(Context* context) : OverlayText(context) -
code/branches/core6/src/modules/overlays/GUIOverlay.cc
r9629 r9638 41 41 namespace orxonox 42 42 { 43 CreateFactory(GUIOverlay);43 RegisterClass(GUIOverlay); 44 44 45 45 GUIOverlay::GUIOverlay(Context* context) : OrxonoxOverlay(context) -
code/branches/core6/src/modules/overlays/OverlayText.cc
r9629 r9638 41 41 namespace orxonox 42 42 { 43 CreateFactory(OverlayText);43 RegisterClass(OverlayText); 44 44 45 45 BOOST_STATIC_ASSERT((int)Ogre::TextAreaOverlayElement::Left == (int)OverlayText::Left); -
code/branches/core6/src/modules/overlays/debugging/DebugFPSText.cc
r9629 r9638 35 35 namespace orxonox 36 36 { 37 CreateFactory(DebugFPSText);37 RegisterClass(DebugFPSText); 38 38 39 39 DebugFPSText::DebugFPSText(Context* context) : OverlayText(context) -
code/branches/core6/src/modules/overlays/debugging/DebugRTRText.cc
r9629 r9638 35 35 namespace orxonox 36 36 { 37 CreateFactory(DebugRTRText);37 RegisterClass(DebugRTRText); 38 38 39 39 DebugRTRText::DebugRTRText(Context* context) : OverlayText(context) -
code/branches/core6/src/modules/overlays/hud/AnnounceMessage.cc
r9629 r9638 34 34 namespace orxonox 35 35 { 36 CreateFactory(AnnounceMessage);36 RegisterClass(AnnounceMessage); 37 37 38 38 AnnounceMessage::AnnounceMessage(Context* context) : FadeoutText(context) -
code/branches/core6/src/modules/overlays/hud/ChatOverlay.cc
r9629 r9638 44 44 namespace orxonox 45 45 { 46 CreateFactory(ChatOverlay);46 RegisterClass(ChatOverlay); 47 47 48 48 ChatOverlay::ChatOverlay(Context* context) -
code/branches/core6/src/modules/overlays/hud/DeathMessage.cc
r9629 r9638 34 34 namespace orxonox 35 35 { 36 CreateFactory(DeathMessage);36 RegisterClass(DeathMessage); 37 37 38 38 DeathMessage::DeathMessage(Context* context) : FadeoutText(context) -
code/branches/core6/src/modules/overlays/hud/GametypeFadingMessage.cc
r9629 r9638 34 34 namespace orxonox 35 35 { 36 CreateFactory(GametypeFadingMessage);36 RegisterClass(GametypeFadingMessage); 37 37 38 38 GametypeFadingMessage::GametypeFadingMessage(Context* context) : FadeoutText(context) -
code/branches/core6/src/modules/overlays/hud/GametypeStaticMessage.cc
r9629 r9638 36 36 namespace orxonox 37 37 { 38 CreateFactory(GametypeStaticMessage);38 RegisterClass(GametypeStaticMessage); 39 39 40 40 -
code/branches/core6/src/modules/overlays/hud/HUDBar.cc
r9629 r9638 45 45 namespace orxonox 46 46 { 47 CreateFactory(BarColour);47 RegisterClass(BarColour); 48 48 49 49 BarColour::BarColour(Context* context) -
code/branches/core6/src/modules/overlays/hud/HUDBoostBar.cc
r9629 r9638 35 35 namespace orxonox 36 36 { 37 CreateFactory(HUDBoostBar);37 RegisterClass(HUDBoostBar); 38 38 39 39 HUDBoostBar::HUDBoostBar(Context* context) -
code/branches/core6/src/modules/overlays/hud/HUDEnemyHealthBar.cc
r9629 r9638 34 34 namespace orxonox 35 35 { 36 CreateFactory(HUDEnemyHealthBar);36 RegisterClass(HUDEnemyHealthBar); 37 37 38 38 HUDEnemyHealthBar::HUDEnemyHealthBar(Context* context) : HUDHealthBar(context) -
code/branches/core6/src/modules/overlays/hud/HUDHealthBar.cc
r9629 r9638 37 37 namespace orxonox 38 38 { 39 CreateFactory(HUDHealthBar);39 RegisterClass(HUDHealthBar); 40 40 41 41 HUDHealthBar::HUDHealthBar(Context* context) : HUDBar(context) -
code/branches/core6/src/modules/overlays/hud/HUDNavigation.cc
r9629 r9638 67 67 return a.second < b.second; 68 68 } 69 CreateFactory( HUDNavigation );69 RegisterClass ( HUDNavigation ); 70 70 71 71 HUDNavigation* HUDNavigation::localHUD_s = 0; -
code/branches/core6/src/modules/overlays/hud/HUDRadar.cc
r9629 r9638 44 44 namespace orxonox 45 45 { 46 CreateFactory(HUDRadar);46 RegisterClass(HUDRadar); 47 47 48 48 HUDRadar::HUDRadar(Context* context) -
code/branches/core6/src/modules/overlays/hud/HUDSpeedBar.cc
r9629 r9638 36 36 namespace orxonox 37 37 { 38 CreateFactory(HUDSpeedBar);38 RegisterClass(HUDSpeedBar); 39 39 40 40 HUDSpeedBar::HUDSpeedBar(Context* context) -
code/branches/core6/src/modules/overlays/hud/HUDTimer.cc
r9629 r9638 36 36 namespace orxonox 37 37 { 38 CreateFactory(HUDTimer);38 RegisterClass(HUDTimer); 39 39 40 40 HUDTimer::HUDTimer(Context* context) : OverlayText(context) -
code/branches/core6/src/modules/overlays/hud/KillMessage.cc
r9629 r9638 34 34 namespace orxonox 35 35 { 36 CreateFactory(KillMessage);36 RegisterClass(KillMessage); 37 37 38 38 KillMessage::KillMessage(Context* context) : FadeoutText(context) -
code/branches/core6/src/modules/overlays/hud/LastManStandingInfos.cc
r9629 r9638 37 37 namespace orxonox 38 38 { 39 CreateFactory(LastManStandingInfos);39 RegisterClass(LastManStandingInfos); 40 40 41 41 LastManStandingInfos::LastManStandingInfos(Context* context) : OverlayText(context) -
code/branches/core6/src/modules/overlays/hud/LastTeamStandingInfos.cc
r9629 r9638 37 37 namespace orxonox 38 38 { 39 CreateFactory(LastTeamStandingInfos);39 RegisterClass(LastTeamStandingInfos); 40 40 41 41 LastTeamStandingInfos::LastTeamStandingInfos(Context* context) : OverlayText(context) -
code/branches/core6/src/modules/overlays/hud/PauseNotice.cc
r9629 r9638 34 34 namespace orxonox 35 35 { 36 CreateFactory(PauseNotice);36 RegisterClass(PauseNotice); 37 37 38 38 PauseNotice::PauseNotice(Context* context) : OverlayText(context) -
code/branches/core6/src/modules/overlays/hud/TeamBaseMatchScore.cc
r9629 r9638 37 37 namespace orxonox 38 38 { 39 CreateFactory(TeamBaseMatchScore);39 RegisterClass(TeamBaseMatchScore); 40 40 41 41 TeamBaseMatchScore::TeamBaseMatchScore(Context* context) : OverlayText(context) -
code/branches/core6/src/modules/overlays/stats/Scoreboard.cc
r9629 r9638 35 35 namespace orxonox 36 36 { 37 CreateFactory(Scoreboard);37 RegisterClass(Scoreboard); 38 38 39 39 /** -
code/branches/core6/src/modules/overlays/stats/Stats.cc
r9629 r9638 39 39 namespace orxonox 40 40 { 41 CreateFactory(Stats);41 RegisterClass(Stats); 42 42 43 43 /** -
code/branches/core6/src/modules/pickup/Pickup.cc
r9629 r9638 48 48 /*static*/ const std::string Pickup::durationTypeContinuous_s = "continuous"; 49 49 50 CreateUnloadableFactory(Pickup);50 RegisterUnloadableClass(Pickup); 51 51 52 52 /** -
code/branches/core6/src/modules/pickup/PickupCollection.cc
r9629 r9638 45 45 { 46 46 47 CreateFactory(PickupCollection);47 RegisterClass(PickupCollection); 48 48 49 49 /** -
code/branches/core6/src/modules/pickup/PickupRepresentation.cc
r9629 r9638 45 45 { 46 46 47 CreateFactory(PickupRepresentation);47 RegisterClass(PickupRepresentation); 48 48 49 49 /** -
code/branches/core6/src/modules/pickup/PickupSpawner.cc
r9629 r9638 47 47 { 48 48 49 CreateFactory(PickupSpawner);49 RegisterClass(PickupSpawner); 50 50 51 51 /** -
code/branches/core6/src/modules/pickup/items/DamageBoostPickup.cc
r9629 r9638 42 42 namespace orxonox 43 43 { 44 CreateFactory(DamageBoostPickup);44 RegisterClass(DamageBoostPickup); 45 45 46 46 /** -
code/branches/core6/src/modules/pickup/items/DronePickup.cc
r9629 r9638 45 45 { 46 46 47 CreateFactory(DronePickup);47 RegisterClass(DronePickup); 48 48 49 49 /** -
code/branches/core6/src/modules/pickup/items/HealthPickup.cc
r9629 r9638 47 47 /*static*/ const std::string HealthPickup::healthTypePermanent_s = "permanent"; 48 48 49 CreateFactory(HealthPickup);49 RegisterClass(HealthPickup); 50 50 51 51 /** -
code/branches/core6/src/modules/pickup/items/InvisiblePickup.cc
r9629 r9638 45 45 { 46 46 47 CreateFactory(InvisiblePickup);47 RegisterClass(InvisiblePickup); 48 48 49 49 /** -
code/branches/core6/src/modules/pickup/items/MetaPickup.cc
r9629 r9638 42 42 namespace orxonox { 43 43 44 CreateFactory(MetaPickup);44 RegisterClass(MetaPickup); 45 45 46 46 //! Setting the static variables to their values. -
code/branches/core6/src/modules/pickup/items/ShieldPickup.cc
r9629 r9638 42 42 namespace orxonox 43 43 { 44 CreateFactory(ShieldPickup);44 RegisterClass(ShieldPickup); 45 45 46 46 /** -
code/branches/core6/src/modules/pickup/items/ShrinkPickup.cc
r9629 r9638 46 46 namespace orxonox 47 47 { 48 CreateFactory(ShrinkPickup);48 RegisterClass(ShrinkPickup); 49 49 50 50 /** -
code/branches/core6/src/modules/pickup/items/SpeedPickup.cc
r9629 r9638 42 42 namespace orxonox 43 43 { 44 CreateFactory(SpeedPickup);44 RegisterClass(SpeedPickup); 45 45 46 46 /** -
code/branches/core6/src/modules/pong/Pong.cc
r9629 r9638 53 53 CreateEventName(PongCenterpoint, left); 54 54 55 CreateUnloadableFactory(Pong);55 RegisterUnloadableClass(Pong); 56 56 57 57 /** -
code/branches/core6/src/modules/pong/PongAI.cc
r9629 r9638 45 45 namespace orxonox 46 46 { 47 CreateUnloadableFactory(PongAI);47 RegisterUnloadableClass(PongAI); 48 48 49 49 const static float MAX_REACTION_TIME = 0.4f; -
code/branches/core6/src/modules/pong/PongBall.cc
r9629 r9638 43 43 namespace orxonox 44 44 { 45 CreateFactory(PongBall);45 RegisterClass(PongBall); 46 46 47 47 const float PongBall::MAX_REL_Z_VELOCITY = 1.5; -
code/branches/core6/src/modules/pong/PongBat.cc
r9629 r9638 39 39 namespace orxonox 40 40 { 41 CreateFactory(PongBat);41 RegisterClass(PongBat); 42 42 43 43 /** -
code/branches/core6/src/modules/pong/PongBot.cc
r9629 r9638 39 39 namespace orxonox 40 40 { 41 CreateFactory(PongBot);41 RegisterClass(PongBot); 42 42 43 43 /** -
code/branches/core6/src/modules/pong/PongCenterpoint.cc
r9629 r9638 41 41 namespace orxonox 42 42 { 43 CreateFactory(PongCenterpoint);43 RegisterClass(PongCenterpoint); 44 44 45 45 /** -
code/branches/core6/src/modules/pong/PongScore.cc
r9629 r9638 44 44 namespace orxonox 45 45 { 46 CreateFactory(PongScore);46 RegisterClass(PongScore); 47 47 48 48 /** -
code/branches/core6/src/modules/portals/PortalEndPoint.cc
r9629 r9638 42 42 namespace orxonox 43 43 { 44 CreateFactory(PortalEndPoint);44 RegisterClass(PortalEndPoint); 45 45 46 46 /*static*/ const std::string PortalEndPoint::EVENTFUNCTIONNAME = "execute"; -
code/branches/core6/src/modules/portals/PortalLink.cc
r9629 r9638 36 36 namespace orxonox 37 37 { 38 CreateFactory(PortalLink);38 RegisterClass(PortalLink); 39 39 40 40 std::map<PortalEndPoint *, PortalEndPoint *> PortalLink::links_s; -
code/branches/core6/src/modules/questsystem/GlobalQuest.cc
r9629 r9638 41 41 namespace orxonox 42 42 { 43 CreateFactory(GlobalQuest);43 RegisterClass(GlobalQuest); 44 44 45 45 /** -
code/branches/core6/src/modules/questsystem/LocalQuest.cc
r9629 r9638 41 41 namespace orxonox 42 42 { 43 CreateFactory(LocalQuest);43 RegisterClass(LocalQuest); 44 44 45 45 /** -
code/branches/core6/src/modules/questsystem/QuestDescription.cc
r9629 r9638 44 44 namespace orxonox 45 45 { 46 CreateFactory(QuestDescription);46 RegisterClass(QuestDescription); 47 47 48 48 /*static*/ const std::string QuestDescription::SENDER = "questsystem"; -
code/branches/core6/src/modules/questsystem/QuestEffectBeacon.cc
r9629 r9638 45 45 namespace orxonox 46 46 { 47 CreateFactory(QuestEffectBeacon);47 RegisterClass(QuestEffectBeacon); 48 48 49 49 /** -
code/branches/core6/src/modules/questsystem/QuestHint.cc
r9629 r9638 43 43 namespace orxonox 44 44 { 45 CreateFactory(QuestHint);45 RegisterClass(QuestHint); 46 46 47 47 /** -
code/branches/core6/src/modules/questsystem/QuestItem.cc
r9629 r9638 42 42 { 43 43 44 CreateUnloadableFactory(QuestItem);44 RegisterUnloadableClass(QuestItem); 45 45 46 46 /** -
code/branches/core6/src/modules/questsystem/QuestListener.cc
r9629 r9638 42 42 namespace orxonox 43 43 { 44 CreateFactory(QuestListener);44 RegisterClass(QuestListener); 45 45 46 46 // Initialization of the static variables for the modes as strings. -
code/branches/core6/src/modules/questsystem/effects/AddQuest.cc
r9629 r9638 43 43 namespace orxonox 44 44 { 45 CreateFactory(AddQuest);45 RegisterClass(AddQuest); 46 46 47 47 /** -
code/branches/core6/src/modules/questsystem/effects/AddQuestHint.cc
r9629 r9638 44 44 namespace orxonox 45 45 { 46 CreateFactory(AddQuestHint);46 RegisterClass(AddQuestHint); 47 47 48 48 /** -
code/branches/core6/src/modules/questsystem/effects/AddReward.cc
r9629 r9638 41 41 namespace orxonox 42 42 { 43 CreateFactory(AddReward);43 RegisterClass(AddReward); 44 44 45 45 /** -
code/branches/core6/src/modules/questsystem/effects/CompleteQuest.cc
r9629 r9638 42 42 namespace orxonox 43 43 { 44 CreateFactory(CompleteQuest);44 RegisterClass(CompleteQuest); 45 45 46 46 /** -
code/branches/core6/src/modules/questsystem/effects/FailQuest.cc
r9629 r9638 42 42 namespace orxonox 43 43 { 44 CreateFactory(FailQuest);44 RegisterClass(FailQuest); 45 45 46 46 /** -
code/branches/core6/src/modules/tetris/Tetris.cc
r9629 r9638 54 54 { 55 55 56 CreateUnloadableFactory(Tetris);56 RegisterUnloadableClass(Tetris); 57 57 58 58 /** -
code/branches/core6/src/modules/tetris/TetrisBrick.cc
r9629 r9638 44 44 namespace orxonox 45 45 { 46 CreateFactory(TetrisBrick);46 RegisterClass(TetrisBrick); 47 47 48 48 /** -
code/branches/core6/src/modules/tetris/TetrisCenterpoint.cc
r9629 r9638 42 42 namespace orxonox 43 43 { 44 CreateFactory(TetrisCenterpoint);44 RegisterClass(TetrisCenterpoint); 45 45 46 46 /** -
code/branches/core6/src/modules/tetris/TetrisScore.cc
r9629 r9638 45 45 namespace orxonox 46 46 { 47 CreateFactory(TetrisScore);47 RegisterClass(TetrisScore); 48 48 49 49 /** -
code/branches/core6/src/modules/tetris/TetrisStone.cc
r9629 r9638 42 42 namespace orxonox 43 43 { 44 CreateFactory(TetrisStone);44 RegisterClass(TetrisStone); 45 45 46 46 /** -
code/branches/core6/src/modules/towerdefense/Tower.cc
r9629 r9638 16 16 namespace orxonox 17 17 { 18 CreateFactory(Tower);18 RegisterClass(Tower); 19 19 20 20 /** -
code/branches/core6/src/modules/towerdefense/TowerDefense.cc
r9629 r9638 94 94 namespace orxonox 95 95 { 96 CreateUnloadableFactory(TowerDefense);96 RegisterUnloadableClass(TowerDefense); 97 97 98 98 TowerDefense::TowerDefense(Context* context) : Deathmatch(context) -
code/branches/core6/src/modules/towerdefense/TowerDefenseCenterpoint.cc
r9629 r9638 41 41 namespace orxonox 42 42 { 43 CreateFactory(TowerDefenseCenterpoint);43 RegisterClass(TowerDefenseCenterpoint); 44 44 45 45 /** -
code/branches/core6/src/modules/towerdefense/TowerDefenseController.cc
r9629 r9638 36 36 namespace orxonox 37 37 { 38 CreateFactory(TowerDefenseController);38 RegisterClass(TowerDefenseController); 39 39 40 40 TowerDefenseController::TowerDefenseController(Context* context) : WaypointController(context) -
code/branches/core6/src/modules/towerdefense/TowerDefenseHUDController.cc
r9629 r9638 35 35 namespace orxonox 36 36 { 37 CreateFactory(TowerDefenseHUDController);37 RegisterClass(TowerDefenseHUDController); 38 38 39 39 TowerDefenseHUDController::TowerDefenseHUDController(Context* context) : OverlayText(context) -
code/branches/core6/src/modules/weapons/MuzzleFlash.cc
r9629 r9638 39 39 namespace orxonox 40 40 { 41 CreateFactory(MuzzleFlash);41 RegisterClass(MuzzleFlash); 42 42 43 43 MuzzleFlash::MuzzleFlash(Context* context) : Billboard(context) -
code/branches/core6/src/modules/weapons/munitions/FusionMunition.cc
r9629 r9638 37 37 namespace orxonox 38 38 { 39 CreateFactory(FusionMunition);39 RegisterClass(FusionMunition); 40 40 41 41 FusionMunition::FusionMunition(Context* context) : Munition(context) -
code/branches/core6/src/modules/weapons/munitions/LaserMunition.cc
r9629 r9638 37 37 namespace orxonox 38 38 { 39 CreateFactory(LaserMunition);39 RegisterClass(LaserMunition); 40 40 41 41 LaserMunition::LaserMunition(Context* context) : ReplenishingMunition(context) -
code/branches/core6/src/modules/weapons/munitions/ReplenishingMunition.cc
r9629 r9638 39 39 namespace orxonox 40 40 { 41 CreateFactory(ReplenishingMunition);41 RegisterClass(ReplenishingMunition); 42 42 43 43 ReplenishingMunition::ReplenishingMunition(Context* context) : Munition(context) -
code/branches/core6/src/modules/weapons/munitions/RocketMunition.cc
r9629 r9638 37 37 namespace orxonox 38 38 { 39 CreateFactory(RocketMunition);39 RegisterClass(RocketMunition); 40 40 41 41 RocketMunition::RocketMunition(Context* context) : Munition(context) -
code/branches/core6/src/modules/weapons/projectiles/BillboardProjectile.cc
r9629 r9638 40 40 namespace orxonox 41 41 { 42 CreateFactory(BillboardProjectile);42 RegisterClass(BillboardProjectile); 43 43 44 44 BillboardProjectile::BillboardProjectile(Context* context) : Projectile(context) -
code/branches/core6/src/modules/weapons/projectiles/LightningGunProjectile.cc
r9629 r9638 40 40 namespace orxonox 41 41 { 42 CreateFactory(LightningGunProjectile);42 RegisterClass(LightningGunProjectile); 43 43 44 44 LightningGunProjectile::LightningGunProjectile(Context* context) : BillboardProjectile(context) -
code/branches/core6/src/modules/weapons/projectiles/ParticleProjectile.cc
r9629 r9638 41 41 namespace orxonox 42 42 { 43 CreateFactory(ParticleProjectile);43 RegisterClass(ParticleProjectile); 44 44 45 45 ParticleProjectile::ParticleProjectile(Context* context) : BillboardProjectile(context) -
code/branches/core6/src/modules/weapons/projectiles/Projectile.cc
r9629 r9638 44 44 namespace orxonox 45 45 { 46 CreateFactory(Projectile);46 RegisterClass(Projectile); 47 47 48 48 Projectile::Projectile(Context* context) : MovableEntity(context), BasicProjectile() -
code/branches/core6/src/modules/weapons/projectiles/Rocket.cc
r9629 r9638 51 51 namespace orxonox 52 52 { 53 CreateFactory(Rocket);53 RegisterClass(Rocket); 54 54 55 55 /** -
code/branches/core6/src/modules/weapons/projectiles/SimpleRocket.cc
r9629 r9638 52 52 namespace orxonox 53 53 { 54 CreateFactory(SimpleRocket);54 RegisterClass(SimpleRocket); 55 55 56 56 const float SimpleRocket::FUEL_PERCENTAGE = 0.8f; -
code/branches/core6/src/modules/weapons/weaponmodes/EnergyDrink.cc
r9629 r9638 49 49 namespace orxonox 50 50 { 51 CreateFactory(EnergyDrink);51 RegisterClass(EnergyDrink); 52 52 53 53 EnergyDrink::EnergyDrink(Context* context) : WeaponMode(context) -
code/branches/core6/src/modules/weapons/weaponmodes/FusionFire.cc
r9629 r9638 46 46 namespace orxonox 47 47 { 48 CreateFactory(FusionFire);48 RegisterClass(FusionFire); 49 49 50 50 FusionFire::FusionFire(Context* context) : WeaponMode(context) -
code/branches/core6/src/modules/weapons/weaponmodes/HsW01.cc
r9629 r9638 50 50 namespace orxonox 51 51 { 52 CreateFactory(HsW01);52 RegisterClass(HsW01); 53 53 54 54 HsW01::HsW01(Context* context) : WeaponMode(context) -
code/branches/core6/src/modules/weapons/weaponmodes/LaserFire.cc
r9629 r9638 45 45 namespace orxonox 46 46 { 47 CreateFactory(LaserFire);47 RegisterClass(LaserFire); 48 48 49 49 LaserFire::LaserFire(Context* context) : WeaponMode(context) -
code/branches/core6/src/modules/weapons/weaponmodes/LightningGun.cc
r9629 r9638 44 44 namespace orxonox 45 45 { 46 CreateFactory(LightningGun);46 RegisterClass(LightningGun); 47 47 48 48 LightningGun::LightningGun(Context* context) : WeaponMode(context) -
code/branches/core6/src/modules/weapons/weaponmodes/RocketFire.cc
r9629 r9638 46 46 namespace orxonox 47 47 { 48 CreateFactory(RocketFire);48 RegisterClass(RocketFire); 49 49 50 50 RocketFire::RocketFire(Context* context) : WeaponMode(context) -
code/branches/core6/src/modules/weapons/weaponmodes/SimpleRocketFire.cc
r9629 r9638 50 50 { 51 51 52 CreateFactory(SimpleRocketFire);52 RegisterClass(SimpleRocketFire); 53 53 54 54 SimpleRocketFire::SimpleRocketFire(Context* context) : WeaponMode(context) -
code/branches/core6/src/orxonox/Level.cc
r9629 r9638 43 43 namespace orxonox 44 44 { 45 CreateFactory(Level);45 RegisterClass(Level); 46 46 47 47 Level::Level(Context* context) : BaseObject(context), Synchronisable(context), Context(context) -
code/branches/core6/src/orxonox/LevelInfo.cc
r9629 r9638 242 242 // LevelInfo 243 243 244 CreateFactory(LevelInfo);244 RegisterClass(LevelInfo); 245 245 246 246 /** -
code/branches/core6/src/orxonox/Scene.cc
r9629 r9638 51 51 namespace orxonox 52 52 { 53 CreateFactory(Scene);53 RegisterClass(Scene); 54 54 55 55 Scene::Scene(Context* context) : BaseObject(context), Synchronisable(context), Context(context) -
code/branches/core6/src/orxonox/Test.cc
r9629 r9638 36 36 namespace orxonox 37 37 { 38 CreateFactory( Test );38 RegisterClass ( Test ); 39 39 40 40 SetConsoleCommand("Test", "printV1", &Test::printV1).addShortcut(); -
code/branches/core6/src/orxonox/collisionshapes/CompoundCollisionShape.cc
r9629 r9638 42 42 namespace orxonox 43 43 { 44 CreateFactory(CompoundCollisionShape);44 RegisterClass(CompoundCollisionShape); 45 45 46 46 /** -
code/branches/core6/src/orxonox/controllers/AIController.cc
r9629 r9638 39 39 const float AIController::ACTION_INTERVAL = 1.0f; 40 40 41 CreateFactory(AIController);41 RegisterClass(AIController); 42 42 43 43 AIController::AIController(Context* context) : ArtificialController(context) -
code/branches/core6/src/orxonox/controllers/Controller.cc
r9629 r9638 33 33 namespace orxonox 34 34 { 35 CreateUnloadableFactory(Controller);35 RegisterUnloadableClass(Controller); 36 36 37 37 Controller::Controller(Context* context) : BaseObject(context) -
code/branches/core6/src/orxonox/controllers/DroneController.cc
r9629 r9638 41 41 Constructor. 42 42 */ 43 CreateFactory(DroneController);43 RegisterClass(DroneController); 44 44 45 45 const float DroneController::ACTION_INTERVAL = 1.0f; -
code/branches/core6/src/orxonox/controllers/HumanController.cc
r9629 r9638 66 66 SetConsoleCommand("HumanController", "myposition", &HumanController::myposition ).addShortcut(); 67 67 68 CreateUnloadableFactory(HumanController);68 RegisterUnloadableClass(HumanController); 69 69 70 70 HumanController* HumanController::localController_s = 0; -
code/branches/core6/src/orxonox/controllers/NewHumanController.cc
r9629 r9638 56 56 SetConsoleCommand("NewHumanController", "unfire", &NewHumanController::unfire ).keybindMode(KeybindMode::OnRelease).addShortcut(); 57 57 58 CreateUnloadableFactory(NewHumanController);58 RegisterUnloadableClass(NewHumanController); 59 59 60 60 NewHumanController* NewHumanController::localController_s = 0; -
code/branches/core6/src/orxonox/controllers/ScriptController.cc
r9629 r9638 32 32 namespace orxonox 33 33 { 34 CreateFactory(ScriptController);34 RegisterClass(ScriptController); 35 35 36 36 ScriptController::ScriptController(Context* context) : ArtificialController(context) -
code/branches/core6/src/orxonox/controllers/WaypointController.cc
r9629 r9638 34 34 namespace orxonox 35 35 { 36 CreateFactory(WaypointController);36 RegisterClass(WaypointController); 37 37 38 38 WaypointController::WaypointController(Context* context) : ArtificialController(context) -
code/branches/core6/src/orxonox/controllers/WaypointPatrolController.cc
r9629 r9638 36 36 namespace orxonox 37 37 { 38 CreateFactory(WaypointPatrolController);38 RegisterClass(WaypointPatrolController); 39 39 40 40 WaypointPatrolController::WaypointPatrolController(Context* context) : WaypointController(context) -
code/branches/core6/src/orxonox/gametypes/Asteroids.cc
r9629 r9638 35 35 namespace orxonox 36 36 { 37 CreateUnloadableFactory(Asteroids);37 RegisterUnloadableClass(Asteroids); 38 38 39 39 Asteroids::Asteroids(Context* context) : Gametype(context) -
code/branches/core6/src/orxonox/gametypes/Deathmatch.cc
r9629 r9638 36 36 namespace orxonox 37 37 { 38 CreateUnloadableFactory(Deathmatch);38 RegisterUnloadableClass(Deathmatch); 39 39 40 40 Deathmatch::Deathmatch(Context* context) : Gametype(context) -
code/branches/core6/src/orxonox/gametypes/Dynamicmatch.cc
r9629 r9638 62 62 namespace orxonox 63 63 { 64 CreateUnloadableFactory(Dynamicmatch);64 RegisterUnloadableClass(Dynamicmatch); 65 65 66 66 Dynamicmatch::Dynamicmatch(Context* context) : Gametype(context) -
code/branches/core6/src/orxonox/gametypes/Gametype.cc
r9629 r9638 47 47 namespace orxonox 48 48 { 49 CreateUnloadableFactory(Gametype);49 RegisterUnloadableClass(Gametype); 50 50 51 51 Gametype::Gametype(Context* context) : BaseObject(context) -
code/branches/core6/src/orxonox/gametypes/LastManStanding.cc
r9629 r9638 38 38 namespace orxonox 39 39 { 40 CreateUnloadableFactory(LastManStanding);40 RegisterUnloadableClass(LastManStanding); 41 41 42 42 LastManStanding::LastManStanding(Context* context) : Deathmatch(context) -
code/branches/core6/src/orxonox/gametypes/LastTeamStanding.cc
r9629 r9638 38 38 namespace orxonox 39 39 { 40 CreateUnloadableFactory(LastTeamStanding);40 RegisterUnloadableClass(LastTeamStanding); 41 41 42 42 LastTeamStanding::LastTeamStanding(Context* context) : TeamDeathmatch(context) -
code/branches/core6/src/orxonox/gametypes/Mission.cc
r9629 r9638 37 37 namespace orxonox 38 38 { 39 CreateUnloadableFactory(Mission);39 RegisterUnloadableClass(Mission); 40 40 41 41 Mission::Mission(Context* context) : TeamGametype(context) -
code/branches/core6/src/orxonox/gametypes/TeamBaseMatch.cc
r9629 r9638 36 36 namespace orxonox 37 37 { 38 CreateUnloadableFactory(TeamBaseMatch);38 RegisterUnloadableClass(TeamBaseMatch); 39 39 40 40 TeamBaseMatch::TeamBaseMatch(Context* context) : TeamDeathmatch(context) -
code/branches/core6/src/orxonox/gametypes/TeamDeathmatch.cc
r9629 r9638 36 36 namespace orxonox 37 37 { 38 CreateUnloadableFactory(TeamDeathmatch);38 RegisterUnloadableClass(TeamDeathmatch); 39 39 40 40 TeamDeathmatch::TeamDeathmatch(Context* context) : TeamGametype(context) -
code/branches/core6/src/orxonox/gametypes/TeamGametype.cc
r9629 r9638 40 40 namespace orxonox 41 41 { 42 CreateUnloadableFactory(TeamGametype);42 RegisterUnloadableClass(TeamGametype); 43 43 44 44 TeamGametype::TeamGametype(Context* context) : Gametype(context) -
code/branches/core6/src/orxonox/gametypes/UnderAttack.cc
r9629 r9638 38 38 namespace orxonox 39 39 { 40 CreateUnloadableFactory(UnderAttack);40 RegisterUnloadableClass(UnderAttack); 41 41 42 42 UnderAttack::UnderAttack(Context* context) : TeamDeathmatch(context) -
code/branches/core6/src/orxonox/graphics/AnimatedModel.cc
r9629 r9638 39 39 namespace orxonox 40 40 { 41 CreateFactory(AnimatedModel);41 RegisterClass(AnimatedModel); 42 42 43 43 AnimatedModel::AnimatedModel(Context* context) : Model(context) -
code/branches/core6/src/orxonox/graphics/Backlight.cc
r9629 r9638 45 45 namespace orxonox 46 46 { 47 CreateFactory(Backlight);47 RegisterClass(Backlight); 48 48 49 49 Backlight::Backlight(Context* context) : FadingBillboard(context) -
code/branches/core6/src/orxonox/graphics/Billboard.cc
r9629 r9638 38 38 namespace orxonox 39 39 { 40 CreateFactory(Billboard);40 RegisterClass(Billboard); 41 41 42 42 Billboard::Billboard(Context* context) : StaticEntity(context) -
code/branches/core6/src/orxonox/graphics/BlinkingBillboard.cc
r9629 r9638 35 35 namespace orxonox 36 36 { 37 CreateFactory(BlinkingBillboard);37 RegisterClass(BlinkingBillboard); 38 38 39 39 BlinkingBillboard::BlinkingBillboard(Context* context) : Billboard(context) -
code/branches/core6/src/orxonox/graphics/Camera.cc
r9629 r9638 46 46 namespace orxonox 47 47 { 48 CreateFactory(Camera);48 RegisterClass(Camera); 49 49 50 50 Camera::Camera(Context* context) : StaticEntity(context) -
code/branches/core6/src/orxonox/graphics/FadingBillboard.cc
r9629 r9638 34 34 namespace orxonox 35 35 { 36 CreateFactory(FadingBillboard);36 RegisterClass(FadingBillboard); 37 37 38 38 FadingBillboard::FadingBillboard(Context* context) : Billboard(context) -
code/branches/core6/src/orxonox/graphics/GlobalShader.cc
r9629 r9638 36 36 namespace orxonox 37 37 { 38 CreateFactory(GlobalShader);38 RegisterClass(GlobalShader); 39 39 40 40 GlobalShader::GlobalShader(Context* context) : BaseObject(context), Synchronisable(context) -
code/branches/core6/src/orxonox/graphics/Light.cc
r9629 r9638 42 42 namespace orxonox 43 43 { 44 CreateFactory(Light);44 RegisterClass(Light); 45 45 46 46 // Be sure we don't do bad conversions -
code/branches/core6/src/orxonox/graphics/MeshLodInformation.cc
r9629 r9638 38 38 namespace orxonox 39 39 { 40 CreateFactory(MeshLodInformation);40 RegisterClass(MeshLodInformation); 41 41 42 42 MeshLodInformation::MeshLodInformation(Context* context) -
code/branches/core6/src/orxonox/graphics/Model.cc
r9629 r9638 41 41 namespace orxonox 42 42 { 43 CreateFactory(Model);43 RegisterClass(Model); 44 44 45 45 Model::Model(Context* context) : -
code/branches/core6/src/orxonox/graphics/ParticleEmitter.cc
r9629 r9638 43 43 namespace orxonox 44 44 { 45 CreateFactory(ParticleEmitter);45 RegisterClass(ParticleEmitter); 46 46 47 47 ParticleEmitter::ParticleEmitter(Context* context) : StaticEntity(context) -
code/branches/core6/src/orxonox/graphics/ParticleSpawner.cc
r9629 r9638 37 37 namespace orxonox 38 38 { 39 CreateFactory(ParticleSpawner);39 RegisterClass(ParticleSpawner); 40 40 41 41 ParticleSpawner::ParticleSpawner(Context* context) : ParticleEmitter(context) -
code/branches/core6/src/orxonox/infos/Bot.cc
r9629 r9638 38 38 namespace orxonox 39 39 { 40 CreateFactory(Bot);40 RegisterClass(Bot); 41 41 42 42 Bot::Bot(Context* context) : PlayerInfo(context) -
code/branches/core6/src/orxonox/infos/GametypeInfo.cc
r9629 r9638 48 48 namespace orxonox 49 49 { 50 CreateUnloadableFactory(GametypeInfo);50 RegisterUnloadableClass(GametypeInfo); 51 51 52 52 registerMemberNetworkFunction(GametypeInfo, dispatchAnnounceMessage); -
code/branches/core6/src/orxonox/infos/HumanPlayer.cc
r9629 r9638 41 41 namespace orxonox 42 42 { 43 CreateUnloadableFactory(HumanPlayer);43 RegisterUnloadableClass(HumanPlayer); 44 44 45 45 HumanPlayer::HumanPlayer(Context* context) : PlayerInfo(context) -
code/branches/core6/src/orxonox/items/Engine.cc
r9629 r9638 40 40 namespace orxonox 41 41 { 42 CreateFactory(Engine);42 RegisterClass(Engine); 43 43 44 44 /** -
code/branches/core6/src/orxonox/items/MultiStateEngine.cc
r9629 r9638 49 49 static const float MAX_VELOCITY_BOOST = 221; 50 50 51 CreateFactory(MultiStateEngine);51 RegisterClass(MultiStateEngine); 52 52 53 53 MultiStateEngine::MultiStateEngine(Context* context) : Engine(context) -
code/branches/core6/src/orxonox/overlays/GUISheet.cc
r9629 r9638 36 36 namespace orxonox 37 37 { 38 CreateFactory(GUISheet);38 RegisterClass(GUISheet); 39 39 40 40 GUISheet::GUISheet(Context* context) -
code/branches/core6/src/orxonox/overlays/OverlayGroup.cc
r9630 r9638 41 41 namespace orxonox 42 42 { 43 CreateFactory(OverlayGroup);43 RegisterClass(OverlayGroup); 44 44 45 45 SetConsoleCommand("OverlayGroup", "toggleVisibility", &OverlayGroup::toggleVisibility); -
code/branches/core6/src/orxonox/sound/WorldAmbientSound.cc
r9629 r9638 36 36 namespace orxonox 37 37 { 38 CreateFactory(WorldAmbientSound);38 RegisterClass(WorldAmbientSound); 39 39 40 40 WorldAmbientSound::WorldAmbientSound(Context* context) : BaseObject(context), Synchronisable(context) -
code/branches/core6/src/orxonox/sound/WorldSound.cc
r9629 r9638 41 41 namespace orxonox 42 42 { 43 CreateFactory(WorldSound);43 RegisterClass(WorldSound); 44 44 45 45 WorldSound::WorldSound(Context* context) -
code/branches/core6/src/orxonox/weaponsystem/DefaultWeaponmodeLink.cc
r9629 r9638 35 35 namespace orxonox 36 36 { 37 CreateFactory(DefaultWeaponmodeLink);37 RegisterClass(DefaultWeaponmodeLink); 38 38 39 39 DefaultWeaponmodeLink::DefaultWeaponmodeLink(Context* context) : BaseObject(context) -
code/branches/core6/src/orxonox/weaponsystem/Munition.cc
r9629 r9638 35 35 namespace orxonox 36 36 { 37 CreateFactory(Munition);37 RegisterClass(Munition); 38 38 39 39 Munition::Munition(Context* context) : BaseObject(context) -
code/branches/core6/src/orxonox/weaponsystem/Weapon.cc
r9629 r9638 39 39 namespace orxonox 40 40 { 41 CreateFactory(Weapon);41 RegisterClass(Weapon); 42 42 43 43 Weapon::Weapon(Context* context) : StaticEntity(context) -
code/branches/core6/src/orxonox/weaponsystem/WeaponPack.cc
r9629 r9638 38 38 namespace orxonox 39 39 { 40 CreateFactory(WeaponPack);40 RegisterClass(WeaponPack); 41 41 42 42 WeaponPack::WeaponPack(Context* context) : BaseObject(context) -
code/branches/core6/src/orxonox/weaponsystem/WeaponSet.cc
r9629 r9638 37 37 namespace orxonox 38 38 { 39 CreateFactory(WeaponSet);39 RegisterClass(WeaponSet); 40 40 41 41 WeaponSet::WeaponSet(Context* context) : BaseObject(context) -
code/branches/core6/src/orxonox/weaponsystem/WeaponSlot.cc
r9629 r9638 37 37 namespace orxonox 38 38 { 39 CreateFactory(WeaponSlot);39 RegisterClass(WeaponSlot); 40 40 41 41 WeaponSlot::WeaponSlot(Context* context) : StaticEntity(context) -
code/branches/core6/src/orxonox/weaponsystem/WeaponSystem.cc
r9629 r9638 46 46 namespace orxonox 47 47 { 48 CreateFactory(WeaponSystem);48 RegisterClass(WeaponSystem); 49 49 50 50 WeaponSystem::WeaponSystem(Context* context) : BaseObject(context) -
code/branches/core6/src/orxonox/worldentities/BigExplosion.cc
r9629 r9638 41 41 namespace orxonox 42 42 { 43 CreateFactory(BigExplosion);43 RegisterClass(BigExplosion); 44 44 45 45 BigExplosion::BigExplosion(Context* context) : StaticEntity(context) -
code/branches/core6/src/orxonox/worldentities/CameraPosition.cc
r9629 r9638 35 35 namespace orxonox 36 36 { 37 CreateFactory(CameraPosition);37 RegisterClass(CameraPosition); 38 38 39 39 CameraPosition::CameraPosition(Context* context) : StaticEntity(context) -
code/branches/core6/src/orxonox/worldentities/ControllableEntity.cc
r9629 r9638 47 47 namespace orxonox 48 48 { 49 CreateFactory(ControllableEntity);49 RegisterClass(ControllableEntity); 50 50 51 51 registerMemberNetworkFunction( ControllableEntity, fire ); -
code/branches/core6/src/orxonox/worldentities/Drone.cc
r9629 r9638 34 34 namespace orxonox 35 35 { 36 CreateFactory(Drone);36 RegisterClass(Drone); 37 37 /** 38 38 @brief -
code/branches/core6/src/orxonox/worldentities/EffectContainer.cc
r9629 r9638 40 40 namespace orxonox 41 41 { 42 CreateFactory(EffectContainer);42 RegisterClass(EffectContainer); 43 43 44 44 EffectContainer::EffectContainer(Context* context) -
code/branches/core6/src/orxonox/worldentities/ExplosionChunk.cc
r9629 r9638 38 38 namespace orxonox 39 39 { 40 CreateFactory(ExplosionChunk);40 RegisterClass(ExplosionChunk); 41 41 42 42 ExplosionChunk::ExplosionChunk(Context* context) : MovableEntity(context) -
code/branches/core6/src/orxonox/worldentities/MovableEntity.cc
r9629 r9638 41 41 static const float CONTINUOUS_SYNCHRONIZATION_TIME = 10.0f; 42 42 43 CreateFactory(MovableEntity);43 RegisterClass(MovableEntity); 44 44 45 45 MovableEntity::MovableEntity(Context* context) : MobileEntity(context) -
code/branches/core6/src/orxonox/worldentities/SpawnPoint.cc
r9629 r9638 37 37 namespace orxonox 38 38 { 39 CreateFactory(SpawnPoint);39 RegisterClass(SpawnPoint); 40 40 41 41 SpawnPoint::SpawnPoint(Context* context) : StaticEntity(context) -
code/branches/core6/src/orxonox/worldentities/StaticEntity.cc
r9629 r9638 37 37 namespace orxonox 38 38 { 39 CreateFactory(StaticEntity);39 RegisterClass(StaticEntity); 40 40 41 41 StaticEntity::StaticEntity(Context* context) : WorldEntity(context) -
code/branches/core6/src/orxonox/worldentities/TeamSpawnPoint.cc
r9629 r9638 34 34 namespace orxonox 35 35 { 36 CreateFactory(TeamSpawnPoint);36 RegisterClass(TeamSpawnPoint); 37 37 38 38 TeamSpawnPoint::TeamSpawnPoint(Context* context) : SpawnPoint(context) -
code/branches/core6/src/orxonox/worldentities/pawns/Destroyer.cc
r9629 r9638 34 34 namespace orxonox 35 35 { 36 CreateFactory(Destroyer);36 RegisterClass(Destroyer); 37 37 38 38 Destroyer::Destroyer(Context* context) : SpaceShip(context) -
code/branches/core6/src/orxonox/worldentities/pawns/FpsPlayer.cc
r9629 r9638 53 53 const float orientationGain_ = 100; 54 54 const float jumpValue_ = 300; 55 CreateFactory(FpsPlayer);55 RegisterClass(FpsPlayer); 56 56 57 57 FpsPlayer::FpsPlayer(Context* context) : Pawn(context) -
code/branches/core6/src/orxonox/worldentities/pawns/Pawn.cc
r9629 r9638 49 49 namespace orxonox 50 50 { 51 CreateFactory(Pawn);51 RegisterClass(Pawn); 52 52 53 53 Pawn::Pawn(Context* context) -
code/branches/core6/src/orxonox/worldentities/pawns/SpaceShip.cc
r9629 r9638 46 46 namespace orxonox 47 47 { 48 CreateFactory(SpaceShip);48 RegisterClass(SpaceShip); 49 49 50 50 SpaceShip::SpaceShip(Context* context) : Pawn(context), boostBlur_(NULL) -
code/branches/core6/src/orxonox/worldentities/pawns/Spectator.cc
r9629 r9638 45 45 extern const std::string __CC_suicide_name; 46 46 47 CreateFactory(Spectator);47 RegisterClass(Spectator); 48 48 49 49 Spectator::Spectator(Context* context) : ControllableEntity(context) -
code/branches/core6/src/orxonox/worldentities/pawns/TeamBaseMatchBase.cc
r9629 r9638 37 37 namespace orxonox 38 38 { 39 CreateFactory(TeamBaseMatchBase);39 RegisterClass(TeamBaseMatchBase); 40 40 41 41 TeamBaseMatchBase::TeamBaseMatchBase(Context* context) : Pawn(context)
Note: See TracChangeset
for help on using the changeset viewer.