Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3183


Ignore:
Timestamp:
Jun 15, 2009, 10:48:12 PM (15 years ago)
Author:
rgrieder
Message:

Renamed Teamcolourable to TeamColourable

Location:
code/branches/pch/src/orxonox
Files:
6 edited
1 moved

Legend:

Unmodified
Added
Removed
  • code/branches/pch/src/orxonox/interfaces/InterfaceCompilation.cc

    r3181 r3183  
    3737#include "RadarListener.h"
    3838#include "Rewardable.h"
    39 #include "Teamcolourable.h"
     39#include "TeamColourable.h"
    4040#include "Tickable.h"
    4141#include "TimeFactorListener.h"
     
    7474
    7575    //----------------------------
    76     // Teamcolourable
     76    // TeamColourable
    7777    //----------------------------
    78     Teamcolourable::Teamcolourable()
     78    TeamColourable::TeamColourable()
    7979    {
    80         RegisterRootObject(Teamcolourable);
     80        RegisterRootObject(TeamColourable);
    8181    }
    8282
  • code/branches/pch/src/orxonox/interfaces/TeamColourable.h

    • Property svn:mergeinfo set to (toggle deleted branches)
      /code/branches/buildsystem/src/orxonox/interfaces/Teamcolourable.h1874-2276,​2278-2400
      /code/branches/buildsystem2/src/orxonox/interfaces/Teamcolourable.h2506-2658
      /code/branches/buildsystem3/src/orxonox/interfaces/Teamcolourable.h2662-2708
      /code/branches/ceguilua/src/orxonox/interfaces/Teamcolourable.h1802-1808
      /code/branches/core3/src/orxonox/interfaces/Teamcolourable.h1572-1739
      /code/branches/gametypes/src/orxonox/interfaces/Teamcolourable.h2826-3031
      /code/branches/gcc43/src/orxonox/interfaces/Teamcolourable.h1580
      /code/branches/gui/src/orxonox/interfaces/Teamcolourable.h1635-1723,​2795-2894
      /code/branches/input/src/orxonox/interfaces/Teamcolourable.h1629-1636
      /code/branches/lodfinal/src/orxonox/interfaces/Teamcolourable.h2372-2411
      /code/branches/map/src/orxonox/interfaces/Teamcolourable.h2801-3086,​3089
      /code/branches/miniprojects/src/orxonox/interfaces/Teamcolourable.h2754-2824
      /code/branches/netp2/src/orxonox/interfaces/Teamcolourable.h2835-2988
      /code/branches/netp3/src/orxonox/interfaces/Teamcolourable.h2988-3082
      /code/branches/network/src/orxonox/interfaces/Teamcolourable.h2356
      /code/branches/network64/src/orxonox/interfaces/Teamcolourable.h2210-2355
      /code/branches/objecthierarchy/src/orxonox/interfaces/Teamcolourable.h1911-2085,​2100,​2110-2169
      /code/branches/objecthierarchy2/src/orxonox/interfaces/Teamcolourable.h2171-2479
      /code/branches/overlay/src/orxonox/interfaces/Teamcolourable.h2117-2385
      /code/branches/particles/src/orxonox/interfaces/Teamcolourable.h2829-3085
      /code/branches/physics/src/orxonox/interfaces/Teamcolourable.h1912-2055,​2107-2439
      /code/branches/physics_merge/src/orxonox/interfaces/Teamcolourable.h2436-2457
      /code/branches/pickups/src/orxonox/interfaces/Teamcolourable.h1926-2086,​2127,​2827-2915
      /code/branches/pickups2/src/orxonox/interfaces/Teamcolourable.h2107-2497,​2915-3071
      /code/branches/presentation/src/orxonox/interfaces/Teamcolourable.h2369-2652,​2654-2660
      /code/branches/questsystem/src/orxonox/interfaces/Teamcolourable.h1894-2088
      /code/branches/questsystem2/src/orxonox/interfaces/Teamcolourable.h2107-2259
      /code/branches/questsystem5/src/orxonox/interfaces/Teamcolourable.h2776-2905
      /code/branches/script_trigger/src/orxonox/interfaces/Teamcolourable.h1295-1953,​1955
      /code/branches/sound/src/orxonox/interfaces/Teamcolourable.h2829-3010
      /code/branches/weapon/src/orxonox/interfaces/Teamcolourable.h1925-2094
      /code/branches/weapon2/src/orxonox/interfaces/Teamcolourable.h2107-2488
      /code/branches/weapons/src/orxonox/interfaces/Teamcolourable.h2897-3051
      /code/branches/weaponsystem/src/orxonox/interfaces/Teamcolourable.h2742-2890
    r3182 r3183  
    2727 */
    2828
    29 #ifndef _Teamcolourable_H__
    30 #define _Teamcolourable_H__
     29#ifndef _TeamColourable_H__
     30#define _TeamColourable_H__
    3131
    3232#include "OrxonoxPrereqs.h"
     
    3737namespace orxonox
    3838{
    39     class _OrxonoxExport Teamcolourable : virtual public OrxonoxClass
     39    class _OrxonoxExport TeamColourable : virtual public OrxonoxClass
    4040    {
    4141        public:
     
    4343
    4444        protected:
    45             Teamcolourable();
     45            TeamColourable();
    4646    };
    4747}
    4848
    49 #endif /* _Teamcolourable_H__ */
     49#endif /* _TeamColourable_H__ */
  • code/branches/pch/src/orxonox/objects/gametypes/TeamDeathmatch.cc

    r3177 r3183  
    3131#include "core/CoreIncludes.h"
    3232#include "core/ConfigValueIncludes.h"
    33 #include "interfaces/Teamcolourable.h"
     33#include "interfaces/TeamColourable.h"
    3434#include "objects/worldentities/TeamSpawnPoint.h"
    3535
     
    168168                for (std::set<WorldEntity*>::iterator it = pawnAttachments.begin(); it != pawnAttachments.end(); ++it)
    169169                {
    170                     if ((*it)->isA(Class(Teamcolourable)))
     170                    if ((*it)->isA(Class(TeamColourable)))
    171171                    {
    172                         Teamcolourable* tc = dynamic_cast<Teamcolourable*>(*it);
     172                        TeamColourable* tc = dynamic_cast<TeamColourable*>(*it);
    173173                        tc->setTeamColour(this->teamcolours_[it_player->second]);
    174174                    }
  • code/branches/pch/src/orxonox/objects/quest/AddReward.cc

    r3182 r3183  
    3636#include "core/CoreIncludes.h"
    3737#include "core/XMLPort.h"
    38 #include "Rewardable.h"
     38#include "interfaces/Rewardable.h"
    3939
    4040namespace orxonox
  • code/branches/pch/src/orxonox/objects/worldentities/Billboard.h

    r3177 r3183  
    3434#include "util/Math.h"
    3535#include "tools/BillboardSet.h"
    36 #include "interfaces/Teamcolourable.h"
     36#include "interfaces/TeamColourable.h"
    3737
    3838namespace orxonox
    3939{
    40     class _OrxonoxExport Billboard : public StaticEntity, public Teamcolourable
     40    class _OrxonoxExport Billboard : public StaticEntity, public TeamColourable
    4141    {
    4242        public:
  • code/branches/pch/src/orxonox/objects/worldentities/Light.h

    r3177 r3183  
    3737
    3838#include "util/Math.h"
    39 #include "interfaces/Teamcolourable.h"
     39#include "interfaces/TeamColourable.h"
    4040
    4141namespace orxonox
    4242{
    43     class _OrxonoxExport Light : public StaticEntity, public Teamcolourable
     43    class _OrxonoxExport Light : public StaticEntity, public TeamColourable
    4444    {
    4545        public:
  • code/branches/pch/src/orxonox/objects/worldentities/pawns/TeamBaseMatchBase.cc

    r3177 r3183  
    3131#include "core/CoreIncludes.h"
    3232#include "objects/gametypes/TeamBaseMatch.h"
    33 #include "interfaces/Teamcolourable.h"
     33#include "interfaces/TeamColourable.h"
    3434#include "interfaces/PawnListener.h"
    3535
     
    8181        for (std::set<WorldEntity*>::iterator it = attachments.begin(); it != attachments.end(); ++it)
    8282        {
    83             if ((*it)->isA(Class(Teamcolourable)))
     83            if ((*it)->isA(Class(TeamColourable)))
    8484            {
    85                 Teamcolourable* tc = dynamic_cast<Teamcolourable*>(*it);
     85                TeamColourable* tc = dynamic_cast<TeamColourable*>(*it);
    8686                tc->setTeamColour(colour);
    8787            }
Note: See TracChangeset for help on using the changeset viewer.