Atahualpa
c0fc615cd6
Adds the option to ignore "Base" records when running the verifier. ( fixes #4466 )
...
Improves previous commit:
1. Initialise mIgnoreBase boolean member with FALSE.
2. Remove isBaseOnly() function and replace with direct use of Record member.
2018-06-20 11:29:38 +02:00
Atahualpa
9d61d76e92
Adds the option to ignore "Base" records when running the verifier. ( fixes #4466 )
...
Adds a boolean setting to the user preferences. This setting is locally saved to all OpenMW-CS check stages. When a verification is done, the setting is updated on setup for each check stage. If set to true, the boolean value is then used to skip the verification process for every base record - minus some special cases where, e.g., counters are to be set first.
Related issue:
- Fixes #4466 : Editor: Add option to ignore base records when running verifier (https://gitlab.com/OpenMW/openmw/issues/4466 )
Tests:
The changes were successfully tested in OpenMW-CS by creating faulty "Base" and "Modified" records for every record type (if possible) and, then, running the verifier with and without the option respectively.
2018-06-20 00:20:03 +02:00
Alf Henrik Sauge
feeee50a88
Dropping a separate NPDTstruct12 object and instead use NPDTstruct52
...
NPDTstruct12 is now only used when loading and saving. Turning auto calc
on and off now no longer switches between to different set of values
2018-05-09 00:25:07 +02:00
Capostrophic
2502d53816
Object record verifier updates
...
Removed light 0 duration warning
Spelling fixes
2018-05-06 00:23:05 +03:00
Leon Krieg
739cd5ba45
Fixed more spelling mistakes
2016-12-15 13:09:40 +01:00
Leon Krieg
c7b4b2cdd7
Fixed multiple spelling mistakes
2016-12-14 16:39:33 +01:00
Aesylwinn
9bd14215d7
Expanded inventory check to creatures and NPCs
2015-12-19 22:02:39 -05:00
Aesylwinn
4c14117761
Added checks to verifier for container inventories
2015-12-19 20:03:00 -05:00
cc9cii
819fecd08e
Add a check for scale value of 0. Should resolve bug #2880 .
2015-11-01 11:23:28 +11:00
cc9cii
b81454d226
Fix using wrong bit flag for NPC stats auto-calculation. Also set the corresponding mNpdtType which is used when determining which data structure to save. Should resolve Bug #2668 .
2015-06-13 14:37:47 +10:00
cc9cii
6966555377
Object verifier check to see if the script used by that object actually exists. Should resolve Bug #2582 .
2015-05-27 15:55:00 +10:00
Rohit Nirmal
396fba7fa9
Silence -Wreorder warnings, and remove -Wno-reorder.
2015-05-21 22:46:44 -05:00
Marc Zinnschlag
3a847732b4
abstracted message collection into a class
2014-12-07 18:57:47 +01:00
Marc Zinnschlag
4778c27548
silenced two warnings
2014-05-30 10:18:05 +02:00
Marc Zinnschlag
205306ee3d
changed message passing format from QString to a UniversalId/std::string pair
2014-05-08 12:42:29 +02:00
Marek Kochanowicz
6224344957
Being any idiot is hard.
2014-01-15 12:52:38 +01:00
Marek Kochanowicz
3d722ba104
Corrected brackets.
2014-01-15 11:59:11 +01:00
Marek Kochanowicz
fbcb1a14fc
ooops, using search id
2014-01-15 11:12:56 +01:00
Marek Kochanowicz
89d4a90c06
Localised version of morrowind will no longer spam false positives. Don't check diff, please.
2014-01-15 10:30:43 +01:00
Marek Kochanowicz
c981a2a6f8
Removed boost in favor of #include <components/misc/stringops.hpp>. Hopefully this will make scrawl happy. :P
2014-01-14 09:25:03 +01:00
Marek Kochanowicz
2c1ef610b9
Moving back to boost for case insensitive comparsion.
2014-01-14 09:16:59 +01:00
Marek Kochanowicz
e34cb9e931
changed according to the scrawl sugestion
2014-01-13 19:17:03 +01:00
Marek Kochanowicz
59de794e58
Creature check was not invoked.
2014-01-13 19:02:23 +01:00
Marek Kochanowicz
17cc6a695c
fixed bug resposnsible for exception throwed.
2014-01-13 18:34:28 +01:00
Marek Kochanowicz
cb0d3794f7
Final check is not performed with just +1! Something is not right.
2014-01-10 11:01:29 +01:00
Marek Kochanowicz
688488de62
replaced == operator for string comparsion in npc check with boost algorithm to get case insensitive check.
2014-01-10 10:43:03 +01:00
Marek Kochanowicz
e4d637fd64
splited long lines in the header.
2014-01-10 09:49:05 +01:00
Marek Kochanowicz
b98cdabe89
Shameful bug fixed.
2014-01-10 09:42:36 +01:00
Marek Kochanowicz
b85fe2becf
Changes according to the comment.
2014-01-06 23:37:18 +01:00
Marek Kochanowicz
06f8537087
added final check for player npc. Removed useless includes. However, this code spams exceptions and I can't figure out why.
2014-01-06 18:43:44 +01:00
Marek Kochanowicz
c69814ed14
corrected one, additional name to follow policy
2014-01-05 18:00:49 +01:00
Marek Kochanowicz
4338706307
static is a keyword. renamed static to staticElement
2014-01-05 17:31:54 +01:00
Marek Kochanowicz
80d424591f
npc instead of NPC.
2014-01-05 17:28:47 +01:00
Marek Kochanowicz
693c398204
forgot to save the file before comit -_-'
2014-01-05 17:05:57 +01:00
Marek Kochanowicz
873870c7ce
Chainging names to comply our policy.
2014-01-05 17:04:57 +01:00
Marek Kochanowicz
c1f4a9cb0e
Added proper id check.
2014-01-05 12:18:26 +01:00
Marek Kochanowicz
89d8ee62fa
Removing name check from listCheck. Id can't be empty to be sure.
2014-01-05 12:12:36 +01:00
Marek Kochanowicz
220d92f865
changed ID check in leveled list to name.
2014-01-05 11:30:03 +01:00
Marek Kochanowicz
e860717105
replaced raw values with enums.
2014-01-04 15:28:08 +01:00
Marek Kochanowicz
558690b571
implemented list of magical bolts for skipping.
2014-01-04 15:19:17 +01:00
Marek Kochanowicz
dfd1058551
Various style corrections.
2014-01-04 14:49:01 +01:00
Marek Kochanowicz
aa05ffcf60
Splited some long argument lists to the multiple lines.
2014-01-04 13:05:19 +01:00
Marek Kochanowicz
1c3296fb64
Some changes in weapons check.
2014-01-03 18:25:06 +01:00
Marek Kochanowicz
7b63e1942c
style corrections
2014-01-03 11:42:49 +01:00
Marek Kochanowicz
24f090ca98
Finishing stuff.
2014-01-03 11:31:54 +01:00
Marek Kochanowicz
8201c97abf
Inventory item template.
2014-01-03 09:16:41 +01:00
Marek Kochanowicz
cb723710fe
Corrected stupid typo.
2013-12-30 19:24:53 +01:00
Marek Kochanowicz
4a1987ddec
correcting
2013-12-30 18:41:16 +01:00
Marek Kochanowicz
c89608f390
Check for head and hair. Correct faction check.
2013-12-30 11:39:03 +01:00
Marek Kochanowicz
842e26b8e5
added comment
2013-12-29 21:53:33 +01:00