Changeset 9667 for code/trunk/src/modules/docking
- Timestamp:
- Aug 25, 2013, 9:08:42 PM (11 years ago)
- Location:
- code/trunk
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/core6 merged: 9552-9554,9556-9574,9577-9579,9585-9593,9596-9612,9626-9662
- Property svn:mergeinfo changed
-
code/trunk/src/modules/docking/Dock.cc
r8858 r9667 46 46 namespace orxonox 47 47 { 48 CreateFactory(Dock);48 RegisterClass(Dock); 49 49 50 50 SetConsoleCommand("Dock", "dock", &Dock::cmdDock).addShortcut().setAsInputCommand(); … … 53 53 registerStaticNetworkFunction(Dock::showDockingDialog); 54 54 55 Dock::Dock( BaseObject* creator) : StaticEntity(creator)55 Dock::Dock(Context* context) : StaticEntity(context) 56 56 { 57 57 RegisterObject(Dock); -
code/trunk/src/modules/docking/Dock.h
r8706 r9667 40 40 #include <set> 41 41 42 #include "core/CoreIncludes.h"43 42 #include "core/EventIncludes.h" 44 43 #include "core/XMLPort.h" … … 58 57 { // tolua_export 59 58 public: 60 Dock( BaseObject* creator);59 Dock(Context* context); 61 60 virtual ~Dock(); 62 61 -
code/trunk/src/modules/docking/DockToShip.cc
r8858 r9667 38 38 namespace orxonox 39 39 { 40 CreateFactory(DockToShip);40 RegisterClass(DockToShip); 41 41 42 DockToShip::DockToShip( BaseObject* creator) : DockingEffect(creator)42 DockToShip::DockToShip(Context* context) : DockingEffect(context) 43 43 { 44 44 RegisterObject(DockToShip); -
code/trunk/src/modules/docking/DockToShip.h
r8706 r9667 57 57 { 58 58 public: 59 DockToShip( BaseObject* creator);59 DockToShip(Context* context); 60 60 virtual ~DockToShip(); 61 61 -
code/trunk/src/modules/docking/DockingAnimation.cc
r8706 r9667 35 35 36 36 #include "DockingEffect.h" // For DockingEffect::findTarget 37 #include "core/CoreIncludes.h" 37 38 38 39 namespace orxonox 39 40 { 40 DockingAnimation::DockingAnimation(BaseObject* creator) : BaseObject(creator) 41 RegisterAbstractClass(DockingAnimation).inheritsFrom(Class(BaseObject)); 42 43 DockingAnimation::DockingAnimation(Context* context) : BaseObject(context) 41 44 { 42 45 RegisterObject(DockingAnimation); -
code/trunk/src/modules/docking/DockingAnimation.h
r8706 r9667 36 36 #define _DockingAnimation_H__ 37 37 38 #include "core/CoreIncludes.h"39 38 #include "core/XMLPort.h" 40 39 … … 64 63 { 65 64 public: 66 DockingAnimation( BaseObject* creator);65 DockingAnimation(Context* context); 67 66 virtual ~DockingAnimation(); 68 67 -
code/trunk/src/modules/docking/DockingController.cc
r9348 r9667 34 34 #include "worldentities/ControllableEntity.h" 35 35 #include "Dock.h" 36 #include "core/CoreIncludes.h" 36 37 37 38 namespace orxonox 38 39 { 39 CreateFactory(DockingController);40 RegisterClass(DockingController); 40 41 41 DockingController::DockingController( BaseObject* creator) : ArtificialController(creator)42 DockingController::DockingController(Context* context) : ArtificialController(context) 42 43 { 43 44 RegisterObject(DockingController); -
code/trunk/src/modules/docking/DockingController.h
r8706 r9667 42 42 { 43 43 public: 44 DockingController( BaseObject* creator);44 DockingController(Context* context); 45 45 virtual ~DockingController(); 46 46 -
code/trunk/src/modules/docking/DockingEffect.cc
r8706 r9667 33 33 34 34 #include "DockingEffect.h" 35 #include "core/CoreIncludes.h" 35 36 36 37 namespace orxonox 37 38 { 38 DockingEffect::DockingEffect(BaseObject* creator) : BaseObject(creator) 39 RegisterAbstractClass(DockingEffect).inheritsFrom(Class(BaseObject)); 40 41 DockingEffect::DockingEffect(Context* context) : BaseObject(context) 39 42 { 40 43 RegisterObject(DockingEffect); -
code/trunk/src/modules/docking/DockingEffect.h
r8706 r9667 36 36 #define _DockingEffect_H__ 37 37 38 #include "core/CoreIncludes.h"39 38 #include "core/XMLPort.h" 40 39 … … 62 61 { 63 62 public: 64 DockingEffect( BaseObject* creator);63 DockingEffect(Context* context); 65 64 virtual ~DockingEffect(); 66 65 -
code/trunk/src/modules/docking/DockingPrecompiledHeaders.h
r8706 r9667 45 45 46 46 #include "core/BaseObject.h" 47 #include "core/CoreIncludes.h"48 47 #include "core/XMLPort.h" 49 48 -
code/trunk/src/modules/docking/DockingTarget.cc
r8858 r9667 33 33 34 34 #include "DockingTarget.h" 35 #include "core/CoreIncludes.h" 35 36 #include "core/XMLPort.h" 36 37 … … 38 39 namespace orxonox 39 40 { 40 CreateFactory(DockingTarget);41 RegisterClass(DockingTarget); 41 42 42 DockingTarget::DockingTarget( BaseObject* creator) : StaticEntity(creator)43 DockingTarget::DockingTarget(Context* context) : StaticEntity(context) 43 44 { 44 45 RegisterObject(DockingTarget); -
code/trunk/src/modules/docking/DockingTarget.h
r8706 r9667 55 55 { 56 56 public: 57 DockingTarget( BaseObject* creator);57 DockingTarget(Context* context); 58 58 virtual ~DockingTarget(); 59 59 -
code/trunk/src/modules/docking/MoveToDockingTarget.cc
r8706 r9667 36 36 37 37 #include "core/XMLPort.h" 38 #include "core/CoreIncludes.h" 38 39 39 40 namespace orxonox 40 41 { 41 CreateFactory(MoveToDockingTarget);42 RegisterClass(MoveToDockingTarget); 42 43 43 MoveToDockingTarget::MoveToDockingTarget( BaseObject *creator) : DockingAnimation(creator)44 MoveToDockingTarget::MoveToDockingTarget(Context* context) : DockingAnimation(context) 44 45 { 45 46 RegisterObject(MoveToDockingTarget); … … 54 55 assert(this->parent_); 55 56 56 DockingController *dockingController = new DockingController(this );57 DockingController *dockingController = new DockingController(this->getContext()); 57 58 dockingController->setDock(this->parent_); 58 59 dockingController->setPlayer(player); -
code/trunk/src/modules/docking/MoveToDockingTarget.h
r8706 r9667 56 56 { 57 57 public: 58 MoveToDockingTarget( BaseObject* creator);58 MoveToDockingTarget(Context* context); 59 59 virtual ~MoveToDockingTarget(); 60 60
Note: See TracChangeset
for help on using the changeset viewer.