Changeset 9667 for code/trunk/src/modules/overlays/hud
- Timestamp:
- Aug 25, 2013, 9:08:42 PM (11 years ago)
- Location:
- code/trunk
- Files:
-
- 37 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/overlays/hud/AnnounceMessage.cc
r5781 r9667 34 34 namespace orxonox 35 35 { 36 CreateFactory(AnnounceMessage);36 RegisterClass(AnnounceMessage); 37 37 38 AnnounceMessage::AnnounceMessage( BaseObject* creator) : FadeoutText(creator)38 AnnounceMessage::AnnounceMessage(Context* context) : FadeoutText(context) 39 39 { 40 40 RegisterObject(AnnounceMessage); -
code/trunk/src/modules/overlays/hud/AnnounceMessage.h
r5781 r9667 40 40 { 41 41 public: 42 AnnounceMessage( BaseObject* creator);42 AnnounceMessage(Context* context); 43 43 virtual ~AnnounceMessage() {} 44 44 -
code/trunk/src/modules/overlays/hud/ChatOverlay.cc
r8858 r9667 35 35 #include "util/DisplayStringConversions.h" 36 36 #include "core/CoreIncludes.h" 37 #include "core/ ConfigValueIncludes.h"37 #include "core/config/ConfigValueIncludes.h" 38 38 #include "core/command/Executor.h" 39 39 … … 44 44 namespace orxonox 45 45 { 46 CreateFactory(ChatOverlay);46 RegisterClass(ChatOverlay); 47 47 48 ChatOverlay::ChatOverlay( BaseObject* creator)49 : OverlayText(c reator)48 ChatOverlay::ChatOverlay(Context* context) 49 : OverlayText(context) 50 50 { 51 51 RegisterObject(ChatOverlay); -
code/trunk/src/modules/overlays/hud/ChatOverlay.h
r8858 r9667 43 43 { 44 44 public: 45 ChatOverlay( BaseObject* creator);45 ChatOverlay(Context* context); 46 46 virtual ~ChatOverlay(); 47 47 -
code/trunk/src/modules/overlays/hud/DeathMessage.cc
r5781 r9667 34 34 namespace orxonox 35 35 { 36 CreateFactory(DeathMessage);36 RegisterClass(DeathMessage); 37 37 38 DeathMessage::DeathMessage( BaseObject* creator) : FadeoutText(creator)38 DeathMessage::DeathMessage(Context* context) : FadeoutText(context) 39 39 { 40 40 RegisterObject(DeathMessage); -
code/trunk/src/modules/overlays/hud/DeathMessage.h
r5781 r9667 40 40 { 41 41 public: 42 DeathMessage( BaseObject* creator);42 DeathMessage(Context* context); 43 43 virtual ~DeathMessage() {} 44 44 -
code/trunk/src/modules/overlays/hud/GametypeFadingMessage.cc
r7163 r9667 34 34 namespace orxonox 35 35 { 36 CreateFactory(GametypeFadingMessage);36 RegisterClass(GametypeFadingMessage); 37 37 38 GametypeFadingMessage::GametypeFadingMessage( BaseObject* creator) : FadeoutText(creator)38 GametypeFadingMessage::GametypeFadingMessage(Context* context) : FadeoutText(context) 39 39 { 40 40 RegisterObject(GametypeFadingMessage); -
code/trunk/src/modules/overlays/hud/GametypeFadingMessage.h
r8729 r9667 40 40 { 41 41 public: 42 GametypeFadingMessage( BaseObject* creator);42 GametypeFadingMessage(Context* context); 43 43 virtual ~GametypeFadingMessage(); 44 44 -
code/trunk/src/modules/overlays/hud/GametypeStaticMessage.cc
r7163 r9667 36 36 namespace orxonox 37 37 { 38 CreateFactory(GametypeStaticMessage);38 RegisterClass(GametypeStaticMessage); 39 39 40 40 41 GametypeStaticMessage::GametypeStaticMessage( BaseObject* creator) : OverlayText(creator)41 GametypeStaticMessage::GametypeStaticMessage(Context* context) : OverlayText(context) 42 42 { 43 43 RegisterObject(GametypeStaticMessage); -
code/trunk/src/modules/overlays/hud/GametypeStaticMessage.h
r7163 r9667 43 43 { 44 44 public: 45 GametypeStaticMessage( BaseObject* creator);45 GametypeStaticMessage(Context* context); 46 46 virtual ~GametypeStaticMessage(); 47 47 -
code/trunk/src/modules/overlays/hud/HUDBar.cc
r8706 r9667 45 45 namespace orxonox 46 46 { 47 CreateFactory(BarColour);48 49 BarColour::BarColour( BaseObject* creator)50 : BaseObject(c reator)47 RegisterClass(BarColour); 48 49 BarColour::BarColour(Context* context) 50 : BaseObject(context) 51 51 { 52 52 RegisterObject(BarColour); … … 67 67 unsigned int HUDBar::materialcount_s = 0; 68 68 69 HUDBar::HUDBar(BaseObject* creator) 70 : OrxonoxOverlay(creator), right2Left_(false), autoColour_(false) 69 RegisterClass(HUDBar); 70 71 HUDBar::HUDBar(Context* context) 72 : OrxonoxOverlay(context), right2Left_(false), autoColour_(false) 71 73 { 72 74 RegisterObject(HUDBar); -
code/trunk/src/modules/overlays/hud/HUDBar.h
r8706 r9667 48 48 { 49 49 public: 50 BarColour( BaseObject* creator);50 BarColour(Context* context); 51 51 virtual ~BarColour() { } 52 52 … … 68 68 { 69 69 public: 70 HUDBar( BaseObject* creator);70 HUDBar(Context* context); 71 71 virtual ~HUDBar(); 72 72 -
code/trunk/src/modules/overlays/hud/HUDBoostBar.cc
r9348 r9667 35 35 namespace orxonox 36 36 { 37 CreateFactory(HUDBoostBar);37 RegisterClass(HUDBoostBar); 38 38 39 HUDBoostBar::HUDBoostBar( BaseObject* creator)40 : HUDBar(c reator)39 HUDBoostBar::HUDBoostBar(Context* context) 40 : HUDBar(context) 41 41 { 42 42 RegisterObject(HUDBoostBar); -
code/trunk/src/modules/overlays/hud/HUDBoostBar.h
r9348 r9667 40 40 { 41 41 public: 42 HUDBoostBar( BaseObject* creator);42 HUDBoostBar(Context* context); 43 43 virtual ~HUDBoostBar(); 44 44 -
code/trunk/src/modules/overlays/hud/HUDEnemyHealthBar.cc
r9348 r9667 29 29 #include "HUDEnemyHealthBar.h" 30 30 31 #include "core/ ConfigValueIncludes.h"31 #include "core/config/ConfigValueIncludes.h" 32 32 #include "worldentities/pawns/Pawn.h" 33 33 34 34 namespace orxonox 35 35 { 36 CreateFactory(HUDEnemyHealthBar);36 RegisterClass(HUDEnemyHealthBar); 37 37 38 HUDEnemyHealthBar::HUDEnemyHealthBar( BaseObject* creator) : HUDHealthBar(creator)38 HUDEnemyHealthBar::HUDEnemyHealthBar(Context* context) : HUDHealthBar(context) 39 39 { 40 40 RegisterObject(HUDEnemyHealthBar); -
code/trunk/src/modules/overlays/hud/HUDEnemyHealthBar.h
r9348 r9667 37 37 { 38 38 public: 39 HUDEnemyHealthBar( BaseObject* creator);39 HUDEnemyHealthBar(Context* context); 40 40 virtual ~HUDEnemyHealthBar(); 41 41 -
code/trunk/src/modules/overlays/hud/HUDHealthBar.cc
r6054 r9667 37 37 namespace orxonox 38 38 { 39 CreateFactory(HUDHealthBar);39 RegisterClass(HUDHealthBar); 40 40 41 HUDHealthBar::HUDHealthBar( BaseObject* creator) : HUDBar(creator)41 HUDHealthBar::HUDHealthBar(Context* context) : HUDBar(context) 42 42 { 43 43 RegisterObject(HUDHealthBar); … … 46 46 this->bUseBarColour_ = false; 47 47 48 this->textoverlay_ = new OverlayText(this );48 this->textoverlay_ = new OverlayText(this->getContext()); 49 49 50 50 assert(this->textoverlay_.get()); -
code/trunk/src/modules/overlays/hud/HUDHealthBar.h
r9259 r9667 42 42 { 43 43 public: 44 HUDHealthBar( BaseObject* creator);44 HUDHealthBar(Context* context); 45 45 virtual ~HUDHealthBar(); 46 46 -
code/trunk/src/modules/overlays/hud/HUDNavigation.cc
r9526 r9667 51 51 #include "worldentities/pawns/Pawn.h" 52 52 #include "worldentities/WorldEntity.h" 53 #include "core/ ConfigValueIncludes.h"53 #include "core/config/ConfigValueIncludes.h" 54 54 #include "tools/TextureGenerator.h" 55 55 // #include <boost/bind/bind_template.hpp> … … 67 67 return a.second < b.second; 68 68 } 69 CreateFactory( HUDNavigation );69 RegisterClass ( HUDNavigation ); 70 70 71 71 HUDNavigation* HUDNavigation::localHUD_s = 0; 72 72 73 HUDNavigation::HUDNavigation( BaseObject* creator) :74 OrxonoxOverlay(c reator)73 HUDNavigation::HUDNavigation(Context* context) : 74 OrxonoxOverlay(context) 75 75 { 76 76 RegisterObject(HUDNavigation) -
code/trunk/src/modules/overlays/hud/HUDNavigation.h
r9526 r9667 46 46 { 47 47 public: 48 HUDNavigation( BaseObject* creator);48 HUDNavigation(Context* context); 49 49 virtual ~HUDNavigation(); 50 50 -
code/trunk/src/modules/overlays/hud/HUDRadar.cc
r9348 r9667 44 44 namespace orxonox 45 45 { 46 CreateFactory(HUDRadar);47 48 HUDRadar::HUDRadar( BaseObject* creator)49 : OrxonoxOverlay(c reator)46 RegisterClass(HUDRadar); 47 48 HUDRadar::HUDRadar(Context* context) 49 : OrxonoxOverlay(context) 50 50 { 51 51 RegisterObject(HUDRadar); -
code/trunk/src/modules/overlays/hud/HUDRadar.h
r8891 r9667 46 46 { 47 47 public: 48 HUDRadar( BaseObject* creator);48 HUDRadar(Context* context); 49 49 virtual ~HUDRadar(); 50 50 -
code/trunk/src/modules/overlays/hud/HUDSpeedBar.cc
r8706 r9667 36 36 namespace orxonox 37 37 { 38 CreateFactory(HUDSpeedBar);38 RegisterClass(HUDSpeedBar); 39 39 40 HUDSpeedBar::HUDSpeedBar( BaseObject* creator)41 : HUDBar(c reator)40 HUDSpeedBar::HUDSpeedBar(Context* context) 41 : HUDBar(context) 42 42 { 43 43 RegisterObject(HUDSpeedBar); -
code/trunk/src/modules/overlays/hud/HUDSpeedBar.h
r5781 r9667 41 41 { 42 42 public: 43 HUDSpeedBar( BaseObject* creator);43 HUDSpeedBar(Context* context); 44 44 virtual ~HUDSpeedBar(); 45 45 -
code/trunk/src/modules/overlays/hud/HUDTimer.cc
r5781 r9667 36 36 namespace orxonox 37 37 { 38 CreateFactory(HUDTimer);38 RegisterClass(HUDTimer); 39 39 40 HUDTimer::HUDTimer( BaseObject* creator) : OverlayText(creator)40 HUDTimer::HUDTimer(Context* context) : OverlayText(context) 41 41 { 42 42 RegisterObject(HUDTimer); -
code/trunk/src/modules/overlays/hud/HUDTimer.h
r5781 r9667 40 40 { 41 41 public: 42 HUDTimer( BaseObject* creator);42 HUDTimer(Context* context); 43 43 virtual ~HUDTimer(); 44 44 -
code/trunk/src/modules/overlays/hud/KillMessage.cc
r5781 r9667 34 34 namespace orxonox 35 35 { 36 CreateFactory(KillMessage);36 RegisterClass(KillMessage); 37 37 38 KillMessage::KillMessage( BaseObject* creator) : FadeoutText(creator)38 KillMessage::KillMessage(Context* context) : FadeoutText(context) 39 39 { 40 40 RegisterObject(KillMessage); -
code/trunk/src/modules/overlays/hud/KillMessage.h
r5781 r9667 40 40 { 41 41 public: 42 KillMessage( BaseObject* creator);42 KillMessage(Context* context); 43 43 virtual ~KillMessage() {} 44 44 -
code/trunk/src/modules/overlays/hud/LastManStandingInfos.cc
r7655 r9667 37 37 namespace orxonox 38 38 { 39 CreateFactory(LastManStandingInfos);39 RegisterClass(LastManStandingInfos); 40 40 41 LastManStandingInfos::LastManStandingInfos( BaseObject* creator) : OverlayText(creator)41 LastManStandingInfos::LastManStandingInfos(Context* context) : OverlayText(context) 42 42 { 43 43 RegisterObject(LastManStandingInfos); -
code/trunk/src/modules/overlays/hud/LastManStandingInfos.h
r7655 r9667 40 40 { 41 41 public: 42 LastManStandingInfos( BaseObject* creator);42 LastManStandingInfos(Context* context); 43 43 virtual ~LastManStandingInfos(); 44 44 -
code/trunk/src/modules/overlays/hud/LastTeamStandingInfos.cc
r8351 r9667 37 37 namespace orxonox 38 38 { 39 CreateFactory(LastTeamStandingInfos);39 RegisterClass(LastTeamStandingInfos); 40 40 41 LastTeamStandingInfos::LastTeamStandingInfos( BaseObject* creator) : OverlayText(creator)41 LastTeamStandingInfos::LastTeamStandingInfos(Context* context) : OverlayText(context) 42 42 { 43 43 RegisterObject(LastTeamStandingInfos); -
code/trunk/src/modules/overlays/hud/LastTeamStandingInfos.h
r8178 r9667 40 40 { 41 41 public: 42 LastTeamStandingInfos( BaseObject* creator);42 LastTeamStandingInfos(Context* context); 43 43 virtual ~LastTeamStandingInfos(); 44 44 -
code/trunk/src/modules/overlays/hud/PauseNotice.cc
r8079 r9667 34 34 namespace orxonox 35 35 { 36 CreateFactory(PauseNotice);36 RegisterClass(PauseNotice); 37 37 38 PauseNotice::PauseNotice( BaseObject* creator) : OverlayText(creator)38 PauseNotice::PauseNotice(Context* context) : OverlayText(context) 39 39 { 40 40 RegisterObject(PauseNotice); -
code/trunk/src/modules/overlays/hud/PauseNotice.h
r8079 r9667 40 40 { 41 41 public: 42 PauseNotice( BaseObject* creator);42 PauseNotice(Context* context); 43 43 44 44 virtual void changedOwner(); -
code/trunk/src/modules/overlays/hud/TeamBaseMatchScore.cc
r6417 r9667 37 37 namespace orxonox 38 38 { 39 CreateFactory(TeamBaseMatchScore);39 RegisterClass(TeamBaseMatchScore); 40 40 41 TeamBaseMatchScore::TeamBaseMatchScore( BaseObject* creator) : OverlayText(creator)41 TeamBaseMatchScore::TeamBaseMatchScore(Context* context) : OverlayText(context) 42 42 { 43 43 RegisterObject(TeamBaseMatchScore); -
code/trunk/src/modules/overlays/hud/TeamBaseMatchScore.h
r5781 r9667 40 40 { 41 41 public: 42 TeamBaseMatchScore( BaseObject* creator);42 TeamBaseMatchScore(Context* context); 43 43 virtual ~TeamBaseMatchScore(); 44 44
Note: See TracChangeset
for help on using the changeset viewer.