mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 22:15:32 +00:00
new displays for referencable table columns
This commit is contained in:
parent
09d3c7a446
commit
6662560cbc
1 changed files with 7 additions and 7 deletions
|
@ -59,7 +59,7 @@ CSMWorld::RefIdCollection::RefIdCollection()
|
||||||
|
|
||||||
mColumns.push_back (RefIdColumn (Columns::ColumnId_Name, ColumnBase::Display_String));
|
mColumns.push_back (RefIdColumn (Columns::ColumnId_Name, ColumnBase::Display_String));
|
||||||
nameColumns.mName = &mColumns.back();
|
nameColumns.mName = &mColumns.back();
|
||||||
mColumns.push_back (RefIdColumn (Columns::ColumnId_Script, ColumnBase::Display_String));
|
mColumns.push_back (RefIdColumn (Columns::ColumnId_Script, ColumnBase::Display_Script));
|
||||||
nameColumns.mScript = &mColumns.back();
|
nameColumns.mScript = &mColumns.back();
|
||||||
|
|
||||||
InventoryColumns inventoryColumns (nameColumns);
|
InventoryColumns inventoryColumns (nameColumns);
|
||||||
|
@ -214,10 +214,10 @@ CSMWorld::RefIdCollection::RefIdCollection()
|
||||||
|
|
||||||
creatureColumns.mFlags.insert (std::make_pair (respawn, ESM::Creature::Respawn));
|
creatureColumns.mFlags.insert (std::make_pair (respawn, ESM::Creature::Respawn));
|
||||||
|
|
||||||
mColumns.push_back (RefIdColumn (Columns::ColumnId_OpenSound, ColumnBase::Display_String));
|
mColumns.push_back (RefIdColumn (Columns::ColumnId_OpenSound, ColumnBase::Display_Sound));
|
||||||
const RefIdColumn *openSound = &mColumns.back();
|
const RefIdColumn *openSound = &mColumns.back();
|
||||||
|
|
||||||
mColumns.push_back (RefIdColumn (Columns::ColumnId_CloseSound, ColumnBase::Display_String));
|
mColumns.push_back (RefIdColumn (Columns::ColumnId_CloseSound, ColumnBase::Display_Sound));
|
||||||
const RefIdColumn *closeSound = &mColumns.back();
|
const RefIdColumn *closeSound = &mColumns.back();
|
||||||
|
|
||||||
LightColumns lightColumns (inventoryColumns);
|
LightColumns lightColumns (inventoryColumns);
|
||||||
|
@ -231,7 +231,7 @@ CSMWorld::RefIdCollection::RefIdCollection()
|
||||||
mColumns.push_back (RefIdColumn (Columns::ColumnId_Colour, ColumnBase::Display_Integer));
|
mColumns.push_back (RefIdColumn (Columns::ColumnId_Colour, ColumnBase::Display_Integer));
|
||||||
lightColumns.mColor = &mColumns.back();
|
lightColumns.mColor = &mColumns.back();
|
||||||
|
|
||||||
mColumns.push_back (RefIdColumn (Columns::ColumnId_Sound, ColumnBase::Display_String));
|
mColumns.push_back (RefIdColumn (Columns::ColumnId_Sound, ColumnBase::Display_Sound));
|
||||||
lightColumns.mSound = &mColumns.back();
|
lightColumns.mSound = &mColumns.back();
|
||||||
|
|
||||||
static const struct
|
static const struct
|
||||||
|
@ -263,13 +263,13 @@ CSMWorld::RefIdCollection::RefIdCollection()
|
||||||
|
|
||||||
NpcColumns npcColumns (actorsColumns);
|
NpcColumns npcColumns (actorsColumns);
|
||||||
|
|
||||||
mColumns.push_back (RefIdColumn (Columns::ColumnId_Race, ColumnBase::Display_String));
|
mColumns.push_back (RefIdColumn (Columns::ColumnId_Race, ColumnBase::Display_Race));
|
||||||
npcColumns.mRace = &mColumns.back();
|
npcColumns.mRace = &mColumns.back();
|
||||||
|
|
||||||
mColumns.push_back (RefIdColumn (Columns::ColumnId_Class, ColumnBase::Display_String));
|
mColumns.push_back (RefIdColumn (Columns::ColumnId_Class, ColumnBase::Display_Class));
|
||||||
npcColumns.mClass = &mColumns.back();
|
npcColumns.mClass = &mColumns.back();
|
||||||
|
|
||||||
mColumns.push_back (RefIdColumn (Columns::ColumnId_Faction, ColumnBase::Display_String));
|
mColumns.push_back (RefIdColumn (Columns::ColumnId_Faction, ColumnBase::Display_Faction));
|
||||||
npcColumns.mFaction = &mColumns.back();
|
npcColumns.mFaction = &mColumns.back();
|
||||||
|
|
||||||
mColumns.push_back (RefIdColumn (Columns::Columnid_Hair, ColumnBase::Display_String));
|
mColumns.push_back (RefIdColumn (Columns::Columnid_Hair, ColumnBase::Display_String));
|
||||||
|
|
Loading…
Reference in a new issue