1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-21 05:09:43 +00:00
openmw/components/esm
elsid cfdbd0d471
Indicate moved cell refs explicitly
This is less error prone approach than use of MovedCellRef fields.

Also make separate functions for skipping and reading moved cell refs to avoid
passing special flags  logic and null pointers for unused arguments.
2021-07-12 18:56:42 +02:00
..
activespells.cpp Support for multiple summons with same ID in the single spell 2020-08-28 21:14:54 +04:00
activespells.hpp Support for multiple summons with same ID in the single spell 2020-08-28 21:14:54 +04:00
aipackage.cpp Fix a crash in aipackage.cpp 2021-05-13 14:19:12 +02:00
aipackage.hpp Revise AI data handling 2019-02-23 21:00:47 +03:00
aisequence.cpp Use make_unique instead of unique_ptr+new 2021-06-25 20:55:38 +02:00
aisequence.hpp Merged pull request #1477 2018-06-09 10:52:35 +02:00
animationstate.cpp Do not use architecture dependent type size_t in esm format (Fixes #3633) 2016-11-22 15:47:06 +01:00
animationstate.hpp Do not use architecture dependent type size_t in esm format (Fixes #3633) 2016-11-22 15:47:06 +01:00
attr.cpp Handle werewolf stats 2013-08-09 05:14:58 -07:00
attr.hpp Implement vanilla-style corprus handling (bug #3714, bug #4623) 2020-06-03 12:58:17 +04:00
cellid.cpp Replace "sys::default" with ESM::CellId::sDefaultWorldspace 2016-07-02 19:48:11 +02:00
cellid.hpp Replace "sys::default" with ESM::CellId::sDefaultWorldspace 2016-07-02 19:48:11 +02:00
cellref.cpp Initial support of generated RefNums with negative mContentFile. 2021-07-09 20:03:27 +02:00
cellref.hpp Initial support of generated RefNums with negative mContentFile. 2021-07-09 20:03:27 +02:00
cellstate.cpp Remove empty line at the beginning of files 2015-08-18 23:06:12 +02:00
cellstate.hpp Feature #32: Implement respawn for containers, creatures and NPCs 2014-05-17 09:09:00 +02:00
containerstate.cpp Remove empty line at the beginning of files 2015-08-18 23:06:12 +02:00
containerstate.hpp components/compiler cleanup; also cleaned up related cascading warnings; fixed up final/override issues 2020-10-22 23:57:53 +02:00
controlsstate.cpp Save controls state (Fixes #3598) 2016-10-20 02:12:01 +02:00
controlsstate.hpp Save controls state (Fixes #3598) 2016-10-20 02:12:01 +02:00
creaturelevliststate.cpp Feature #32: Implement respawn for containers, creatures and NPCs 2014-05-17 09:09:00 +02:00
creaturelevliststate.hpp components/compiler cleanup; also cleaned up related cascading warnings; fixed up final/override issues 2020-10-22 23:57:53 +02:00
creaturestate.cpp Remove empty line at the beginning of files 2015-08-18 23:06:12 +02:00
creaturestate.hpp components/compiler cleanup; also cleaned up related cascading warnings; fixed up final/override issues 2020-10-22 23:57:53 +02:00
creaturestats.cpp Use struct instead of tuple 2020-08-29 11:24:08 +04:00
creaturestats.hpp Use struct instead of tuple 2020-08-29 11:24:08 +04:00
custommarkerstate.cpp ESSImport: convert custom map markers, not working for interiors yet 2015-01-19 09:29:21 +01:00
custommarkerstate.hpp fix builds against MyGUI master 2019-06-16 14:41:34 +02:00
debugprofile.cpp For consistency with TES CS, force DELE record writes to be 4 bytes (currently writes 1 byte). 2021-07-06 14:57:58 +10:00
debugprofile.hpp 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
defs.hpp Saving/loading for Lua scripts (saves format is changed) 2021-07-09 20:24:56 +02:00
dialoguestate.cpp Remove empty line at the beginning of files 2015-08-18 23:06:12 +02:00
dialoguestate.hpp ESSImport: convert faction reactions and known dialogue topics 2015-01-20 15:56:07 +01:00
doorstate.cpp Add safety checks for door state 2019-12-23 19:29:12 +04:00
doorstate.hpp components/compiler cleanup; also cleaned up related cascading warnings; fixed up final/override issues 2020-10-22 23:57:53 +02:00
effectlist.cpp Don't rely on subrecord order part 2 2015-02-12 05:43:22 +01:00
effectlist.hpp Don't rely on subrecord order part 2 2015-02-12 05:43:22 +01:00
esmcommon.hpp Use enums in place of magic numbers. Ensure Creature and NPC cell references are always saved as persistent. 2021-07-06 12:37:02 +10:00
esmreader.cpp Reduce a bit the size of getHT 2021-07-11 21:43:40 +02:00
esmreader.hpp Reduce a bit the size of getHT 2021-07-11 21:43:40 +02:00
esmwriter.cpp Fix MSVC's C4267 warnings 2021-05-12 10:34:39 +04:00
esmwriter.hpp Use template specialization for writeHNT to write raw arrays 2020-04-04 01:12:49 +02:00
filter.cpp For consistency with TES CS, force DELE record writes to be 4 bytes (currently writes 1 byte). 2021-07-06 14:57:58 +10:00
filter.hpp 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
fogstate.cpp Fix merge conflicts 2020-05-12 14:33:00 +04:00
fogstate.hpp Revert "Store raw data about fog of war instead of RGBA images" 2019-10-30 14:48:44 +01:00
globalmap.cpp Fix global map markers being duplicated when cell is visited again 2014-09-26 16:51:48 +02:00
globalmap.hpp Fix global map markers being duplicated when cell is visited again 2014-09-26 16:51:48 +02:00
globalscript.cpp Initial support of generated RefNums with negative mContentFile. 2021-07-09 20:03:27 +02:00
globalscript.hpp Allow targeting non-unique actors with StartScript (bug #2311) 2020-05-10 14:57:06 +02:00
inventorystate.cpp Use emplace_back instead of push_back 2020-10-18 10:27:35 +04:00
inventorystate.hpp Allows the same item to have multiple ancestors 2015-12-09 18:24:35 +01:00
journalentry.cpp Remove empty line at the beginning of files 2015-08-18 23:06:12 +02:00
journalentry.hpp Feature #764: Store the actor that gave the dialog response 2014-02-01 18:42:01 +01:00
loadacti.cpp Merge branch 'master' into 'OpenCS_Bug6017' 2021-07-06 07:52:49 +00:00
loadacti.hpp 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
loadalch.cpp Merge branch 'master' into 'OpenCS_Bug6017' 2021-07-06 07:52:49 +00:00
loadalch.hpp 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
loadappa.cpp Merge branch 'master' into 'OpenCS_Bug6017' 2021-07-06 07:52:49 +00:00
loadappa.hpp 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
loadarmo.cpp Merge branch 'master' into 'OpenCS_Bug6017' 2021-07-06 07:52:49 +00:00
loadarmo.hpp 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
loadbody.cpp For consistency with TES CS, force DELE record writes to be 4 bytes (currently writes 1 byte). 2021-07-06 14:57:58 +10:00
loadbody.hpp 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
loadbook.cpp Merge branch 'master' into 'OpenCS_Bug6017' 2021-07-06 07:52:49 +00:00
loadbook.hpp 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
loadbsgn.cpp For consistency with TES CS, force DELE record writes to be 4 bytes (currently writes 1 byte). 2021-07-06 14:57:58 +10:00
loadbsgn.hpp 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
loadcell.cpp Indicate moved cell refs explicitly 2021-07-12 18:56:42 +02:00
loadcell.hpp Indicate moved cell refs explicitly 2021-07-12 18:56:42 +02:00
loadclas.cpp For consistency with TES CS, force DELE record writes to be 4 bytes (currently writes 1 byte). 2021-07-06 14:57:58 +10:00
loadclas.hpp 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
loadclot.cpp Merge branch 'master' into 'OpenCS_Bug6017' 2021-07-06 07:52:49 +00:00
loadclot.hpp 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
loadcont.cpp Merge branch 'master' into 'OpenCS_Bug6017' 2021-07-06 07:52:49 +00:00
loadcont.hpp 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
loadcrea.cpp Merge branch 'master' into 'OpenCS_Bug6017' 2021-07-06 07:52:49 +00:00
loadcrea.hpp 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
loaddial.cpp For consistency with TES CS, force DELE record writes to be 4 bytes (currently writes 1 byte). 2021-07-06 14:57:58 +10:00
loaddial.hpp Remove unused includes 2015-07-22 22:18:26 +03:00
loaddoor.cpp Merge branch 'master' into 'OpenCS_Bug6017' 2021-07-06 07:52:49 +00:00
loaddoor.hpp 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
loadench.cpp For consistency with TES CS, force DELE record writes to be 4 bytes (currently writes 1 byte). 2021-07-06 14:57:58 +10:00
loadench.hpp Handle enchantment autocalc flag as a flag (bug #5363) 2020-04-11 00:03:14 +03:00
loadfact.cpp For consistency with TES CS, force DELE record writes to be 4 bytes (currently writes 1 byte). 2021-07-06 14:57:58 +10:00
loadfact.hpp Use meaningful names instead of mSkill1 and mSkill2 2020-06-26 11:47:59 +04:00
loadglob.cpp 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
loadglob.hpp 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
loadgmst.cpp Remove deprecated GMST get* functions 2018-08-29 18:38:12 +03:00
loadgmst.hpp Remove deprecated GMST get* functions 2018-08-29 18:38:12 +03:00
loadinfo.cpp For consistency with TES CS, force DELE record writes to be 4 bytes (currently writes 1 byte). 2021-07-06 14:57:58 +10:00
loadinfo.hpp Minor cleanup 2016-05-15 16:38:04 +02:00
loadingr.cpp Merge branch 'master' into 'OpenCS_Bug6017' 2021-07-06 07:52:49 +00:00
loadingr.hpp 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
loadland.cpp For consistency with TES CS, force DELE record writes to be 4 bytes (currently writes 1 byte). 2021-07-06 14:57:58 +10:00
loadland.hpp Define ESM::Land static constants as constexpr 2021-07-04 22:17:44 +02:00
loadlevlist.cpp Merge branch 'master' into 'OpenCS_Bug6017' 2021-07-06 07:52:49 +00:00
loadlevlist.hpp 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
loadligh.cpp Merge branch 'master' into 'OpenCS_Bug6017' 2021-07-06 07:52:49 +00:00
loadligh.hpp 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
loadlock.cpp Merge branch 'master' into 'OpenCS_Bug6017' 2021-07-06 07:52:49 +00:00
loadlock.hpp 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
loadltex.cpp For consistency with TES CS, force DELE record writes to be 4 bytes (currently writes 1 byte). 2021-07-06 14:57:58 +10:00
loadltex.hpp Consider land texture with given ID and index as override for base texture with the same ID and index (bug #4736) 2019-03-11 20:19:19 +04:00
loadmgef.cpp Do not initialize map every call 2018-08-29 16:47:12 +04:00
loadmgef.hpp Display magic effects according to research page 2019-11-07 11:05:18 +04:00
loadmisc.cpp Merge branch 'master' into 'OpenCS_Bug6017' 2021-07-06 07:52:49 +00:00
loadmisc.hpp 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
loadnpc.cpp Merge branch 'master' into 'OpenCS_Bug6017' 2021-07-06 07:52:49 +00:00
loadnpc.hpp 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
loadpgrd.cpp For consistency with TES CS, force DELE record writes to be 4 bytes (currently writes 1 byte). 2021-07-06 14:57:58 +10:00
loadpgrd.hpp Initialize some missing fields in constructors 2018-06-25 09:35:42 +04:00
loadprob.cpp Merge branch 'master' into 'OpenCS_Bug6017' 2021-07-06 07:52:49 +00:00
loadprob.hpp 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
loadrace.cpp For consistency with TES CS, force DELE record writes to be 4 bytes (currently writes 1 byte). 2021-07-06 14:57:58 +10:00
loadrace.hpp Display Race record height/weight as a float 2021-05-17 18:33:02 -04:00
loadregn.cpp For consistency with TES CS, force DELE record writes to be 4 bytes (currently writes 1 byte). 2021-07-06 14:57:58 +10:00
loadregn.hpp Attempt to fix a regression - crash on ARM 2019-10-28 18:58:16 +04:00
loadrepa.cpp Merge branch 'master' into 'OpenCS_Bug6017' 2021-07-06 07:52:49 +00:00
loadrepa.hpp 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
loadscpt.cpp For consistency with TES CS, force DELE record writes to be 4 bytes (currently writes 1 byte). 2021-07-06 14:57:58 +10:00
loadscpt.hpp Attempt to fix a regression - crash on ARM 2019-10-28 18:58:16 +04:00
loadskil.cpp Merge pull request #2180 from akortunov/includes 2019-02-24 01:14:16 +01:00
loadskil.hpp Get rid of Boost.Array 2019-02-22 23:16:34 +03:00
loadsndg.cpp For consistency with TES CS, force DELE record writes to be 4 bytes (currently writes 1 byte). 2021-07-06 14:57:58 +10:00
loadsndg.hpp 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
loadsoun.cpp For consistency with TES CS, force DELE record writes to be 4 bytes (currently writes 1 byte). 2021-07-06 14:57:58 +10:00
loadsoun.hpp 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
loadspel.cpp For consistency with TES CS, force DELE record writes to be 4 bytes (currently writes 1 byte). 2021-07-06 14:57:58 +10:00
loadspel.hpp 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
loadsscr.cpp For consistency with TES CS, force DELE record writes to be 4 bytes (currently writes 1 byte). 2021-07-06 14:57:58 +10:00
loadsscr.hpp 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
loadstat.cpp Merge branch 'master' into 'OpenCS_Bug6017' 2021-07-06 07:52:49 +00:00
loadstat.hpp 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
loadtes3.cpp ESM code cleanup 2021-05-05 22:23:06 +03:00
loadtes3.hpp Remove outdated field - remnant from earlier implementation 2021-04-14 10:58:44 +04:00
loadweap.cpp Merge branch 'master' into 'OpenCS_Bug6017' 2021-07-06 07:52:49 +00:00
loadweap.hpp 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
locals.cpp Use emplace_back instead of push_back 2020-10-18 10:27:35 +04:00
locals.hpp store global script state in saved game files 2013-12-15 16:16:50 +01:00
luascripts.cpp Fixes and refactoring 2021-07-09 20:48:54 +02:00
luascripts.hpp Fixes and refactoring 2021-07-09 20:48:54 +02:00
magiceffects.cpp Store magic effect Base values in savegame (Fixes #1489) 2014-08-17 05:38:48 +02:00
magiceffects.hpp Use initialization lists where possible 2021-06-23 23:36:43 +02:00
mappings.cpp Start rendering npc's 2018-09-27 13:14:59 +04:00
mappings.hpp Start rendering npc's 2018-09-27 13:14:59 +04:00
npcstate.cpp Remove empty line at the beginning of files 2015-08-18 23:06:12 +02:00
npcstate.hpp components/compiler cleanup; also cleaned up related cascading warnings; fixed up final/override issues 2020-10-22 23:57:53 +02:00
npcstats.cpp Store attributes and skills values as floats (bug #4021) 2020-06-03 17:34:15 +04:00
npcstats.hpp Store attributes and skills values as floats (bug #4021) 2020-06-03 17:34:15 +04:00
objectstate.cpp Saving/loading for Lua scripts (saves format is changed) 2021-07-09 20:24:56 +02:00
objectstate.hpp Saving/loading for Lua scripts (saves format is changed) 2021-07-09 20:24:56 +02:00
player.cpp Merge branch 'master' into automove 2020-06-08 11:42:05 +02:00
player.hpp Merge branch 'master' into automove 2020-06-08 11:42:05 +02:00
projectilestate.cpp ESS-Importer: Convert magic projectiles (Closes #2320) 2017-09-20 18:58:56 +02:00
projectilestate.hpp ESS-Importer: Convert magic projectiles (Closes #2320) 2017-09-20 18:58:56 +02:00
queststate.cpp Remove empty line at the beginning of files 2015-08-18 23:06:12 +02:00
queststate.hpp ESSImport: convert journal indices 2015-01-27 23:12:21 +01:00
quickkeys.cpp Savegame: store most of CreatureStats 2014-05-12 21:37:36 +02:00
quickkeys.hpp Move to esm component 2014-05-02 12:48:07 +02:00
records.hpp Remove some unused code, include cleanup 2015-01-27 23:12:13 +01:00
savedgame.cpp Saving/loading for Lua scripts (saves format is changed) 2021-07-09 20:24:56 +02:00
savedgame.hpp Introduce a separate class to control world date and time 2020-06-05 12:07:32 +04:00
spelllist.cpp Don't rely on subrecord order part 2 2015-02-12 05:43:22 +01:00
spelllist.hpp Don't rely on subrecord order part 2 2015-02-12 05:43:22 +01:00
spellstate.cpp Implement vanilla-style corprus handling (bug #3714, bug #4623) 2020-06-03 12:58:17 +04:00
spellstate.hpp Implement vanilla-style corprus handling (bug #3714, bug #4623) 2020-06-03 12:58:17 +04:00
statstate.cpp Fix MSVC's C4244 warnings 2021-05-12 10:34:40 +04:00
statstate.hpp Store attributes and skills values as floats (bug #4021) 2020-06-03 17:34:15 +04:00
stolenitems.cpp Stolen item tracking overhaul part 2 (Fixes #2338) 2015-02-06 01:27:16 +01:00
stolenitems.hpp Stolen item tracking overhaul part 2 (Fixes #2338) 2015-02-06 01:27:16 +01:00
transport.cpp Fix crash in the ESM reader, when list is empty (bug #4677) 2018-10-12 10:38:32 +04:00
transport.hpp Add travel service support for creatures (Fixes #2432) 2015-03-09 03:15:11 +01:00
util.hpp Use default instead of empty constructors/destructors 2021-06-24 00:26:15 +02:00
variant.cpp Some more constexpr in esm/variant.cpp 2021-06-22 12:49:09 +02:00
variant.hpp Use std::variant for ESM::Variant implementation 2021-04-08 19:39:31 +02:00
variantimp.cpp Fix the compilation 2021-04-18 13:26:26 +02:00
variantimp.hpp Use std::variant for ESM::Variant implementation 2021-04-08 19:39:31 +02:00
weatherstate.cpp Fix two excessive type casting instances 2021-06-23 22:19:08 +02:00
weatherstate.hpp Refactor weather transitions to act more like MW 2015-08-26 22:59:21 -05:00