|
|
|
@ -141,7 +141,8 @@ CSMWorld::Data::Data (ToUTF8::FromType encoding, const ResourcesManager& resourc
|
|
|
|
|
index = mRaces.getColumns()-1;
|
|
|
|
|
mRaces.addAdapter (std::make_pair(&mRaces.getColumn(index), new RaceAttributeAdapter()));
|
|
|
|
|
mRaces.getNestableColumn(index)->addColumn(
|
|
|
|
|
new NestedChildColumn (Columns::ColumnId_RaceAttributes, ColumnBase::Display_String, false));
|
|
|
|
|
new NestedChildColumn (Columns::ColumnId_RaceAttributes, ColumnBase::Display_String,
|
|
|
|
|
ColumnBase::Flag_Dialogue, false));
|
|
|
|
|
mRaces.getNestableColumn(index)->addColumn(
|
|
|
|
|
new NestedChildColumn (Columns::ColumnId_RaceMaleValue, ColumnBase::Display_Integer));
|
|
|
|
|
mRaces.getNestableColumn(index)->addColumn(
|
|
|
|
@ -287,8 +288,10 @@ CSMWorld::Data::Data (ToUTF8::FromType encoding, const ResourcesManager& resourc
|
|
|
|
|
mCells.addColumn (new FixedRecordTypeColumn<Cell> (UniversalId::Type_Cell));
|
|
|
|
|
mCells.addColumn (new NameColumn<Cell>);
|
|
|
|
|
mCells.addColumn (new FlagColumn<Cell> (Columns::ColumnId_SleepForbidden, ESM::Cell::NoSleep));
|
|
|
|
|
mCells.addColumn (new FlagColumn<Cell> (Columns::ColumnId_InteriorWater, ESM::Cell::HasWater));
|
|
|
|
|
mCells.addColumn (new FlagColumn<Cell> (Columns::ColumnId_InteriorSky, ESM::Cell::QuasiEx));
|
|
|
|
|
mCells.addColumn (new FlagColumn<Cell> (Columns::ColumnId_InteriorWater, ESM::Cell::HasWater,
|
|
|
|
|
ColumnBase::Flag_Table | ColumnBase::Flag_Dialogue | ColumnBase::Flag_Dialogue_Refresh));
|
|
|
|
|
mCells.addColumn (new FlagColumn<Cell> (Columns::ColumnId_InteriorSky, ESM::Cell::QuasiEx,
|
|
|
|
|
ColumnBase::Flag_Table | ColumnBase::Flag_Dialogue | ColumnBase::Flag_Dialogue_Refresh));
|
|
|
|
|
mCells.addColumn (new RegionColumn<Cell>);
|
|
|
|
|
mCells.addColumn (new RefNumCounterColumn<Cell>);
|
|
|
|
|
// Misc Cell data
|
|
|
|
@ -297,7 +300,8 @@ CSMWorld::Data::Data (ToUTF8::FromType encoding, const ResourcesManager& resourc
|
|
|
|
|
index = mCells.getColumns()-1;
|
|
|
|
|
mCells.addAdapter (std::make_pair(&mCells.getColumn(index), new CellListAdapter ()));
|
|
|
|
|
mCells.getNestableColumn(index)->addColumn(
|
|
|
|
|
new NestedChildColumn (Columns::ColumnId_Interior, ColumnBase::Display_Boolean));
|
|
|
|
|
new NestedChildColumn (Columns::ColumnId_Interior, ColumnBase::Display_Boolean,
|
|
|
|
|
ColumnBase::Flag_Table | ColumnBase::Flag_Dialogue | ColumnBase::Flag_Dialogue_Refresh));
|
|
|
|
|
mCells.getNestableColumn(index)->addColumn(
|
|
|
|
|
new NestedChildColumn (Columns::ColumnId_Ambient, ColumnBase::Display_Integer));
|
|
|
|
|
mCells.getNestableColumn(index)->addColumn(
|
|
|
|
@ -346,7 +350,8 @@ CSMWorld::Data::Data (ToUTF8::FromType encoding, const ResourcesManager& resourc
|
|
|
|
|
mBodyParts.addColumn (new BodyPartTypeColumn<ESM::BodyPart>);
|
|
|
|
|
mBodyParts.addColumn (new VampireColumn<ESM::BodyPart>);
|
|
|
|
|
mBodyParts.addColumn (new FlagColumn<ESM::BodyPart> (Columns::ColumnId_Female, ESM::BodyPart::BPF_Female));
|
|
|
|
|
mBodyParts.addColumn (new FlagColumn<ESM::BodyPart> (Columns::ColumnId_Playable, ESM::BodyPart::BPF_NotPlayable, true));
|
|
|
|
|
mBodyParts.addColumn (new FlagColumn<ESM::BodyPart> (Columns::ColumnId_Playable,
|
|
|
|
|
ESM::BodyPart::BPF_NotPlayable, ColumnBase::Flag_Table | ColumnBase::Flag_Dialogue, true));
|
|
|
|
|
mBodyParts.addColumn (new MeshTypeColumn<ESM::BodyPart>);
|
|
|
|
|
mBodyParts.addColumn (new ModelColumn<ESM::BodyPart>);
|
|
|
|
|
mBodyParts.addColumn (new RaceColumn<ESM::BodyPart>);
|
|
|
|
@ -393,7 +398,8 @@ CSMWorld::Data::Data (ToUTF8::FromType encoding, const ResourcesManager& resourc
|
|
|
|
|
// new objects deleted in dtor of NestableColumn
|
|
|
|
|
// WARNING: The order of the columns below are assumed in PathgridPointListAdapter
|
|
|
|
|
mPathgrids.getNestableColumn(index)->addColumn(
|
|
|
|
|
new NestedChildColumn (Columns::ColumnId_PathgridIndex, ColumnBase::Display_Integer, false));
|
|
|
|
|
new NestedChildColumn (Columns::ColumnId_PathgridIndex, ColumnBase::Display_Integer,
|
|
|
|
|
ColumnBase::Flag_Dialogue, false));
|
|
|
|
|
mPathgrids.getNestableColumn(index)->addColumn(
|
|
|
|
|
new NestedChildColumn (Columns::ColumnId_PathgridPosX, ColumnBase::Display_Integer));
|
|
|
|
|
mPathgrids.getNestableColumn(index)->addColumn(
|
|
|
|
@ -405,7 +411,8 @@ CSMWorld::Data::Data (ToUTF8::FromType encoding, const ResourcesManager& resourc
|
|
|
|
|
index = mPathgrids.getColumns()-1;
|
|
|
|
|
mPathgrids.addAdapter (std::make_pair(&mPathgrids.getColumn(index), new PathgridEdgeListAdapter ()));
|
|
|
|
|
mPathgrids.getNestableColumn(index)->addColumn(
|
|
|
|
|
new NestedChildColumn (Columns::ColumnId_PathgridEdgeIndex, ColumnBase::Display_Integer, false));
|
|
|
|
|
new NestedChildColumn (Columns::ColumnId_PathgridEdgeIndex, ColumnBase::Display_Integer,
|
|
|
|
|
ColumnBase::Flag_Dialogue, false));
|
|
|
|
|
mPathgrids.getNestableColumn(index)->addColumn(
|
|
|
|
|
new NestedChildColumn (Columns::ColumnId_PathgridEdge0, ColumnBase::Display_Integer));
|
|
|
|
|
mPathgrids.getNestableColumn(index)->addColumn(
|
|
|
|
|