Commit Graph

48 Commits

Author SHA1 Message Date
cc9cii f2a301653c Remove redundant mPersistent member from ESM::NPC and ESM::Creature, replaced by mRecordFlags. Fixed the editing of the persistence flag value. 2021-06-30 08:20:29 +10:00
cc9cii 2a76634f5f Moved persistence flag from references to the header flags of referenceables (e.g. Static, Weapon, etc). Editing widget is not fully working. 2021-06-29 23:25:26 +10:00
Assumeru 737aa1e4e8 Remove FactionID editing from OpenCS (#2636)
* Remove FactionID editing

* remove useless comments

* rename FactionID to Unknown
2019-12-18 20:42:54 +03:00
Capostrophic 7814bd1b76 Support eight possible blood types (feature #4958) 2019-04-14 18:48:31 +03:00
Capostrophic 594ea39f5d Revise AI data handling
Make Hello 16-bit unsigned as it's intended to be
Get rid of redundant mHasAI boolean
Always save AI data subrecord
Adjust creature and NPC default rating values to Morrowind defaults
2019-02-23 21:00:47 +03:00
Capostrophic 65ff346b61 Make NPC record reputation, disposition and faction rank have unsigned char type 2018-09-03 16:45:38 +03: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
scrawl 19e07fad30 Remove redundant Services enum 2017-09-25 19:52:20 +02:00
scrawl 82a211ba03 Fix duplicate code 2017-09-25 17:47:30 +02:00
Stanislav Bas 4a16eba716 Make deleted flag a parameter of load/save methods (instead of a record member) in ESM records 2015-07-22 19:26:00 +03:00
Stanislav Bas 7ecb54a776 Set Deleted flag to false when initializing ESM records 2015-07-10 00:29:46 +03:00
Stanislav Bas 926c825d0c Add NAME and DELE handling to ESM records.
Changed records are those where DELE is located after NAME sub-record.
And DELE is the last sub-record.
2015-07-10 00:18:00 +03:00
Marc Zinnschlag e17f7ac81a Merge remote-tracking branch 'cc9cii/master' 2015-06-14 12:50:10 +02:00
scrawl 28caeadef4 Improve error message for not found records 2015-06-14 02:31:00 +02: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
scrawl e30f240ba2 Add travel service support for creatures (Fixes #2432) 2015-03-09 03:15:11 +01:00
scrawl 431f540791 ESSImport: fix NPC factions 2015-01-27 23:12:21 +01:00
Marco Melletti 9b6faa2ffa wrong rearrangement fixes
misleading comments fixed
2014-09-06 17:04:50 +02:00
Marco Melletti e1393ad2df reputation sorted out 2014-09-06 15:16:04 +02:00
Marco Melletti 2e47290ed0 finished loadnpc.hpp, fixed npdt 52byte structure 2014-09-05 21:23:25 +02:00
Marco Melletti bc7e154643 done with header files, unsure about mSkills and mReputation in
loadnpc.hpp
2014-09-04 13:23:29 +02:00
Marco Melletti 8bce460f34 loadnpc is still unfinished, bodypartcheck.cpp mFlags check fix 2014-09-03 14:40:32 +02:00
scrawl 50a72ed710 Fix ghosts in Cavern Of The Incarnate having -1 health 2014-05-29 18:09:13 +02:00
Marek Kochanowicz 03235bf0a2 NPC. Still WIP. 2013-12-27 22:13:55 +01:00
Lukasz Gromanowski 594cc693b2 Fixes #1006: Many NPCs have 0 skill
Added calculation of skill values for NPC with mNpdtType
set to NPC_WITH_AUTOCALCULATED_STATS (their NPDT is 12).

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
2013-12-08 21:47:43 +01:00
Marc Zinnschlag c42e74dadf make 4 byte record type accessable from record struct 2013-09-24 13:17:28 +02:00
Marc Zinnschlag 874ce26bef added missing consts to record save functions 2013-09-16 12:32:35 +02:00
Marc Zinnschlag c626e2b257 Merge branch 'ref'
Conflicts:
	apps/opencs/view/doc/view.hpp
2013-05-19 14:59:01 +02:00
scrawl ca81335319 Fix bug loading attribute values 2013-05-16 21:45:49 +02:00
scrawl 8a3d3f954b NPC/creature persistence flag 2013-05-16 18:50:26 +02:00
Marc Zinnschlag b21dae8d75 added blank function to all referencable record structs 2013-05-06 14:10:43 +02:00
scrawl f3c8cd2065 Don't buy/sell keys which are set to open a lock 2013-04-07 21:38:53 +02:00
greye b1ef0026a9 race selection/inventory preview character model update 2012-11-10 11:41:12 +04:00
greye c3f0dc0dfb m prefix for NpcAnimation members 2012-11-08 23:11:43 +04:00
greye 3494e17b7c wipe record superclass 2012-10-01 00:51:54 +04:00
greye 721324c1db rm record inheritance, rework esmtool accordingly 2012-09-30 23:34:53 +04:00
greye c54750977f remove underscores in guards 2012-09-23 22:11:08 +04:00
greye 7606ebafd6 resolving conflicts, minor update 2012-09-17 11:37:50 +04:00
greye a90547bbbe code formatting 2012-08-29 21:35:06 +04:00
greye 02d7aa4135 npc ai packages 2012-08-29 14:35:43 +04:00
Alexander "Ace" Olofsson a74aeace73 Can now save strings with proper encoding, byte-perfect clones up until land records 2012-04-14 00:14:04 +02:00
Alexander "Ace" Olofsson 290d09de64 Switching creature and npc to using the same id storage as the rest of the records 2012-04-08 18:32:40 +02:00
Alexander "Ace" Olofsson 0fd48c4229 Extended the esmtool a bit and prepared all records for saving. 2012-04-08 11:51:52 +02:00
Alexander "Ace" Olofsson ba602929ef Adding basic save functions to all record types. 2012-04-06 21:04:30 +02:00
Pieter van der Kloet dd4d022301 Converted all tabs to four spaces 2011-01-05 22:18:21 +01:00
Nicolay Korslund 5d4dba981f Fixed mistake in NPC record struct 2010-08-13 15:51:42 +02:00
Marc Zinnschlag 8d85211fa1 modified Npc and Creature class to let them store a copy of their own ID 2010-08-08 14:09:09 +02:00
Marc Zinnschlag e4f85cb3e6 directory structure reorganisation (still missing the mangle stuff) 2010-06-25 22:28:59 +02:00