cc9cii
b3daa7d956
Fix AiWander sub-table editing. Should resolve bugs #2888 and #2930 .
...
(cherry picked from commit 3bbcf6a916
)
Conflicts:
apps/opencs/model/world/columns.cpp
apps/opencs/model/world/columns.hpp
2015-11-01 22:47:47 +11:00
cc9cii
9cc046ce4e
Further rationalise the use of ColumnIds
...
- Address Zini's review comments as per https://github.com/OpenMW/openmw/pull/755
(cherry picked from commit 998348e606
)
2015-11-01 22:46:18 +11:00
Marc Zinnschlag
69e6328507
fixed local variable caching issue in automatic error checking ( Fixes #2927 )
...
(cherry picked from commit 7bef97bf33
)
2015-11-01 21:36:14 +11:00
scrawl
fcb9068c19
Fix tab indentations in apps/ and components/
...
(cherry picked from commit a47617c21f
)
Conflicts:
apps/openmw/mwinput/inputmanagerimp.cpp
apps/openmw/mwmechanics/aicombat.cpp
apps/openmw/mwphysics/physicssystem.cpp
2015-11-01 21:34:23 +11:00
cc9cii
ae1439f223
Fix typo.
...
(cherry picked from commit 1365b8edd1
)
2015-11-01 21:33:12 +11:00
cc9cii
2f76a1510e
Remove AI flag from the UI and instead auto-detect whether to save AIDT records. Should resolve bug #2879 .
...
(cherry picked from commit 45aee1b508
)
Conflicts:
apps/opencs/model/world/refidadapterimp.hpp
2015-11-01 21:32:34 +11:00
cc9cii
f7eb502493
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)
(cherry picked from commit 5a5e1a3b22
)
Conflicts:
apps/opencs/model/world/columns.cpp
apps/opencs/model/world/columns.hpp
2015-11-01 20:36:24 +11:00
cc9cii
41f2ffdebb
Rationalise the use of ColumnIds
...
(cherry picked from commit c4a900ca2c
)
Conflicts:
apps/opencs/model/world/refidcollection.cpp
2015-11-01 20:28:13 +11:00
cc9cii
496cdcb51b
Ensure ColumnId names are unique. Filter parser calls Columns::getId() which implies that these should be unique.
...
(cherry picked from commit 258b2ba29a
)
2015-11-01 20:14:11 +11:00
Marc Zinnschlag
5031d1fbcb
disable on-demand loading of land data (for now, maybe)
...
(cherry picked from commit 5be176ee85
)
2015-11-01 18:57:18 +11:00
Marc Zinnschlag
453c3ee760
fixed an indexing error
...
(cherry picked from commit 23fde87816
)
2015-11-01 18:57:07 +11:00
Marc Zinnschlag
4aa6d7d1d1
various minor fixes
...
(cherry picked from commit 584a7a66b9
)
2015-11-01 18:56:56 +11:00
Marc Zinnschlag
dcf1f1515a
handle missing land texture records properly during merge
...
(cherry picked from commit 09ec60fe2a
)
2015-11-01 18:56:43 +11:00
Marc Zinnschlag
1784701b47
fixed a texture indexing bug (only affects the editor)
...
(cherry picked from commit 73f6efddcc
)
2015-11-01 18:56:31 +11:00
Marc Zinnschlag
25952369ae
merge land tables
...
(cherry picked from commit a8dc1c1198
)
2015-11-01 18:56:18 +11:00
Marc Zinnschlag
ce34daa64b
removed indirection in OpenMW-CS land record
...
(cherry picked from commit 85f6bb892b
)
Conflicts:
apps/opencs/view/render/cell.cpp
2015-11-01 18:56:07 +11:00
Marc Zinnschlag
c4b34a077e
refactored loading of land data
...
(cherry picked from commit 69b9eadb52
)
Conflicts:
apps/openmw/mwworld/scene.cpp
components/esmterrain/storage.cpp
2015-11-01 18:54:15 +11:00
Marc Zinnschlag
8cb1f4ffe9
additional safety check for land texture listing merge stage
...
(cherry picked from commit 69045d7ec9
)
2015-11-01 13:40:45 +11:00
Marc Zinnschlag
a2d4957d2a
merge land texture tables
...
(cherry picked from commit 890bbb6b11
)
2015-11-01 13:40:21 +11:00
Marc Zinnschlag
e5038cbece
fixed merge stage order; added proper initialisation
...
(cherry picked from commit b7983d08ba
)
2015-11-01 13:40:07 +11:00
Marc Zinnschlag
73ab89bf70
merge references tables
...
(cherry picked from commit a97a632aa7
)
2015-11-01 13:39:56 +11:00
Marc Zinnschlag
62daecadf5
fixed record state issues after merge
...
(cherry picked from commit 845cafd61c
)
2015-11-01 13:39:44 +11:00
Marc Zinnschlag
9230c62884
merge referenceables table
...
(cherry picked from commit f95950e8d8
)
2015-11-01 13:39:30 +11:00
Marc Zinnschlag
81188a3456
silenced a warning
...
(cherry picked from commit 9cf793c0b5
)
Conflicts:
apps/opencs/model/doc/document.cpp
2015-11-01 13:39:18 +11:00
Marc Zinnschlag
72aa998261
simplifying merge stage
...
(cherry picked from commit 40753aa9a3
)
2015-11-01 13:37:41 +11:00
Marc Zinnschlag
e33314ad81
made merge operation more fluent
...
(cherry picked from commit 16dda281ce
)
2015-11-01 13:37:26 +11:00
Marc Zinnschlag
98cac624a9
added info tables and pathgrid table to merge operation
...
(cherry picked from commit 103073150e
)
2015-11-01 13:37:14 +11:00
Marc Zinnschlag
024a5405e0
flag newly merged documents as dirty (triggering an 'are you sure' dialogue when closing without saving first)
...
(cherry picked from commit c92898a5bc
)
Conflicts:
apps/opencs/model/doc/document.cpp
apps/opencs/model/doc/document.hpp
2015-11-01 13:37:01 +11:00
Marc Zinnschlag
973c65bc82
merge id collections
...
(cherry picked from commit 3902513e65
)
2015-11-01 13:35:15 +11:00
Marc Zinnschlag
55dfe48ef7
copy meta data from game file when merging
...
(cherry picked from commit 47dd9505a9
)
Conflicts:
apps/opencs/model/doc/document.cpp
apps/opencs/model/world/data.cpp
2015-11-01 13:34:41 +11:00
Marc Zinnschlag
3eef192e4d
create merged document and open a view for it (document is still empty at this point)
...
(cherry picked from commit 1b663f01af
)
Conflicts:
apps/opencs/CMakeLists.txt
apps/opencs/model/doc/documentmanager.cpp
2015-11-01 13:31:28 +11:00
Marc Zinnschlag
0b8e04d6a8
forgot to connect merge operation signals
...
(cherry picked from commit d8655f2ff8
)
2015-11-01 13:25:59 +11:00
Marc Zinnschlag
e4381c3ec8
added merge operation (doesn't do anything yet)
...
(cherry picked from commit 904ad94952
)
Conflicts:
apps/opencs/CMakeLists.txt
apps/opencs/model/tools/tools.cpp
2015-11-01 13:25:34 +11:00
Marc Zinnschlag
ef1e01639e
added UI for merge tool (merge tool itself is still missing)
...
(cherry picked from commit b83f9445a9
)
Conflicts:
apps/opencs/editor.cpp
apps/opencs/editor.hpp
2015-11-01 13:22:42 +11:00
Marc Zinnschlag
6fb658daa4
replaced State_Compiling (not requried anymore) with State_Merging
...
(cherry picked from commit 6a9218ee07
)
2015-11-01 13:19:56 +11:00
Stanislav Bas
ca14d6a8a8
Add missing includes to columnimp.hpp
2015-09-08 06:48:04 +10:00
Stanislav Bas
859ba93739
Inform about State change (not a whole row) when modifying a table value
2015-09-08 06:47:50 +10:00
Stanislav Bas
b53a77389b
Show race only when mesh type is Skin (in BodyParts table)
2015-09-08 06:47:34 +10:00
Stanislav Bas
3a41fe5024
Convert AiWanderRepeat to bool in ActorAiRefIdAdapter::getNestedData()
2015-09-08 06:46:32 +10:00
Stanislav Bas
8c07d7f252
Remove enum names for AiWanderRepeat column
2015-09-08 06:46:10 +10:00
Stanislav Bas
214f3e5b9b
ModifyCommand uses a proper name of a modified nested value
2015-09-08 06:45:58 +10:00
scrawl
402f1ff5d8
Fix the ESM::LandTexture NAME being discarded on loading
2015-09-08 06:42:45 +10:00
scrawl
d1601feb39
Adjust OpenCS saving stages order to stop vanilla MW complaining about missing records
2015-09-08 06:42:34 +10:00
scrawl
f8f66bffb0
Remove empty line at the beginning of files
...
git ls-files -z | xargs -0 sed -i '1{/^$/d}'
2015-09-08 06:40:06 +10:00
scrawl
dae2588c88
Editor: fix a typo in ESM::Light flag mappings
2015-09-08 06:37:31 +10:00
scrawl
1d2f4c8cfe
Editor: remove creature flag of unknown purpose from the UI
2015-09-08 06:35:58 +10:00
scrawl
34561379bc
Editor: fix magic effect magnitudes incorrectly labelled as Min/Max Range
...
Conflicts:
apps/opencs/model/world/columns.hpp
2015-09-08 06:34:56 +10:00
cc9cii
2f372a79b9
Remove additional instance of Display_YesNo (in cc9cii branch but not in master)
2015-09-08 06:31:38 +10:00
taras.kudryavtsev
0f2ea57648
#2730 and #2725
...
Conflicts:
apps/opencs/view/world/dialoguesubview.cpp
2015-09-08 06:29:25 +10:00
Stanislav Bas
f0982c87ba
Remove check for an empty Particle from Magic effects verifier
2015-09-08 06:20:59 +10:00
Stanislav Bas
ef02bc657f
Add magic effect verifier
2015-09-08 06:20:25 +10:00
Stanislav Bas
bc48ed94bc
Correct comparison of enum values in IdTableProxyModel
2015-09-08 05:56:37 +10:00
Stanislav Bas
bba3d6bec5
Restore Modified status of a record when adding/removing nested rows
2015-09-08 05:45:17 +10:00
Stanislav Bas
4366bdb4a8
Inform about Modified status change when modifying a value of a model
2015-09-08 05:44:58 +10:00
Stanislav Bas
ec98a1220f
Proper index for Modified column in ModifyCommand
2015-09-08 05:44:35 +10:00
cc9cii
5538f822f4
Initial support for Land and LandTexture tables. Updates Features #936 and #933 .
2015-08-01 07:50:56 +10:00
cc9cii
870bb491af
Fix for issue #6 ( https://github.com/cc9cii/openmw/issues/6 ) where dialogue subview for editing an NPC fails with an "invalid ID" exception.
...
* NPC autocalc code was looking for non-existent values of race and class, this is now validated first.
* Also took the opportunity to grey out the spells table when auto-calculated. The template specialisation is a bit ugly, though.
2015-07-31 09:05:26 +10:00
Stanislav Bas
34d8e5dba5
Rewording of the user setting for extended configuration
2015-07-30 09:32:58 +10:00
Stanislav Bas
832e910b6f
Add the user setting for enabling the configuration of extended commands
2015-07-30 09:24:45 +10:00
Stanislav Bas
3280aade39
Don't inform about a nested row addition in proxy models for top-level tables
2015-07-30 09:14:03 +10:00
Stanislav Bas
9461baa2ea
Inform about a row addition after re-sorting in InfoTableProxyModel
2015-07-30 08:14:36 +10:00
Stanislav Bas
f24b293c13
Create a custom signal to inform about a row addition in IdTableProxyModel
2015-07-30 08:14:20 +10:00
scrawl
6c8862e542
Fix a typo
2015-07-27 17:39:23 +10:00
Stanislav Bas
77d5476d46
Proper index creation for nested data
2015-07-27 15:24:01 +10:00
Stanislav Bas
1041c3babb
IdTableProxyModel refreshes the filter when the source model data or rows changed
2015-07-27 15:23:31 +10:00
Stanislav Bas
ca67e4ea3a
Proper sorting of columns with enum values
2015-07-27 15:23:30 +10:00
Marc Zinnschlag
1d722fcdbc
incorrect sBribe GMSTs for new omwgame files ( Fixes #2785 )
2015-07-27 15:21:04 +10:00
Marc Zinnschlag
25bb2983e2
make compilation delay configurable via a user setting
2015-07-27 15:20:38 +10:00
Marc Zinnschlag
092204bd82
refactored mapping from message severity enum to string
2015-07-27 15:20:24 +10:00
Marc Zinnschlag
ab0b5932f7
added user settings option to toggle toolbars in single-record subviews
...
Conflicts:
apps/opencs/view/world/dialoguesubview.cpp
2015-07-27 15:15:05 +10:00
Marc Zinnschlag
05ed8ada11
renaming a few user settings categories
2015-07-27 15:13:51 +10:00
Stanislav Bas
fb395e4dc9
Count of nested columns can be retrieved for a collection with no records
2015-07-27 14:25:02 +10:00
Stanislav Bas
8bf1b66ca2
Add the RecordType column to the MetaData table
2015-07-27 13:42:08 +10:00
Stanislav Bas
0420f21462
Add the ability to add nested values to the Create command
2015-07-27 13:11:07 +10:00
Stanislav Bas
5602992b86
Add the ability to search a nested column index
...
Conflicts:
apps/opencs/model/world/idtree.cpp
apps/opencs/model/world/idtree.hpp
2015-07-27 13:10:52 +10:00
cc9cii
740c8bc6f1
Merge branch 'master' into cc9cii
...
Conflicts:
apps/opencs/model/settings/usersettings.cpp
apps/opencs/view/world/dialoguesubview.cpp
2015-07-27 10:53:39 +10:00
Marc Zinnschlag
e27a75bd10
added user setting for cyclic prev/next
2015-06-27 15:56:41 +02:00
cc9cii
e4c6ac22ea
Merge branch 'cc9cii' into npc-autocalc
2015-06-27 09:25:20 +10:00
cc9cii
2612a91f8d
Merge branch 'master' into autocalc
...
Conflicts:
apps/opencs/CMakeLists.txt
apps/opencs/model/world/columns.cpp
apps/opencs/model/world/columns.hpp
apps/opencs/model/world/data.hpp
apps/opencs/view/world/dialoguesubview.cpp
2015-06-27 07:46:36 +10:00
Marc Zinnschlag
6d5823e8aa
killed some tabs
2015-06-26 18:54:49 +02:00
Marc Zinnschlag
fdf6645dbc
Merge remote-tracking branch 'smbas/fix-info-tables'
2015-06-26 18:47:16 +02:00
Marc Zinnschlag
2dada1a162
Merge branch 'meta'
2015-06-26 18:37:39 +02:00
Marc Zinnschlag
4487bda702
size limits for meta data strings
2015-06-26 18:19:00 +02:00
Marc Zinnschlag
a4c2c75d1f
fixed overwriting of meta data when loading project file
2015-06-26 16:22:06 +02:00
Marc Zinnschlag
1e033fa8fe
added meta data dialogue sub view
2015-06-26 16:11:00 +02:00
Marc Zinnschlag
5a37530c1c
added missing MetaData table UniversalId type
2015-06-26 15:17:18 +02:00
Marc Zinnschlag
1870b087e7
ported setting of meta data for saving to the new mechanism
2015-06-26 13:13:22 +02:00
Marc Zinnschlag
f3ff90e1fd
moved meta data into a new single-row table
2015-06-26 13:01:25 +02:00
cc9cii
3e29bb8a86
Fix undo for NPC autocalc changes. Fix the lack of refresh after race powers subtable.
2015-06-26 16:10:50 +10:00
cc9cii
78457a8234
Simplify npc data update and fix data copy when autocal flag changed.
2015-06-26 13:50:09 +10:00
cc9cii
8c39f2b376
Fix dereferencing a null pointer.
2015-06-26 08:52:39 +10:00
cc9cii
273ff1cccb
Address review comments.
2015-06-26 07:48:48 +10:00
Stanislav Bas
ea97b0a20c
Refine InfoTableProxyModel::getFirstInfoRow() code
2015-06-25 20:08:42 +03:00
Stanislav Bas
844e5c504d
Fix conversion to QString
2015-06-25 19:41:26 +03:00
Marc Zinnschlag
8fbc799655
Merge remote-tracking branch 'cc9cii/master'
2015-06-25 14:06:22 +02:00
cc9cii
67b6c86a59
Fix initialisation order - properly this time.
2015-06-25 20:34:27 +10:00
cc9cii
c0f3d70f06
Use the new severity message attribute.
2015-06-25 20:23:43 +10:00
cc9cii
71f3b7ed4f
Fix crash when user preference is missing.
2015-06-25 20:21:51 +10:00
Marc Zinnschlag
6fbdbb11d5
added refrash menu item to report table ( Fixes #2620 )
2015-06-25 12:03:40 +02:00
cc9cii
705253e456
Fix initialisation order.
2015-06-25 19:54:07 +10:00