Ejemplo n.º 1
0
void MWWorld::LocalScripts::addCell (CellStore *cell)
{
    listCellScripts (*this, cell->mActivators, cell);
    listCellScripts (*this, cell->mPotions, cell);
    listCellScripts (*this, cell->mAppas, cell);
    listCellScripts (*this, cell->mArmors, cell);
    listCellScripts (*this, cell->mBooks, cell);
    listCellScripts (*this, cell->mClothes, cell);
    listCellScripts (*this, cell->mContainers, cell);
    listCellScriptsCont (*this, cell->mContainers, cell);
    listCellScripts (*this, cell->mCreatures, cell);
    listCellScriptsCont (*this, cell->mCreatures, cell);
    listCellScripts (*this, cell->mDoors, cell);
    listCellScripts (*this, cell->mIngreds, cell);
    listCellScripts (*this, cell->mLights, cell);
    listCellScripts (*this, cell->mLockpicks, cell);
    listCellScripts (*this, cell->mMiscItems, cell);
    listCellScripts (*this, cell->mNpcs, cell);
    listCellScriptsCont (*this, cell->mNpcs, cell);
    listCellScripts (*this, cell->mProbes, cell);
    listCellScripts (*this, cell->mRepairs, cell);
    listCellScripts (*this, cell->mWeapons, cell);
}
Ejemplo n.º 2
0
 void World::insertInteriorScripts (ESMS::CellStore<RefData>& cell)
 {
     listCellScripts (mStore, cell.activators, mLocalScripts, &cell);
     listCellScripts (mStore, cell.potions, mLocalScripts, &cell);
     listCellScripts (mStore, cell.appas, mLocalScripts, &cell);
     listCellScripts (mStore, cell.armors, mLocalScripts, &cell);
     listCellScripts (mStore, cell.books, mLocalScripts, &cell);
     listCellScripts (mStore, cell.clothes, mLocalScripts, &cell);
     listCellScripts (mStore, cell.containers, mLocalScripts, &cell);
     listCellScripts (mStore, cell.creatures, mLocalScripts, &cell);
     listCellScripts (mStore, cell.doors, mLocalScripts, &cell);
     listCellScripts (mStore, cell.ingreds, mLocalScripts, &cell);
     listCellScripts (mStore, cell.lights, mLocalScripts, &cell);
     listCellScripts (mStore, cell.lockpicks, mLocalScripts, &cell);
     listCellScripts (mStore, cell.miscItems, mLocalScripts, &cell);
     listCellScripts (mStore, cell.npcs, mLocalScripts, &cell);
     listCellScripts (mStore, cell.probes, mLocalScripts, &cell);
     listCellScripts (mStore, cell.repairs, mLocalScripts, &cell);
     listCellScripts (mStore, cell.weapons, mLocalScripts, &cell);
 }
Ejemplo n.º 3
0
void MWWorld::LocalScripts::addCell (CellStore *cell)
{
    listCellScripts (*this, cell->get<ESM::Activator>(), cell);
    listCellScripts (*this, cell->get<ESM::Potion>(), cell);
    listCellScripts (*this, cell->get<ESM::Apparatus>(), cell);
    listCellScripts (*this, cell->get<ESM::Armor>(), cell);
    listCellScripts (*this, cell->get<ESM::Book>(), cell);
    listCellScripts (*this, cell->get<ESM::Clothing>(), cell);
    listCellScripts (*this, cell->get<ESM::Container>(), cell);
    listCellScriptsCont (*this, cell->get<ESM::Container>(), cell);
    listCellScripts (*this, cell->get<ESM::Creature>(), cell);
    listCellScriptsCont (*this, cell->get<ESM::Creature>(), cell);
    listCellScripts (*this, cell->get<ESM::Door>(), cell);
    listCellScripts (*this, cell->get<ESM::Ingredient>(), cell);
    listCellScripts (*this, cell->get<ESM::Light>(), cell);
    listCellScripts (*this, cell->get<ESM::Lockpick>(), cell);
    listCellScripts (*this, cell->get<ESM::Miscellaneous>(), cell);
    listCellScripts (*this, cell->get<ESM::NPC>(), cell);
    listCellScriptsCont (*this, cell->get<ESM::NPC>(), cell);
    listCellScripts (*this, cell->get<ESM::Probe>(), cell);
    listCellScripts (*this, cell->get<ESM::Repair>(), cell);
    listCellScripts (*this, cell->get<ESM::Weapon>(), cell);
}
Ejemplo n.º 4
0
void MWWorld::LocalScripts::addCell (Ptr::CellStore *cell)
{
    listCellScripts (*this, cell->activators, cell);
    listCellScripts (*this, cell->potions, cell);
    listCellScripts (*this, cell->appas, cell);
    listCellScripts (*this, cell->armors, cell);
    listCellScripts (*this, cell->books, cell);
    listCellScripts (*this, cell->clothes, cell);
    listCellScripts (*this, cell->containers, cell);
    listCellScripts (*this, cell->creatures, cell);
    listCellScripts (*this, cell->doors, cell);
    listCellScripts (*this, cell->ingreds, cell);
    listCellScripts (*this, cell->lights, cell);
    listCellScripts (*this, cell->lockpicks, cell);
    listCellScripts (*this, cell->miscItems, cell);
    listCellScripts (*this, cell->npcs, cell);
    listCellScripts (*this, cell->probes, cell);
    listCellScripts (*this, cell->repairs, cell);
    listCellScripts (*this, cell->weapons, cell);
}