jvoisin
|
38316cdaf8
|
Fix various warnings found by clang
- unused alias
- inefficient use of push_back
- exceptions not inheriting from std::exception
- weird use of a comma
- value compared against itself
|
2021-04-17 19:06:33 +02:00 |
|
Nelsson Huotari
|
7196ad7455
|
Implement an override-value when cloning, use when cloning info records
|
2021-01-10 21:23:52 +02:00 |
|
Andrei Kortunov
|
8084a336b5
|
Replace zeroes and nulls by nullptrs
|
2020-11-29 11:14:07 +04:00 |
|
Andrei Kortunov
|
059a8fd32a
|
Refactor dynamic casts in the editor
|
2018-11-15 17:50:23 +04:00 |
|
Andrei Kortunov
|
5ac81cfbff
|
Throw exceptions with some info int the editor if dynamic_cast failed
|
2018-11-14 15:53:43 +04:00 |
|
Andrei Kortunov
|
4ee15ddcb9
|
Fix many Coverity Scan warnings
|
2018-11-14 11:21:49 +04:00 |
|
Andrei Kortunov
|
e06f0b797a
|
Replace all NULLs to nullptr
|
2018-10-09 10:21:12 +04:00 |
|
Andrei Kortunov
|
70ed8fd1a9
|
Use constants instead of widely used magic numbers (task #4645)
|
2018-09-17 19:22:50 +04:00 |
|
Kyle Cooley
|
4921e7f5c1
|
Get rid of reinterpret cast.
|
2017-09-22 22:42:09 -04:00 |
|
Kyle Cooley
|
50d9d9f78f
|
Get rid of some templates, exceptions instead of assert, and other small changes.
|
2017-09-17 20:29:51 -04:00 |
|
Kyle Cooley
|
ab607f3028
|
Tweaks to land loading, land cloning, terrain signals, placeholder land update handling
|
2017-09-08 00:51:46 -04:00 |
|
Kyle Cooley
|
97d0fd756a
|
LTEX importing
|
2017-09-04 19:31:09 -04:00 |
|
Kyle Cooley
|
1d480015b4
|
Add ability to touch records, LAND records in particular
|
2017-08-31 22:09:49 -04:00 |
|
Aesylwinn
|
239727531f
|
Revert "Fix data corruption issues."
This reverts commit 6199663bd8 .
|
2016-05-25 22:53:17 -04:00 |
|
Aesylwinn
|
9a567b3712
|
Revert "Fix editor undo for nested data."
This reverts commit 774e1497b6 .
|
2016-05-25 22:52:41 -04:00 |
|
Aesylwinn
|
bb81e89c08
|
Revert "Cleanup and slight change to pathgrid editing controls."
This reverts commit cc4655e9c7 .
|
2016-05-25 22:48:43 -04:00 |
|
Aesylwinn
|
cc4655e9c7
|
Cleanup and slight change to pathgrid editing controls.
Now that there is a drag indicator, it is easy to tell if an
operation is active or not.
|
2016-05-24 18:19:05 -04:00 |
|
Aesylwinn
|
774e1497b6
|
Fix editor undo for nested data.
|
2016-05-23 15:51:36 -04:00 |
|
Aesylwinn
|
6199663bd8
|
Fix data corruption issues.
- Point connection count not being set
- Nested undo not restoring table (for pathgrid scene editing, editor
nested undo is still broken)
|
2016-05-21 18:59:43 -04:00 |
|
Aesylwinn
|
799ed300ea
|
Use cell coordinates class, fix undo description.
|
2016-05-21 14:36:07 -04:00 |
|
Aesylwinn
|
b86250036c
|
Add ability to add pathgrids.
|
2016-05-19 18:33:15 -04:00 |
|
Marc Zinnschlag
|
7d8bd56e11
|
create new records with basic data in the same step without updates inbetween (Fixes #3207)
|
2016-03-01 11:21:06 +01:00 |
|
scrawl
|
b0431833a1
|
Fix some defects reported by Coverity CI
|
2016-01-21 16:08:04 +01:00 |
|
Stanislav Bas
|
e14aedc7cd
|
ModifyCommand uses a proper name of a modified nested value
|
2015-08-21 21:47:29 +03:00 |
|
Stanislav Bas
|
33042c1464
|
Restore Modified status of a record when adding/removing nested rows
|
2015-08-02 21:52:55 +03:00 |
|
Stanislav Bas
|
afb36b73eb
|
Proper index for Modified column in ModifyCommand
|
2015-08-02 15:03:27 +03:00 |
|
Stanislav Bas
|
f3bb00e3d9
|
Add the ability to add nested values to the Create command
|
2015-06-26 22:16:12 +03:00 |
|
Marc Zinnschlag
|
53b4c15d85
|
Merge remote-tracking branch 'smbas/master'
|
2015-05-23 16:02:09 +02:00 |
|
Stanislav Bas
|
a5183aefbe
|
Add record state tracking to the ModifyCommand (Fix #2555)
|
2015-05-22 23:53:25 +03:00 |
|
Rohit Nirmal
|
396fba7fa9
|
Silence -Wreorder warnings, and remove -Wno-reorder.
|
2015-05-21 22:46:44 -05:00 |
|
cc9cii
|
b04aeb6aad
|
Fixed levelled lists flags - now bit masks represented by tick boxes in the dialogue subview.
|
2015-05-01 12:14:09 +10:00 |
|
Marc Zinnschlag
|
f1c0847897
|
Merge remote-tracking branch 'cc9cii/moveref'
|
2015-04-28 14:07:18 +02:00 |
|
cc9cii
|
889749a493
|
Allow non-empty mOriginalCell (case where a moved ref is moved again)
|
2015-04-26 15:44:40 +10:00 |
|
cc9cii
|
f1a58994c6
|
Merge branch 'master' into moveref
Conflicts:
apps/opencs/model/world/columns.hpp
apps/opencs/model/world/commands.cpp
apps/opencs/model/world/commands.hpp
apps/opencs/model/world/ref.cpp
apps/opencs/view/world/dialoguesubview.cpp
apps/opencs/view/world/dialoguesubview.hpp
apps/opencs/view/world/util.cpp
components/esm/cellref.hpp
|
2015-04-25 06:52:53 +10:00 |
|
cc9cii
|
8aaa74a983
|
Undo for delete operation in referenceables table. Implemented by saving UniversalId::Type in DeleteCommand.
|
2015-04-25 06:06:11 +10:00 |
|
Marc Zinnschlag
|
6fcf4ea9e3
|
In ModifyCommand replace proxy model with the source model (Fixes #2498)
|
2015-04-23 14:24:43 +02:00 |
|
cc9cii
|
1220369da3
|
Changes as per feedback comments.
|
2015-04-11 11:26:29 +10:00 |
|
cc9cii
|
83bcc8d451
|
Reorganised class inheritance structure of collections, columns and idtable model.
|
2015-04-02 20:19:15 +11:00 |
|
cc9cii
|
fb2ba7610c
|
Merge remote-tracking branch 'remotes/upstream/master' into NonTableFields
Conflicts:
apps/opencs/CMakeLists.txt
apps/opencs/model/doc/document.cpp
apps/opencs/model/world/columnbase.hpp
apps/opencs/model/world/columns.cpp
apps/opencs/model/world/columns.hpp
apps/opencs/model/world/commands.cpp
apps/opencs/model/world/idtable.cpp
apps/opencs/view/world/dialoguesubview.cpp
apps/opencs/view/world/dialoguesubview.hpp
apps/opencs/view/world/util.cpp
|
2015-03-04 11:22:42 +11:00 |
|
Marc Zinnschlag
|
9670e0881d
|
update reference's current cell when x/y-coordinates are modified
|
2015-01-16 15:17:52 +01:00 |
|
Marc Zinnschlag
|
7733df239e
|
made CloneCommand a subclass of CreateCommand
|
2014-09-20 10:36:43 +02:00 |
|
Marc Zinnschlag
|
33243c8c16
|
move code for storing old value from ModifyCommand constructor to redo function (allows use of the command on records that haven't been created at the time of construction)
|
2014-09-18 11:37:23 +02:00 |
|
Marek Kochanowicz
|
13ee469b70
|
saving progress
|
2014-07-30 17:07:11 +02:00 |
|
Marek Kochanowicz
|
3dd2ca15da
|
Reduced code duplication through new common base class
|
2014-07-21 09:52:09 +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
|
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
|
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
|
7430e1e1bb
|
Added delete nested rows command (undo still needs to be done)
|
2014-06-24 12:35:26 +02:00 |
|
Marek Kochanowicz
|
2bd98a69ab
|
Corrections, according to the comments. Thanks for the review. :-)
|
2014-01-28 11:16:48 +01:00 |
|