void Dungeon::WipeData(void)
{
this->baseSize.Set(80, 80);
- this->name = "";
+ this->name = "VANILLA_WOMB";
this->minDepth = 1;
this->maxDepth = 50;
this->outerWallFloor = SPECIAL_TAG_UNKNOWN;
this->fieldID = 0;
this->gameTime = 0;
+ std::shared_ptr<Dungeon> dungeon_ = std::make_shared<Dungeon>();
+
+ dungeonList["VANILLA_WOMB"] = dungeon_;
+
+ speciesList["VANILLA_STIGMATIC"] = std::make_shared<Species>();
+ speciesList["VANILLA_RAVING_LUNATIC"] = std::make_shared<Species>();
}
void GameWorld::Initialize(void)
{
+ //\8f\89\8aú\89»
+
+
int i;
std::map<ID, std::shared_ptr<Field>>::iterator fieldIt;
std::map<TAG, std::shared_ptr<Species>>::iterator speciesIt;
fieldList.emplace(0, std::make_shared<Field>(dungeonList.find("VANILLA_WOMB"), 1));
fieldIt = fieldList.find(0);
+ Species *vanilla_stigmatic = new Species();
+
speciesIt = speciesList.find("VANILLA_STIGMATIC");
GameWorld::GenerateCreature(speciesIt, fieldIt, 10, 10);
speciesIt = speciesList.find("VANILLA_RAVING_LUNATIC");
GameWorld::GenerateCreature(speciesIt, fieldIt, 5, 5);
+
for(i = 0; i < MAX_KARMAS; i++)
{
karmaList.emplace("VANILLA_", std::make_shared<Karma>());
}
-}
\ No newline at end of file
+}