Commit Graph

125 Commits (fa3baac0f33aac3a066b3df4360ca2a9a02f27df)

Author SHA1 Message Date
Ewan Higgs 38a2de3c51 convert std::autor_ptr to std::unique_ptr, originally by Ewan Higgs and updated by Bret Curtis 7 years ago
MAtahualpa affc0eb37f Replace "Female" check box with a combo box, part 1/2 (fixes #3756)
Replaces the "Female" check box in NPC records with a "Gender" combo box. This is the first of two related fixes, the second one covering BodyPart records.

Related issue:
- Fixes #3756: Editor: Replace "Female" check box in NPC records with "Gender" combo box (https://bugs.openmw.org/issues/3756)

Tests:
The changes were successfully tested in OpenMW-CS by manipulating several NPC records.
7 years ago
MAtahualpa dab8b328c4 Replace light emitter check boxes with a combo box (fixes #3752)
Replaces the four emitter check boxes in Light records with an "Emitter Type" combo box.

Related issue:
- Fixes #3752: Editor: Replace emitter check boxes in Light records with "Emitter Type" combo box (https://bugs.openmw.org/issues/3752)

Tests:
The changes were successfully tested in OpenMW-CS by manipulating several Light records. Please note that this fix also prevents users from erroneously assigning two or more emitter types at the same time. (I don't know which one would prevail in that case.)
7 years ago
MAtahualpa d4972ab166 Replace "Xyz blood" check boxes with a combo box (fixes #3751)
Replaces the two "Xyz blood" check boxes in NPC and Creature records with a "Blood Type" combo box.

Related issue:
- Fixes #3751: OpenMW-CS: Replace "Xyz Blood" check boxes in NPC and Creature records with "Blood Type" combo box (https://bugs.openmw.org/issues/3751)

Tests:
The changes were successfully tested in OpenMW-CS by manipulating several NPC and Creature records. Please note that this fix also prevents users from erroneously assigning two blood types at the same time. (I don't know which one would prevail in that case.)
7 years ago
MAtahualpa 607bd8b853 Replace "Scroll" check box with a combo box (fixes #3748)
Replaces the "Scroll" check box in Book records with a "Book Type" combo box.

Related issue:
- Fixes #3748: OpenMW-CS: Replace "Scroll" check box in Book records with "Book Type" combo box. (https://bugs.openmw.org/issues/3748)

Tests:
The changes were successfully tested in OpenMW-CS by manipulating several Book records. Please note that the actual logic behind this entry is not implemented yet: Books which are of type "Scroll" can have an enchantment attached, normal books ("Book") cannot.
7 years ago
MAtahualpa 6587880171 Update refidcollection.cpp
Makes Book records display skill IDs instead of attribute IDs for teached skills.
Related issue:
- Bug #3746: OpenMW-CS: Book records show attribute IDs instead of skill IDs for teached skills entry.
7 years ago
Marc Zinnschlag 827c78a4cd added text column to ref id table (books) 8 years ago
scrawl b8e11cf197 Merge commit 'pull/upstream/678' into HEAD
Conflicts:
	apps/esmtool/record.cpp
	apps/opencs/model/doc/savingstages.cpp
	apps/opencs/model/world/land.cpp
	apps/opencs/model/world/land.hpp
	apps/opencs/model/world/landtexture.cpp
	apps/openmw/mwworld/store.cpp
	components/esm/loadland.cpp
	components/esm/loadland.hpp
9 years ago
cc9cii 972193c7eb Fix issue where mandatory effects field was allowed to be empty (and vice versa) 9 years ago
cc9cii 9f0e059a15 Fix editing ingredient effects sub-table. Should resolve bug #2978. 9 years ago
cc9cii 3bbcf6a916 Fix AiWander sub-table editing. Should resolve bugs #2888 and #2930. 9 years ago
cc9cii 998348e606 Further rationalise the use of ColumnIds
- Address Zini's review comments as per https://github.com/OpenMW/openmw/pull/755
9 years ago
cc9cii 45aee1b508 Remove AI flag from the UI and instead auto-detect whether to save AIDT records. Should resolve bug #2879. 9 years ago
cc9cii 5a5e1a3b22 Add missing fields for editing creatures.
- Should resolve resolve bugs #2878 (level), #2901 (gold) and #2889 (health).
- Moved Soul, Combat, Magic and Stealth editing to dialogue only (to be consistent with editing NPCs)
9 years ago
cc9cii c4a900ca2c Rationalise the use of ColumnIds 9 years ago
Marc Zinnschlag a445683312 Merge branch 'mergetool'
Conflicts:
	apps/opencs/CMakeLists.txt
	apps/opencs/model/tools/tools.cpp
9 years ago
Marc Zinnschlag f95950e8d8 merge referenceables table 9 years ago
scrawl d1e1c0f38b Editor: fix a typo in ESM::Light flag mappings 9 years ago
scrawl e36ebc77d5 Editor: remove creature flag of unknown purpose from the UI 9 years ago
scrawl c07ced4c8f Editor: fix magic effect magnitudes incorrectly labelled as Min/Max Range 9 years ago
taras.kudryavtsev 8ae7c63c45 #2730 and #2725 9 years ago
Stanislav Bas 42f9136141 Remove DELE and NAME handling from RefIdCollection and RefIdData 9 years ago
Stanislav Bas 4e759370de Change Display_String to the proper display type where appropriate 9 years ago
cc9cii ec808843c3 Do not rebuild the dialogue subview unless required. Should resolve Bug #2581.
The loss of focus was caused by each text change (i.e. character entry) to a QPlainTextEdit resulting in dataChanged() signal which in turn rebuilt the dialogue subview.  Changes in this commit include:

- Do not send signal to update entire row if only a single item has changed.
- Do not rebuild the dialogue subview unless the data item that triggers a conditional display is changed.
- Add column flags to indicate whether the data in this column should rebuild the dialogue subview.
- Return the correct flags for nested columns
- Disable, rather than grey out, checkbox that does not apply to creature levelled list
9 years ago
cc9cii 7494340b66 Add the remaining NPC data for editing with dialogue subview. Should resolve Bug #2547. 9 years ago
cc9cii b04aeb6aad Fixed levelled lists flags - now bit masks represented by tick boxes in the dialogue subview. 9 years ago
cc9cii 18162557b0 TopicInfos result script are now displayed in dialogue subviews. 9 years ago
cc9cii f88be67556 Convert AI package type and AI wander repeat columns in the nested tables to use enum delegate 9 years ago
cc9cii e241fb0104 Convert clothing/armour part reference type column in the nested tables to use enum delegates. 9 years ago
cc9cii e00d7f72ac Convert magic effects ID and Range columns in the nested tables to use enum delegate 9 years ago
cc9cii befd6fe658 Convert magic effects Skills column in the nested tables to use enum delegates. 9 years ago
cc9cii d6c2cff381 Convert magic effects Attribute column in the nested tables to use enum delegates. 9 years ago
cc9cii c41b4b84a6 Cleanup post merge. 9 years ago
cc9cii 47d5eac290 Merge branch 'master' into NonTableFields
Conflicts:
	apps/opencs/model/world/columnbase.cpp
	apps/opencs/model/world/columnbase.hpp
	apps/opencs/model/world/idtable.hpp
9 years ago
cc9cii 32e73c3deb Add creature/item levelled lists (non table items) to dialogue subview. 9 years ago
cc9cii 1c7ed795c2 Add creature/item levelled lists to dialogue subview. 9 years ago
cc9cii 513c3a47cb Add clothing/armor part reference table to dialogue subview. 9 years ago
cc9cii 526b53fce0 Add AI packages table to dialogue subview. Also minor bug fixes. 9 years ago
cc9cii 60e5ff8811 Remove duplicated checks and exceptions. 9 years ago
cc9cii a976dca27b Changed over the remaining RefId adapters. Fixed issue where map entries were overwriting the same key... 9 years ago
cc9cii 7ccf53e750 Changed over inventory adapters. Fixed a few places where modified records were not set properly. 9 years ago
cc9cii 25261a60e5 Add potion magic effects table to dialogue subview. Integration of the adapters to RefIdCollection is incomplete. 9 years ago
cc9cii f939648736 Add race spells table to dialogue subview. 9 years ago
cc9cii 1220369da3 Changes as per feedback comments. 9 years ago
cc9cii bdf0d8db22 Re-organise the inheritance structure once more in preparation for adding Pathgrid tables. 9 years ago
Marc Zinnschlag 3b408b6427 sorting out some Display enum mixup 9 years ago
cc9cii 83bcc8d451 Reorganised class inheritance structure of collections, columns and idtable model. 9 years ago
cc9cii 29ef08bb75 Spelling and other consistencies nit pick. 9 years ago
cc9cii 5eefcd862f Merge branch 'master' into NonTableFields
Conflicts:
	apps/opencs/model/tools/tools.cpp
	apps/opencs/model/world/columnbase.cpp
	apps/opencs/model/world/commands.cpp
	apps/opencs/model/world/commands.hpp
	apps/opencs/model/world/idtable.hpp
	apps/opencs/model/world/refidadapter.cpp
	apps/opencs/model/world/refidadapter.hpp
	apps/opencs/view/world/dialoguesubview.hpp
9 years ago
cc9cii 43ec933b7b Revert to the original clone() method. Create a new copy method for modified records. 9 years ago