Changeset 9667 for code/trunk/src/orxonox/infos
- Timestamp:
- Aug 25, 2013, 9:08:42 PM (11 years ago)
- Location:
- code/trunk
- Files:
-
- 11 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/orxonox/infos/Bot.cc
r7801 r9667 32 32 #include "core/GameMode.h" 33 33 #include "core/CoreIncludes.h" 34 #include "core/ ConfigValueIncludes.h"34 #include "core/config/ConfigValueIncludes.h" 35 35 #include "gametypes/Gametype.h" 36 36 #include "controllers/AIController.h" … … 38 38 namespace orxonox 39 39 { 40 CreateFactory(Bot);40 RegisterClass(Bot); 41 41 42 Bot::Bot( BaseObject* creator) : PlayerInfo(creator)42 Bot::Bot(Context* context) : PlayerInfo(context) 43 43 { 44 44 RegisterObject(Bot); -
code/trunk/src/orxonox/infos/Bot.h
r5781 r9667 40 40 { 41 41 public: 42 Bot( BaseObject* creator);42 Bot(Context* context); 43 43 virtual ~Bot(); 44 44 -
code/trunk/src/orxonox/infos/GametypeInfo.cc
r9348 r9667 48 48 namespace orxonox 49 49 { 50 CreateUnloadableFactory(GametypeInfo);50 RegisterUnloadableClass(GametypeInfo); 51 51 52 52 registerMemberNetworkFunction(GametypeInfo, dispatchAnnounceMessage); … … 65 65 Registers and initializes the object. 66 66 */ 67 GametypeInfo::GametypeInfo( BaseObject* creator) : Info(creator)67 GametypeInfo::GametypeInfo(Context* context) : Info(context) 68 68 { 69 69 RegisterObject(GametypeInfo); -
code/trunk/src/orxonox/infos/GametypeInfo.h
r9348 r9667 58 58 59 59 public: 60 GametypeInfo( BaseObject* creator);60 GametypeInfo(Context* context); 61 61 virtual ~GametypeInfo(); 62 62 -
code/trunk/src/orxonox/infos/HumanPlayer.cc
r8327 r9667 30 30 31 31 #include "core/CoreIncludes.h" 32 #include "core/ ConfigValueIncludes.h"32 #include "core/config/ConfigValueIncludes.h" 33 33 #include "core/GameMode.h" 34 34 // #include "network/ClientInformation.h" … … 41 41 namespace orxonox 42 42 { 43 CreateUnloadableFactory(HumanPlayer);44 45 HumanPlayer::HumanPlayer( BaseObject* creator) : PlayerInfo(creator)43 RegisterUnloadableClass(HumanPlayer); 44 45 HumanPlayer::HumanPlayer(Context* context) : PlayerInfo(context) 46 46 { 47 47 RegisterObject(HumanPlayer); … … 183 183 if (this->isLocalPlayer() && !this->humanHudTemplate_.empty() && GameMode::showsGraphics()) 184 184 { 185 this->humanHud_ = new OverlayGroup(this );185 this->humanHud_ = new OverlayGroup(this->getContext()); 186 186 this->humanHud_->addTemplate(this->humanHudTemplate_); 187 187 this->humanHud_->setOwner(this); … … 199 199 if (this->isLocalPlayer() && !this->gametypeHudTemplate_.empty()) 200 200 { 201 this->gametypeHud_ = new OverlayGroup(this );201 this->gametypeHud_ = new OverlayGroup(this->getContext()); 202 202 this->gametypeHud_->addTemplate(this->gametypeHudTemplate_); 203 203 this->gametypeHud_->setOwner(this); -
code/trunk/src/orxonox/infos/HumanPlayer.h
r7163 r9667 40 40 { 41 41 public: 42 HumanPlayer( BaseObject* creator);42 HumanPlayer(Context* context); 43 43 virtual ~HumanPlayer(); 44 44 -
code/trunk/src/orxonox/infos/Info.cc
r5781 r9667 32 32 namespace orxonox 33 33 { 34 Info::Info(BaseObject* creator) : BaseObject(creator), Synchronisable(creator) 34 RegisterClass(Info); 35 36 Info::Info(Context* context) : BaseObject(context), Synchronisable(context) 35 37 { 36 38 RegisterObject(Info); -
code/trunk/src/orxonox/infos/Info.h
r5781 r9667 40 40 { 41 41 public: 42 Info( BaseObject* creator);42 Info(Context* context); 43 43 virtual ~Info() {} 44 44 }; -
code/trunk/src/orxonox/infos/PlayerInfo.cc
r9348 r9667 40 40 namespace orxonox 41 41 { 42 PlayerInfo::PlayerInfo(BaseObject* creator) : Info(creator) 42 RegisterAbstractClass(PlayerInfo).inheritsFrom(Class(Info)); 43 44 PlayerInfo::PlayerInfo(Context* context) : Info(context) 43 45 { 44 46 RegisterObject(PlayerInfo); … … 136 138 this->controller_ = 0; 137 139 } 138 this->controller_ = this->defaultController_.fabricate(this );140 this->controller_ = this->defaultController_.fabricate(this->getContext()); 139 141 assert(this->controller_); 140 142 this->controller_->setPlayer(this); -
code/trunk/src/orxonox/infos/PlayerInfo.h
r8706 r9667 33 33 34 34 #include "Info.h" 35 #include "core/ SubclassIdentifier.h"35 #include "core/class/SubclassIdentifier.h" 36 36 37 37 namespace orxonox // tolua_export … … 41 41 { // tolua_export 42 42 public: 43 PlayerInfo( BaseObject* creator);43 PlayerInfo(Context* context); 44 44 virtual ~PlayerInfo(); 45 45
Note: See TracChangeset
for help on using the changeset viewer.