OSDN Git Service

Delete a constructor in GameElement class.
authorDeskull <desull@users.sourceforge.jp>
Mon, 2 Jun 2014 11:33:28 +0000 (20:33 +0900)
committerDeskull <desull@users.sourceforge.jp>
Mon, 2 Jun 2014 11:33:28 +0000 (20:33 +0900)
20 files changed:
Deeangband/Building.cpp
Deeangband/Camp.cpp
Deeangband/Creature.cpp
Deeangband/CreatureTemplate.cpp
Deeangband/Door.cpp
Deeangband/Dungeon.cpp
Deeangband/Effect.cpp
Deeangband/Feature.cpp
Deeangband/Floor.cpp
Deeangband/GameCampaign.cpp
Deeangband/GameElement.cpp
Deeangband/GameElement.h
Deeangband/ItemTemplate.cpp
Deeangband/ItemTrait.cpp
Deeangband/Quest.cpp
Deeangband/Skill.cpp
Deeangband/Species.cpp
Deeangband/Stair.cpp
Deeangband/Trap.cpp
Deeangband/TrapBase.cpp

index 623a589..8aca2a8 100644 (file)
@@ -12,7 +12,7 @@
 namespace Deeangband
 {
 
-       Building::Building(ID id, TAG tag, GameWorld *gameWorld) : GameElement(id, tag, gameWorld)
+       Building::Building(ID id, TAG tag, GameWorld *gameWorld) : GameElement()
        {
        }
 
index f9b1fc1..b3db84a 100644 (file)
@@ -12,7 +12,7 @@
 namespace Deeangband
 {
 
-       Camp::Camp(ID id, TAG tag, GameWorld *gameWorld) : GameElement(id, tag, gameWorld)
+       Camp::Camp(ID id, TAG tag, GameWorld *gameWorld) : GameElement()
        {
                Camp();
        }
index 2884dfc..65092c4 100644 (file)
@@ -77,13 +77,13 @@ namespace Deeangband
                11100000000, // Lv60\93\9e\92B\83\\83E\83\8b
        };
 
-       Creature::Creature(Species *speciesPtr, ID id, TAG tag, GameWorld *gameWorld) : GameElement(id, tag, gameWorld)
+       Creature::Creature(Species *speciesPtr, ID id, TAG tag, GameWorld *gameWorld) : GameElement()
        {
                SetDammyData();
                SetSpeciesData(speciesPtr);
        }
 
-       Creature::Creature(ID id, TAG tag, GameWorld *gameWorld) : GameElement(id, tag, gameWorld)
+       Creature::Creature(ID id, TAG tag, GameWorld *gameWorld) : GameElement()
        {
                SetDammyData();
        }
index 398902a..fe0d416 100644 (file)
@@ -12,7 +12,7 @@
 namespace Deeangband
 {
 
-       CreatureTemplate::CreatureTemplate(ID id, TAG tag, GameWorld *gameWorld) : GameElement(id, tag, gameWorld)
+       CreatureTemplate::CreatureTemplate(ID id, TAG tag, GameWorld *gameWorld) : GameElement()
        {
                CreatureTemplate();
                return;
index 1ee8a8a..6dfbf23 100644 (file)
@@ -12,7 +12,7 @@
 namespace Deeangband
 {
 
-Door::Door(ID id, TAG tag, GameWorld *gameWorld) : GameElement(id, tag, gameWorld)
+Door::Door(ID id, TAG tag, GameWorld *gameWorld) : GameElement()
 {
        return;
 }
index ba1f4c5..5e5a4c2 100644 (file)
@@ -12,7 +12,7 @@
 namespace Deeangband
 {
 
-       Dungeon::Dungeon(ID id, TAG tag, GameWorld *gameWorld) : GameElement(id, tag, gameWorld)
+       Dungeon::Dungeon(ID id, TAG tag, GameWorld *gameWorld) : GameElement()
        {
                this->baseSize.Set(80, 80);
                this->name = SPECIAL_NAME_UNKNOWN;
index 69762c2..df81105 100644 (file)
@@ -12,7 +12,7 @@
 namespace Deeangband
 {
 
-       Effect::Effect(ID id, TAG tag, GameWorld *gameWorld) : GameElement(id, tag, gameWorld)
+       Effect::Effect(ID id, TAG tag, GameWorld *gameWorld) : GameElement()
        {
        }
 
index 8024158..1d75341 100644 (file)
@@ -12,7 +12,7 @@
 namespace Deeangband
 {
 
-       Feature::Feature(ID id, TAG tag, GameWorld *gameWorld) : GameElement(id, tag, gameWorld)
+       Feature::Feature(ID id, TAG tag, GameWorld *gameWorld) : GameElement()
        {
                SetDammyData();
        }
index 041ac45..2ef991a 100644 (file)
@@ -12,7 +12,7 @@
 namespace Deeangband
 {
 
-       Floor::Floor(ID id, TAG tag, GameWorld *gameWorld) : GameElement(id, tag, gameWorld)
+       Floor::Floor(ID id, TAG tag, GameWorld *gameWorld) : GameElement()
        {
                int x, y;
                this->width = 50;
@@ -33,7 +33,7 @@ namespace Deeangband
                items.resize(0);
        }
 
-       Floor::Floor(ID id, TAG tag, GameWorld *gameWorld, Dungeon *dungeonPtr, DEPTH depth) : GameElement(id, tag, gameWorld)
+       Floor::Floor(ID id, TAG tag, GameWorld *gameWorld, Dungeon *dungeonPtr, DEPTH depth)
        {
                int x, y;
                this->width = dungeonPtr->GetBaseSize().GetX();
index 3ab4489..a8f916f 100644 (file)
@@ -12,7 +12,7 @@
 namespace Deeangband
 {
 
-       GameCampaign::GameCampaign(ID id, TAG tag, GameWorld *gameWorld) : GameElement(id, tag, gameWorld)
+       GameCampaign::GameCampaign(ID id, TAG tag, GameWorld *gameWorld) : GameElement()
        {
        }
 
index d31b14e..cfa60f8 100644 (file)
 
 namespace Deeangband
 {
-
-       GameElement::GameElement(ID id, TAG tag)
-       {
-               this->name = "";
-               this->description = "";
-       }
-
-       GameElement::GameElement(ID id, TAG tag, GameWorld *gameWorld)
+       GameElement::GameElement(void)
        {
                this->name = "";
                this->description = "";
-               (void)gameWorld;
-       }
-
-       GameElement::GameElement(void)
-       {
                return;
        }
 
index 100f6db..3a0df6a 100644 (file)
@@ -45,21 +45,6 @@ namespace Deeangband
 
                /*! 
                * @brief GameElement\83N\83\89\83X\83R\83\93\83X\83g\83\89\83N\83^
-               * @param id \97v\91f\82ÌID
-               * @param tag \97v\91f\82Ì\83^\83O
-               */
-               GameElement::GameElement(ID id, TAG tag);
-
-               /*! 
-               * @brief GameElement\83N\83\89\83X\83R\83\93\83X\83g\83\89\83N\83^
-               * @param id \97v\91f\82ÌID
-               * @param tag \97v\91f\82Ì\83^\83O
-               * @param gameWorld \8f\8a\91®\8c³gameWorld\8eQ\8fÆ\83|\83C\83\93\83^
-               */
-               GameElement::GameElement(ID id, TAG tag, GameWorld *gameWorld); 
-
-               /*! 
-               * @brief GameElement\83N\83\89\83X\83R\83\93\83X\83g\83\89\83N\83^
                */
                GameElement::GameElement(void); 
 
index b3bf34b..139c616 100644 (file)
@@ -12,7 +12,7 @@
 namespace Deeangband
 {
 
-       ItemTemplate::ItemTemplate(ID id, TAG tag, GameWorld *gameWorld) : GameElement(id, tag, gameWorld)
+       ItemTemplate::ItemTemplate(ID id, TAG tag, GameWorld *gameWorld) : GameElement()
        {
                this->SetDammyData();
        }
index 59df1fe..eaedd6f 100644 (file)
@@ -12,7 +12,7 @@
 namespace Deeangband
 {
 
-       ItemTrait::ItemTrait(ID id, TAG tag, GameWorld *gameWorld) : GameElement(id, tag, gameWorld)
+       ItemTrait::ItemTrait(ID id, TAG tag, GameWorld *gameWorld) : GameElement()
        {
        }
 
index 69bd4d0..e56dc04 100644 (file)
@@ -12,7 +12,7 @@
 namespace Deeangband
 {
 
-       Quest::Quest(ID id, TAG tag, GameWorld *gameWorld) : GameElement(id, tag, gameWorld)
+       Quest::Quest(ID id, TAG tag, GameWorld *gameWorld) : GameElement()
        {
                return;
        }
index 82e610f..3818563 100644 (file)
@@ -12,7 +12,7 @@
 namespace Deeangband
 {
 
-       Skill::Skill(ID id, TAG tag, GameWorld *gameWorld) : GameElement(id, tag, gameWorld)
+       Skill::Skill(ID id, TAG tag, GameWorld *gameWorld) : GameElement()
        {
                this->SetDammyData();
        }
index 0259fab..6c28e89 100644 (file)
@@ -12,7 +12,7 @@
 namespace Deeangband
 {
 
-       Species::Species(ID id, TAG tag, GameWorld *gameWorld) : GameElement(id, tag, gameWorld)
+       Species::Species(ID id, TAG tag, GameWorld *gameWorld) : GameElement()
        {
                Species();
                return;
index da210a8..a99144e 100644 (file)
@@ -12,7 +12,7 @@
 namespace Deeangband
 {
 
-       Stair::Stair(ID id, TAG tag, GameWorld *gameWorld) : GameElement(id, tag, gameWorld)
+       Stair::Stair(ID id, TAG tag, GameWorld *gameWorld) : GameElement()
        {
                return;
        }
index 3f22033..da1314d 100644 (file)
@@ -12,7 +12,7 @@
 namespace Deeangband
 {
 
-       Trap::Trap(ID id, TAG tag, GameWorld *gameWorld) : GameElement(id, tag, gameWorld)
+       Trap::Trap(ID id, TAG tag, GameWorld *gameWorld) : GameElement()
        {
                return;
        }
index 561e1da..4b7fc7a 100644 (file)
@@ -12,7 +12,7 @@
 namespace Deeangband
 {
 
-       TrapBase::TrapBase(ID id, TAG tag, GameWorld *gameWorld) : GameElement(id, tag, gameWorld)
+       TrapBase::TrapBase(ID id, TAG tag, GameWorld *gameWorld) : GameElement()
        {
                this->name = "\83_\83~\81[";
                return;