Rohit Nirmal
e315a72582
Remove extra semicolons at the end of some lines.
2014-09-06 13:04:52 -05:00
cc9cii
ab8403192c
Fix typo.
2014-09-06 08:00:48 +10:00
Marc Zinnschlag
cf05d3c69f
added run log
2014-09-05 13:49:34 +02:00
cc9cii
fd5f814218
Trivial change from "Musics" to "Music Files"
2014-09-03 20:06:43 +10:00
Marc Zinnschlag
03c0cbc65a
added owner global column to references table ( Fixes #1695 )
2014-08-30 10:13:34 +02:00
Marc Zinnschlag
5c536d571b
added script column to debug profile table (dialogue only)
2014-08-24 13:15:18 +02:00
Marc Zinnschlag
232c6c9ad3
Merge branch 'scriptedit' into run
2014-08-22 13:20:02 +02:00
Marc Zinnschlag
4e521d1aca
fixed resources collection access
2014-08-17 14:21:23 +02:00
Marc Zinnschlag
fd3842d726
added flag columns to debug profile table
2014-08-15 13:22:20 +02:00
Marc Zinnschlag
a5ecf2e9f0
hide record type column in resources tables
2014-08-12 11:32:38 +02:00
Marc Zinnschlag
fa9c6b19c2
removed OpenCS-specific custom Filter record struct (default ESM struct will do from now on)
2014-08-10 21:03:45 +02:00
Marc Zinnschlag
2df1079dd4
removed mScope field from Filter record (redundant now)
2014-08-10 20:49:14 +02:00
Marc Zinnschlag
828536e999
generalised the concept of record scope
2014-08-06 09:53:10 +02:00
Marc Zinnschlag
4d49924025
added debug profile record table
2014-08-04 13:36:01 +02:00
Marek Kochanowicz
40edf15ab0
cleaning up the code
2014-07-31 12:18:24 +02:00
Marek Kochanowicz
c6194e7ea3
inserted additional class for nested collections
2014-07-30 22:08:55 +02:00
Marek Kochanowicz
13ee469b70
saving progress
2014-07-30 17:07:11 +02:00
Marek Kochanowicz
ade27293be
handling destination for guides
2014-07-25 17:11:18 +02:00
Marek Kochanowicz
39545670a8
Added spells table (and it works!)
2014-07-25 12:09:25 +02:00
Marek Kochanowicz
864b93e745
added enums for spells
2014-07-25 11:42:02 +02:00
Marek Kochanowicz
cdac934315
Merge remote-tracking branch 'refs/remotes/master/master' into NonTableFields
...
Conflicts:
apps/opencs/CMakeLists.txt
2014-07-25 11:13:52 +02:00
scrawl
469d2afffa
Merge branch 'master' of https://github.com/OpenMW/openmw
...
Conflicts:
apps/openmw/mwgui/levelupdialog.cpp
2014-07-24 02:33:46 +02:00
scrawl
75366b2e37
Implement CellRef's faction rank (rank requirement to use item)
2014-07-24 02:17:38 +02:00
Marek Kochanowicz
a676f6bc2c
comments added
2014-07-23 20:33:52 +02:00
Marek Kochanowicz
72b129b90e
Code shuffling. Created CastableHelper to store actually usefull
...
function.
2014-07-22 17:44:56 +02:00
Marek Kochanowicz
9defb188ea
handle inventory in the actors
2014-07-22 13:08:32 +02:00
Marek Kochanowicz
24eb034ba3
major refactorisation
2014-07-22 10:27:45 +02:00
Marek Kochanowicz
dcd90faaef
moved add nested to the helper
2014-07-21 14:58:45 +02:00
Marek Kochanowicz
427d6efd19
Moved removeNestedRow responsibility to the helper.
2014-07-21 14:49:47 +02:00
Marek Kochanowicz
c018ca43ac
getting rid of the asserts
2014-07-21 14:44:48 +02:00
Marek Kochanowicz
cb004936e0
moved setNestedData to the helper as well
2014-07-21 14:34:48 +02:00
Marek Kochanowicz
6573e3f319
moved responsibility for getNestedData to the inventory helper
2014-07-21 14:24:54 +02:00
Marek Kochanowicz
c4598d6200
added inventory helper (since npc and containers share same way of
...
handling items)
2014-07-21 14:10:04 +02:00
Marek Kochanowicz
3dd2ca15da
Reduced code duplication through new common base class
2014-07-21 09:52:09 +02:00
Marek Kochanowicz
87eed066c2
undo works now
2014-07-20 22:39:39 +02:00
Marek Kochanowicz
4d79034dbf
correctly handling the nestedTable for undo (but removing and adding
...
rows in proper QT way is still TODO)
2014-07-20 18:52:35 +02:00
Marek Kochanowicz
0017fc68ef
fixed ctor of nestedwrapper (missing initialization of member data field)
2014-07-19 13:08:28 +02:00
Marek Kochanowicz
1ff8abb240
store whole container representing the nested table inside of the
...
command
Static nature of C++ forced me to use templates. Bit frustraiting.
2014-07-18 18:26:22 +02:00
Marek Kochanowicz
16292bf23e
removed useless todo statments.
2014-07-17 13:03:53 +02:00
Marek Kochanowicz
5671a4b8e2
corrected include to follow our standards.
2014-07-17 12:58:14 +02:00
Marek Kochanowicz
6e07568b43
Corrected syntax.
2014-07-17 12:56:51 +02:00
Marek Kochanowicz
ca73ce3fe2
trying to fix indending
2014-07-17 12:41:43 +02:00
Marek Kochanowicz
f0c6ef185e
Nest columns directly, created NestedColumn class and NestColumn.
2014-07-16 13:13:22 +02:00
Marek Kochanowicz
0252d021eb
removed pointless member field
2014-07-13 12:37:05 +02:00
Marek Kochanowicz
4b4a72c3b6
Merge remote-tracking branch 'refs/remotes/master/master' into NonTableFields
2014-07-13 10:52:39 +02:00
Marc Zinnschlag
3333f67830
removed a left-over marker
2014-07-08 12:53:25 +02:00
Marc Zinnschlag
1548f4670a
drop part of resources drag and drop
2014-07-08 09:51:17 +02:00
Marc Zinnschlag
9d5956585c
added separate display type for colours
2014-07-08 09:08:01 +02:00
Marc Zinnschlag
b2ce94f28a
fixed exceptions
2014-07-08 08:56:28 +02:00
Marc Zinnschlag
b2c2342988
some refactoring (removing redundant code)
2014-07-08 08:53:39 +02:00
Marc Zinnschlag
c1bbefb840
enable dragging from resources tables
2014-07-07 15:20:05 +02:00
Marek Kochanowicz
72392ad68c
emit data changed signal when adding and removing the nested row
2014-07-07 12:22:04 +02:00
Marek Kochanowicz
d221486a14
Fixed problem in the idtable.
2014-07-07 12:16:53 +02:00
Marc Zinnschlag
df6996d4ae
filter resources files based on extension
2014-07-07 11:34:24 +02:00
Marc Zinnschlag
b2c957a56f
added resources tables
2014-07-05 15:50:47 +02:00
Marc Zinnschlag
4f6c7b0e84
resolved UniversalId naming ambiguity
2014-07-05 15:07:17 +02:00
Marc Zinnschlag
e171babd2f
added Feature_Constant to IdTable
2014-07-05 12:44:11 +02:00
Marc Zinnschlag
1b1f1bade3
injected new class IdTableBase between QAbstractItemModel and IdTable
2014-07-04 13:25:56 +02:00
Marc Zinnschlag
63d0fdee7f
removed leftover data member
2014-07-04 12:48:18 +02:00
Marc Zinnschlag
879ab49e9c
added resources manager
2014-07-04 12:46:57 +02:00
Marc Zinnschlag
1745335982
body part table fix: forgot to include body parts in ID listings
2014-07-03 12:03:01 +02:00
Marek Kochanowicz
851d2f061b
Removed qdebug calls (forgot about those).
2014-07-03 11:14:51 +02:00
Marek Kochanowicz
0bfc408ea2
removed debug code
2014-07-02 14:10:11 +02:00
Marek Kochanowicz
bb675ff41d
Removing rows and undo works
2014-07-02 13:29:25 +02:00
Marek Kochanowicz
77afb754e5
adding new rows works
2014-07-02 13:13:03 +02:00
Marek Kochanowicz
c50cecdc64
Small cleanup
2014-07-01 21:13:27 +02:00
Marek Kochanowicz
fcd082c6a5
added option to add or remove rows
2014-07-01 20:52:27 +02:00
Marc Zinnschlag
37a2b48fa2
added missing type columns to body part table
2014-07-01 14:28:12 +02:00
Marc Zinnschlag
d96ed38d49
added body part table
2014-07-01 12:37:22 +02:00
Marc Zinnschlag
5649552f18
added other missing columns for enchantment table; fixed dialogue subviews for enchantment records
2014-07-01 09:50:43 +02:00
Marc Zinnschlag
ab8bee4d1a
added enchantment type column to enchantment table
2014-07-01 09:42:56 +02:00
Marc Zinnschlag
395c45c88b
Merge branch 'editorfixes' into tables
2014-06-30 20:49:41 +02:00
Marc Zinnschlag
e97fd35ae6
added enchantments table
2014-06-30 20:40:34 +02:00
Marek Kochanowicz
172f1a1301
Merge remote-tracking branch 'refs/remotes/master/master' into NonTableFields
2014-06-30 20:06:44 +02:00
Marc Zinnschlag
4f08efc4d7
added missing combat, magic and stealth columns for creatures (Feature #1312 )
2014-06-30 19:51:59 +02:00
Marek Kochanowicz
c96d48fb91
Nested model supports editing now.
2014-06-30 14:12:57 +02:00
Marc Zinnschlag
af59106533
for regular IdCollections when loading a record make the record a copy of the existing record first (adresses some incomplete records in some content files)
2014-06-30 12:35:34 +02:00
Marc Zinnschlag
3541d03809
fixed deleting of referenceables (modification state column was incorrectly flagged as non-editable)
2014-06-27 12:29:23 +02:00
Marek Kochanowicz
a0146e2e28
Added undo for delete command
2014-06-24 19:34:02 +02:00
Marek Kochanowicz
d73f4cbd7b
added add nested command
2014-06-24 19:19:40 +02:00
Marek Kochanowicz
7b5bf637ab
Changes needed to add new nested row.
2014-06-24 19:03:29 +02:00
Marek Kochanowicz
befdeb1889
use beginRemovRow when removing nested row.
2014-06-24 12:42:49 +02:00
Marek Kochanowicz
7430e1e1bb
Added delete nested rows command (undo still needs to be done)
2014-06-24 12:35:26 +02:00
Marek Kochanowicz
c45061614b
Added code to delete nestedRows
2014-06-24 12:21:40 +02:00
Marek Kochanowicz
88c5288eaf
Create removeNestedRow (for deleting rows of nested columns)
2014-06-24 10:22:42 +02:00
Marek Kochanowicz
894c98ee89
Added extra columnid type to use for ID of the inventory item
2014-06-20 14:22:40 +02:00
Marek Kochanowicz
a076798f8f
Quick and dirty prototype of actual nested header data implementation
2014-06-19 18:46:09 +02:00
Marek Kochanowicz
256b075914
getting rid of not needed abstract class
2014-06-19 16:11:31 +02:00
Marek Kochanowicz
873cfcf447
implemented basic headerData (still work in progress)
2014-06-18 17:34:21 +02:00
Marek Kochanowicz
b63f2f4cd5
Actually using new nestedmodel
2014-06-18 16:56:37 +02:00
Marek Kochanowicz
1fb18873cb
adding proxy model that is ment to be used by the dialoguesubview
2014-06-18 15:35:31 +02:00
Marek Kochanowicz
75b5513c6c
Column is responsible for telling that it can nest columns now.
2014-06-18 11:58:18 +02:00
Marek Kochanowicz
ce5e889015
Nested table sits inside it's own layout now.
2014-06-17 20:12:14 +02:00
Marek Kochanowicz
5bee682bb3
modified: ../../view/world/dialoguesubview.cpp
2014-06-17 14:58:25 +02:00
Marek Kochanowicz
03980034a5
Merge branch 'NonTableFields' of https://github.com/sirherrbatka/openmw
...
into NonTableFields
I have no idea what I'm doing
Conflicts:
apps/opencs/model/world/idtable.cpp
apps/opencs/model/world/refidadapter.hpp
apps/opencs/model/world/refidadapterimp.hpp
2014-06-17 14:21:50 +02:00
Marek Kochanowicz
defd0b1754
Merge branch 'dialog-fix' into NonTableFields
...
TODO stop failing epicly with git
2014-06-17 14:08:59 +02:00
Marek Kochanowicz
187fccc8cc
Merge branch 'dialog-fix' into NonTableFields
2014-06-17 12:58:14 +02:00
Marek Kochanowicz
32fcc9ad61
Trying to merge.
2014-06-17 11:14:12 +02:00
Marek Kochanowicz
48691136fb
Merge remote-tracking branch 'refs/remotes/master/master' into dialog-fix
2014-06-16 09:44:49 +02:00
scrawl
d5b97005ab
Make ESM::Faction skills optional ( Fixes #1508 )
...
Also increased size of mSkills array to 7. Some factions with 7 skills can be found in the vanilla CS. The previously "mUnknown" int appears to be the 7th element of the skills array.
2014-06-16 02:52:16 +02:00
scrawl
fd59a4a79e
Fix some doxygen typos
2014-06-15 16:11:22 +02:00
Marc Zinnschlag
c23e9e03fd
Merge branch 'refs'
2014-06-11 11:44:43 +02:00
Marc Zinnschlag
7d1ecea20c
added extended versions of revert and delete
2014-06-11 11:43:38 +02:00
Marek Kochanowicz
269a357644
Merge remote-tracking branch 'master/refs' into dialog-fix
...
Conflicts:
CMakeLists.txt
apps/opencs/CMakeLists.txt
apps/opencs/view/world/dialoguesubview.cpp
2014-06-09 11:51:41 +02:00
Marek Kochanowicz
21a1f6f4ae
working on the issue
2014-06-09 10:35:39 +02:00
Marc Zinnschlag
e4a37ef709
removed some hardcoded column numbers
2014-06-07 13:06:19 +02:00
Marc Zinnschlag
85fca19fd9
replaced selection model in CommandDispatcher with a slightly slower but more robust implementation
2014-06-07 13:02:45 +02:00
Marc Zinnschlag
f6ae967ba0
simplified Data constructor
2014-06-06 20:47:31 +02:00
Marc Zinnschlag
c6557e1ade
some UniversalId cleanup and enhancements
2014-06-06 14:25:06 +02:00
Marc Zinnschlag
83d5f2aaeb
factored out command creation from table view into a separate class
2014-06-06 12:43:21 +02:00
Marc Zinnschlag
1b9b275f30
fix for bug #1369
2014-06-05 13:40:37 +02:00
Marc Zinnschlag
a28a2bc2fe
simplified feature management for record tables
2014-06-05 10:28:10 +02:00
Marc Zinnschlag
c4e7386770
Revert "added changed reference tracking for cells"
...
This reverts commit f4334da42e
.
2014-06-04 21:12:23 +02:00
Marek Kochanowicz
55d451febe
changes in the model (idtable) to support nested data
2014-06-02 20:41:37 +02:00
Marc Zinnschlag
be7f344eca
Merge branch 'refs'
...
Conflicts:
apps/opencs/model/doc/savingstate.cpp
components/esm/cellref.hpp
2014-05-30 10:38:38 +02:00
Marek Kochanowicz
6720d85a04
fixed compilation, thanks greye
2014-05-27 14:50:21 +02:00
Marek Kochanowicz
41db48720d
does not compile
2014-05-27 14:01:15 +02:00
Marc Zinnschlag
e0ba9a4bf2
added reference collection stage to saving operation (preparation for cell saving)
2014-05-27 12:39:26 +02:00
Marek Kochanowicz
befc7a4078
adding column for the content of the container
2014-05-25 17:02:40 +02:00
Marc Zinnschlag
f4334da42e
added changed reference tracking for cells
2014-05-23 09:32:34 +02:00
Marc Zinnschlag
e0b6bf6aeb
implemented reference record deleting
2014-05-20 09:28:18 +02:00
Marc Zinnschlag
d8440e1fdc
implemented reference record merging
2014-05-20 09:02:22 +02:00
Marc Zinnschlag
8279d307c4
text encoding configuration (was using hardcoded settings before)
2014-05-12 10:32:57 +02:00
Marc Zinnschlag
6fdbd4d3f9
minor adjustment to UniversalId
2014-05-10 13:49:19 +02:00
Marc Zinnschlag
96ca9500ca
generate error messages when encounting non-critical problems during load
2014-05-10 13:47:22 +02:00
Marc Zinnschlag
aadaf7827d
added load error log
2014-05-10 12:04:36 +02:00
Marc Zinnschlag
6eff5ecaad
Merge branch 'operations' into load
...
Conflicts:
apps/opencs/main.cpp
apps/opencs/model/doc/document.cpp
2014-05-08 13:17:24 +02:00
Marc Zinnschlag
6692d2dc72
split up load function in a start and continue part
2014-05-03 15:05:02 +02:00
Marek Kochanowicz
ea1aaef8ca
replace paged with unpaged (and vice versa)
2014-05-01 18:25:28 +02:00
Marek Kochanowicz
57131332f4
fixing minor issues
2014-05-01 12:34:54 +02:00
Marek Kochanowicz
d376efe30b
handle dragging not-existing records
2014-04-29 19:34:06 +02:00
Marek Kochanowicz
853abb65c3
added new, later common, base for the regionmap and the table
2014-04-29 11:44:21 +02:00
Marc Zinnschlag
86bd2f48dc
removed an unused function
2014-04-20 17:28:10 +02:00
Marek Kochanowicz
fc1837e2ed
fixed bug: regions can be dragged
...
ps
fuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu
2014-04-15 19:26:43 +02:00
Marc Zinnschlag
19b31c4146
always use the cell ID instead of the exterior coordinate fields from the original cell struct
2014-04-13 14:16:59 +02:00
Marc Zinnschlag
decd4270d9
added CellId role to RegionMap model
2014-04-13 13:59:27 +02:00
Marc Zinnschlag
d0ea23431c
replaced CellIndex typedef with new CellCoordinates class
2014-04-11 10:06:16 +02:00
Marc Zinnschlag
0516d95253
added context menu with selection functions to region map
2014-04-10 22:12:09 +02:00
Marc Zinnschlag
67965ec10c
added CellCoordinates and CellSelection classes
2014-04-07 13:44:43 +02:00
Marc Zinnschlag
53c4878d52
fix for inconsistent case in topic records
2014-03-27 10:01:42 +01:00
Marc Zinnschlag
1a9df4bc56
Merge branch 'preview'
2014-03-21 12:35:40 +01:00
Marek Kochanowicz
2a26ff2299
better fix
2014-03-21 12:13:54 +01:00
Marc Zinnschlag
fc8ae2b9b5
fixed encoding problems
2014-03-21 11:56:48 +01:00
Marc Zinnschlag
2128d3008c
Merge branch 'master' into preview
2014-03-21 08:12:06 +01:00
Marek Kochanowicz
a692ce99fa
where was my mind…
2014-03-20 20:26:53 +01:00
Marek Kochanowicz
832a10b2ac
solving problems
2014-03-20 18:40:10 +01:00
Marc Zinnschlag
1a1d52c513
fixed a column ID problem
2014-03-20 14:19:50 +01:00
Marek Kochanowicz
6416ae90d2
Merge branch 'preview' of https://github.com/zinnschlag/openmw into Editor-Dialog
...
Conflicts:
apps/opencs/CMakeLists.txt
apps/opencs/view/world/subviews.cpp
2014-03-19 10:23:15 +01:00
Marek Kochanowicz
e1a4b64efb
fixed segfault
2014-03-13 16:50:04 +01:00
Marek Kochanowicz
089732419a
introduce longString
2014-03-10 17:18:29 +01:00