Marc Zinnschlag
89998a6a03
save MVRF subrecords
10 years ago
scrawl
79d2eebe54
Store selected enchant item in savegame ( Fixes #1702 )
10 years ago
scrawl
c883a73d30
Several warning fixes
10 years ago
scrawl
8b5effe3e0
Fix wrong magic number for JOUR in openmw savegames
10 years ago
scrawl
e203127952
ESSImport: read script variables (not converted yet)
10 years ago
scrawl
1e92cab3e7
ESSImport: read dialogue/journal records, not converted yet
10 years ago
scrawl
69676906ae
Don't clear known spells when reading from the savegame
...
This is needed because the .ess format doesn't include the racial spells in the player's spell list.
10 years ago
scrawl
c7d15e6f74
Revert "Revert "Light charge handling fix""
...
This reverts commit b95748d044
.
10 years ago
scrawl
d13335ba40
Ensure the item can be equipped in the given slot when loading inventory
10 years ago
scrawl
c65f9cb3c0
Revert "Change save format to store relative equipment index"
...
This reverts commit 89d9649b50
.
10 years ago
scrawl
b95748d044
Revert "Light charge handling fix"
...
This reverts commit 5e0428243b
.
10 years ago
Marc Zinnschlag
a97f599e65
fixed ref num saving in non-wide format
10 years ago
Marc Zinnschlag
764c155cec
moved code for writing/reading ref nums into RefNum struct
10 years ago
scrawl
5e0428243b
Light charge handling fix
10 years ago
scrawl
db64ff6645
Fix actorId initialization
10 years ago
scrawl
89d9649b50
Change save format to store relative equipment index
...
Store the index for the allowedSlots vector instead of the absolute slot index. This will more gracefully handle edge cases like the available slots for an item having changed when loading the game, or the "allows stacking" property having changed. However the main reason this was done is to ease work on the essimporter.
10 years ago
scrawl
d473629dcd
Improve ESMReader error messages
10 years ago
scrawl
06736e9e03
ESSImport: convert faction reactions and known dialogue topics
10 years ago
scrawl
5104a5a023
Add missing setFactionReaction instruction, use absolute storage instead of difference
...
Seems to be closer to how MW is storing it (it has the complete FACT record in the savegame, actually).
This (somewhat) breaks OMW savegame compatibility in that old changes are discarded, but I don't think the faction reactions are quest relevant anywhere.
10 years ago
scrawl
9014dc48ee
Don't require the object type id for reading references from savegames
...
This is redundant, since we can look it up from the RefID.
10 years ago
scrawl
8e1eeccbe1
ESSImport: container state
10 years ago
scrawl
a7b82e5107
ESSImport: inventory loading works, equipment slots need more work
10 years ago
scrawl
235683e449
Remove LightState from openmw save format to streamline inventory loading
10 years ago
scrawl
f9cf31fcd5
ESSImport: convert custom map markers, not working for interiors yet
10 years ago
scrawl
19ed047dec
ESSImport: add some subrecords to CellRef and others, most files should load now, importacdt/cellref class structure need some refactoring
10 years ago
scrawl
08ad4d73bb
ESSImport: player is placed in correct cell, npc cellrefs work
10 years ago
scrawl
cbf56dbb47
ESSImport: work on cell fog of war
10 years ago
scrawl
031eec4550
Starting ESS importer for Morrowind save files
10 years ago
scrawl
fc663addfa
Fix null character issue in ESMReader::getString
10 years ago
scrawl
1869d37cfc
Remove unused mLastDrowningHit
10 years ago
dteviot
7aa0f887c0
Minor changes to ESM::RefNum
...
1. Changed mIndex to unsigned, to solve potential implementation defined behavior with right shift.
2. Refactoring to minimize use of magic number -1 to indicate "no Content File".
10 years ago
scrawl
ef7e0070a6
Don't right-shift signed integers which is implementation-defined
10 years ago
scrawl
e19ab77d00
Store camera first person state in savegame ( Fixes #2255 )
10 years ago
scrawl
f267497c03
Allow separate summoned creature instances for each spell ID ( Fixes #2194 )
10 years ago
Thoronador
773669952b
remove initializing constructors from "dumb structs"
...
As suggested by Marc Zinnschlag:
https://github.com/OpenMW/openmw/pull/423#issuecomment-68526701
10 years ago
Thoronador
9cc219ff76
fix uninitialized members in Pathgrid::Point
10 years ago
Thoronador
87fac78823
fix uninitialized members in Cell and structures
10 years ago
scrawl
01652bbcc5
Store original actor position in AiWander package ( Fixes #2200 )
10 years ago
scrawl
e2346d7c37
Store permanent magic effects in savegame ( Fixes #1648 )
10 years ago
scrawl
f931ba2efc
Fix some static analysis issues (coverity)
10 years ago
scrawl
886903d70e
Implement HitAttemptOnMe function (Bug #2078 )
10 years ago
scrawl
e0c6f84546
AiFollow: target has to be seen in order to start following ( Fixes #1637 )
10 years ago
scrawl
3f0bc6eecb
Ignore extra bytes after the SCVR string list ( Fixes #2184 )
10 years ago
scrawl
dffa8c6c14
Re-insert existing DialInfo records when they are modified by another content file ( Fixes #2170 )
10 years ago
cc9cii
5ae1554a75
Simplify skipping moved references (thanks scrawl)
10 years ago
cc9cii
33c454e073
Check whether any subrecords remain after skipping moved references. Should resolve bug #2070 .
10 years ago
scrawl
273a80e2c0
Merge branch 'master' of https://github.com/OpenMW/openmw
10 years ago
scrawl
92ab292e18
Make MODL subrecord for light records optional ( Fixes #2114 )
10 years ago
MiroslavR
b8d5a9486a
Make Restore/Damage Attribute/Skill effects continuous
10 years ago
scrawl
fc1a897fbf
Add comment to WNAM in ESM::Land
10 years ago
scrawl
4047e3c928
Properly handle DialInfo records that were marked as Deleted ( Fixes #2035 )
10 years ago
scrawl
86280df55a
DialInfo: Clear SelectStructs from previous loadings when a record is overwritten ( Fixes #2017 )
10 years ago
Marc Zinnschlag
21b16f8425
Merge branch 'tables'
...
Conflicts:
apps/opencs/CMakeLists.txt
apps/opencs/model/world/data.cpp
apps/opencs/model/world/data.hpp
10 years ago
scrawl
8786fb639f
Implement terrain rendering in OpenCS ( Fixes #1597 )
10 years ago
scrawl
861cc26aa6
Don't sell racial spells ( Fixes #1961 )
10 years ago
Marc Zinnschlag
f4c9897bbd
Merge branch 'master' into tables
10 years ago
Marc Zinnschlag
d64127106b
load and save pathgrid records
10 years ago
scrawl
7252cb63a6
Fix cppcheck issues
10 years ago
scrawl
790e0150b1
Fix global map markers being duplicated when cell is visited again
10 years ago
Marc Zinnschlag
850dbb55a5
improved magic effect IDs
10 years ago
Marc Zinnschlag
58a9176c18
preparing magic effects record for use in OpenCS
10 years ago
scrawl
45b4304237
Store levitation/teleport enabled state in savegames ( Fixes #1923 )
10 years ago
Marc Zinnschlag
02247fe712
load and save sound gen records
10 years ago
scrawl
dec9ffdb6c
ESM: Make sure to clear old list when a list is overwritten by another content file ( Fixes #1932 )
10 years ago
Marc Zinnschlag
d1d861e1be
Merge branch 'run'
...
Conflicts:
apps/opencs/model/world/columns.cpp
apps/opencs/model/world/columns.hpp
apps/opencs/model/world/data.cpp
components/CMakeLists.txt
10 years ago
Marc Zinnschlag
bf6150d009
allow project scope scripts
10 years ago
Marc Zinnschlag
d4c27d4ce0
Merge remote-tracking branch 'mellotanica/master'
10 years ago
Marco Melletti
9b6faa2ffa
wrong rearrangement fixes
...
misleading comments fixed
10 years ago
Marco Melletti
e1393ad2df
reputation sorted out
10 years ago
Marco Melletti
2e47290ed0
finished loadnpc.hpp, fixed npdt 52byte structure
10 years ago
scrawl
1c178768f5
Allow Script records with missing SCDT (precompiled code, not used anyway)
...
Not sure on the exact conditions, but this was missing in a plugin that I made in the TES-CS, while vanilla MW would load it just fine.
10 years ago
Marco Melletti
bc7e154643
done with header files, unsure about mSkills and mReputation in
...
loadnpc.hpp
10 years ago
Marco Melletti
8bce460f34
loadnpc is still unfinished, bodypartcheck.cpp mFlags check fix
10 years ago
cc9cii
df87859d7c
Move the workaround to loadscpt.cpp as per feedback comments.
10 years ago
scrawl
4f92044d71
Allow user-created markers on local map ( Fixes #1571 )
10 years ago
scrawl
44642ae21b
Fix incorrect Speed value in ESM::MagicEffect (thanks Hrnchamd)
10 years ago
MiroslavR
46e9ee408f
Do not allow mods to change fixed effect properties in the legacy format, but allow it entirely in the new format.
10 years ago
MiroslavR
d16e0c063c
Enchanting, spellmaking dialog: check for flags when listing known effects
10 years ago
Marc Zinnschlag
f468c53281
renamed the script field in DebugProfile to improve consistency
11 years ago
Marc Zinnschlag
232c6c9ad3
Merge branch 'scriptedit' into run
11 years ago
MiroslavR
85aa237baf
Implement removal of corprus spells
11 years ago
MiroslavR
96e7ff666d
Implement saving/loading of corprus stats, remove redundant code
11 years ago
scrawl
360c7f863c
Store magic effect Base values in savegame ( Fixes #1489 )
11 years ago
Marc Zinnschlag
3486da0fb0
consolidated the debug profile flags into a single and added a global flag
11 years ago
scrawl
77a4e38c49
Remove -Wno-ignored-qualifiers and fix caused warnings
11 years ago
scrawl
28e61c9834
Add default values for fDifficultyMult and sDifficulty ( Fixes #1742 )
...
Also added values for some other GMSTs added in a Morrowind patch or Tribunal/BM
11 years ago
scrawl
e2ee3b2497
Merge branch 'master' of https://github.com/OpenMW/openmw
...
Conflicts:
apps/openmw/mwrender/terrainstorage.cpp
11 years ago
scrawl
28fe81df90
Make Lights with OffDefault flag not emit light nor particles when placed in a cell ( Fixes #1796 )
11 years ago
scrawl
4138c3e966
Reuse health of previous level rather than recalculating initial health ( Fixes #1787 )
11 years ago
Marc Zinnschlag
ee3acc31a8
minor correction to previous commit
11 years ago
cc9cii
c43bd3c345
Continue loading esm after detecting string table overflow condition. Should resolve bug #1774 .
11 years ago
scrawl
22d7d8a466
Implement Command creature/humanoid magic effects ( Fixes #1120 )
11 years ago
scrawl
2e7b5fde7c
Fix uninitialized QuestStatus in DialInfo ( Fixes #1694 )
11 years ago
Marc Zinnschlag
30f114873d
added debug profile record
11 years ago
scrawl
45af34d189
Merge branch 'master' of https://github.com/OpenMW/openmw
11 years ago
scrawl
ccde462308
Fix typo (RefId -> RefNum)
11 years ago
scrawl
4773d754c6
Remove redundant isHostile flag ( Fixes #1652 )
11 years ago
Marc Zinnschlag
7991dfb907
Merge remote-tracking branch 'scrawl/master'
11 years ago
Marc Zinnschlag
c9cd7fb6b7
Merge branch 'scripts'
11 years ago
scrawl
1a04501951
Handle faction save/load properly when player has faction reputation in a faction he is not a member of ( Fixes #1573 )
11 years ago
Marc Zinnschlag
acb728195f
improved documentation of ESM::Script member variables
11 years ago
scrawl
75abe8db31
Ignore FLTV from old savegames
11 years ago
scrawl
d4ff17f1c5
Remove unused FLTV and NAM0 from CellRef
11 years ago
scrawl
4e0c133fb3
Add comment to Cell NAM0 (it's a RefId counter)
11 years ago
scrawl
75366b2e37
Implement CellRef's faction rank (rank requirement to use item)
11 years ago
scrawl
2b57c7fa67
Use CellRef's global variable to disable owner ( Fixes #1677 )
11 years ago
scrawl
876af8f529
Fix not saved Attacked flag ( Fixes #1657 )
11 years ago
Marc Zinnschlag
e9377ad5c4
include targeted script data in saved games
11 years ago
scrawl
1c41ce9b9d
Implement Hrnchamd's player and NPC autocalc spells (Some unclarities remaining, XXX)
11 years ago
scrawl
ad90d20ad8
Don't silently skip unknown NPC subrecords
11 years ago
Marc Zinnschlag
d96ed38d49
added body part table
11 years ago
Marc Zinnschlag
e97fd35ae6
added enchantments table
11 years ago
scrawl
8a8ecce1e5
Fix some uninitialized data written to savegames
11 years ago
scrawl
218f916d6d
Savegame: Don't write stat modifiers that are zero
11 years ago
scrawl
4e71db7081
Savegame: Don't load/save deleted container items. This is currently pointless, and also causes new garbage being added on each load/save cycle: Container stores are first filled from ESM records, then cleared and filled from the savegame. The items from ESM records remain as deleted refs.
11 years ago
scrawl
2477456f99
Implement Murder crimes and OnMurder instruction ( Fixes #1315 )
11 years ago
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.
11 years ago
scrawl
ee2b81763e
Savegame: Store AiSettings and summoned creatures
...
CreatureStats state is now completely stored (Closes #1174 )
Also play VFX_Summon_Start and VFX_Summon_End visual effects.
11 years ago
scrawl
4f742fd468
Allow INFO records with no subrecords following DATA ( Fixes #1486 )
11 years ago
scrawl
e458cf1df2
Savegame: Store death counter ( Fixes #1477 )
11 years ago
scrawl
a54ac579a5
Savegame: Store AiSequence
11 years ago
scrawl
73be457805
Merge ESM::Cell fields by subrecord
...
Fixes an issue with the Morrowind Patched mod where cell ambient values would become black due to the new cell records not including an AMBI subrecord.
Also fixes a bug where mLeasedRefs was incorrectly cleared when overwriting a cell (*oldcell = *cell;)
11 years ago
scrawl
98d7b6672a
Make MODL subrecord optional for potions ( Fixes #1419 )
11 years ago
scrawl
823ccb1b3d
Don't batch statics that have "references persist" set (temporary fix for Arkngthand door - Fixes #1386 )
11 years ago
scrawl
7376cb9b61
Fix loading ESX files cleaned with testool ( Fixes #1382 )
11 years ago
scrawl
ce14a6413b
Small optimization to ESM::Variant
11 years ago
scrawl
16ac6e7aac
Merge DialInfo objects by subrecord instead of overwriting the object
...
Fixes #1360
11 years ago
Marc Zinnschlag
f5e587f566
Merge remote-tracking branch 'puppykevin/master'
11 years ago
Marc Zinnschlag
be7f344eca
Merge branch 'refs'
...
Conflicts:
apps/opencs/model/doc/savingstate.cpp
components/esm/cellref.hpp
11 years ago
scrawl
50a72ed710
Fix ghosts in Cavern Of The Incarnate having -1 health
11 years ago
Kevin Poitra
18314b1707
We use spaces, not tabs.
11 years ago
Kevin Poitra
8e55eb8009
Fix some formatting.
11 years ago
Kevin Poitra
545c3c312c
Remove a superfluous clear.
11 years ago
scrawl
e266c39c5d
Implement modFactionReaction instruction ( Closes #1347 )
11 years ago
scrawl
0966755a0c
Store death animation index in CreatureStats
11 years ago
scrawl
039398c8ae
Basic RefData and CellRef change tracking
...
Wrapped item charge handling in getItemHealth function
11 years ago
Marc Zinnschlag
d8440e1fdc
implemented reference record merging
11 years ago
scrawl
3dceb7ee4f
Fix overwriting DialInfo
11 years ago
scrawl
0aa1042fd7
Optimized dialogue merging with a lookup map
11 years ago
scrawl
1677fcf324
Dialogue merging
11 years ago
scrawl
5b76c0893a
Merge branch 'master' of https://github.com/OpenMW/openmw
...
Conflicts:
components/esm/inventorystate.hpp
11 years ago
scrawl
a872c9f83a
Feature #1323 : handle restocking levelled items
11 years ago
cc9cii
b36bb58e8c
Bug #1324 : Artem's solution
11 years ago
Marc Zinnschlag
f7c89015f9
Merge remote-tracking branch 'scrawl/master'
11 years ago
scrawl
ae66d28c87
Feature #32 : Implement respawn for containers, creatures and NPCs
11 years ago
scrawl
e266aff561
Savegame: store projectiles
11 years ago
Marc Zinnschlag
3b2ba4f6cd
Merge remote-tracking branch 'scrawl/master'
11 years ago
scrawl
a76e391ad0
Savegame: store door movement state ( Closes #747 )
11 years ago
scrawl
471bbd0021
Savegame: store levelled creature state and move to actorIds
...
(Closes #1332 )
11 years ago
Marc Zinnschlag
d08869a25d
Merge remote-tracking branch 'slothlife/msvc_warning_cleanup'
...
Conflicts:
apps/openmw/mwrender/localmap.cpp
11 years ago
slothlife
f33559fead
Fixes for MSVC warnings, less overall changes
...
Kept some fixes from the first round of review. Found out that several
targets weren't being built with the same basic warnings disabled.
Disabled a few warnings for external libraries specifically, rather than
applying them to all targets.
11 years ago
scrawl
9b67fcc4d7
Merge branch 'master' of https://github.com/OpenMW/openmw
11 years ago
scrawl
9052cc4a57
Savegame: store ActiveSpells
11 years ago
scrawl
61187c2fef
Savegame: store actorIds
11 years ago
scrawl
51020fdb5f
Fix a bug for NpcStats::mUsedIds in savegames, and added a compile-time guard to prevent similar errors in the future.
11 years ago
Thomas
cbcf0f6039
Changed AiEScort to use new PathTo function
11 years ago
slothlife
c160a04ede
Revert "Fixes for warnings when building with MSVC"
...
This reverts commit 46eb20b98c
.
11 years ago
Thomas
77d365e196
Forced some function arguments to take in a specific array size
11 years ago
Thomas
9dbe53c722
Merge remote-tracking branch 'upstream/master'
11 years ago
Thomas
2c74ea381e
Moved pathfinding code to aiPackage, implemented it's use with aiFollow and aiPursue
11 years ago
scrawl
6cc691115b
Savegame: store most of CreatureStats
11 years ago
scrawl
a4a9794417
Savegame: store fog of war ( Closes #1177 )
11 years ago
scrawl
041319c43e
Fixes #1234 : Store dynamic record counter in savegame to prevent name clashes
11 years ago
slothlife
46eb20b98c
Fixes for warnings when building with MSVC
...
Most warnings are innocuous (wrong type-specifier for forward
declarations, conversion of literals into unsigned integers, warnings
about methods optimized out), but I believe actual bugs were revealed in
vartypedelegate.cpp and combat.cpp.
11 years ago
scrawl
7bddfc0025
Fix some spelling mistakes.
11 years ago
scrawl
122e606e30
Crime: improvement to arrest on sight for large bounties
...
iCrimeThreshold controls the needed bounty to have guards run to the player and force dialogue. In vanilla, the greeting dialogue is scripted to either arrest the player (< 5000 bounty) or present a death sentence and attack (>= 5000 bounty).
11 years ago
scrawl
8560b43464
Move to esm component
11 years ago
scrawl
17bb8d7f9a
Fixes #1252 : Add item/magic keybindings to savegame
11 years ago
scrawl
27a05027f4
Fixes #1172 : Added basic loading/saving progress bar
...
The progress is not particularly accurate. It simply uses the current / total number of records written/read as indication. Cell records are currently the largest by far, but there is a good chance that could be optimized using a change tracking system.
11 years ago
scrawl
30666f2cce
Fixes #1297 : Store global map markers in savegame
11 years ago
Thomas
f6deca7c80
Fixed various issues caused by late-night coding. Also added "unlock" message to unlocked doors
11 years ago
Thomas
61341d4206
Removed mLocked, kept it as "Negative lock level means unlocked"
11 years ago
Thomas
420163d35f
Small changes to lock command (If no valid lockLevel exists, defaults to 100)
11 years ago
scrawl
2cb9f38a45
Changed crime IDs for legacy savegames. Not an issue, but it was inconsistent.
11 years ago
scrawl
d3d0b7362f
Fix older savegame compatibility regarding new crime feature.
11 years ago
Marc Zinnschlag
86e65944b8
Merge remote-tracking branch 'jeffreyhaines/master'
...
Conflicts:
apps/openmw/CMakeLists.txt
11 years ago
Marc Zinnschlag
300eb6f444
make FNAM sub-record optional for all record types
11 years ago
Jeffrey Haines
a274b48f2f
States are saved. Crime is reacted to.
...
Issues where some crime is ignored. Needs a lot more work
11 years ago
Marc Zinnschlag
2c2106205d
Merge remote-tracking branch 'scrawl/master'
11 years ago
scrawl
d7df9cae21
Bug #1224 : Changed fix to potentially allow for language independent saves
11 years ago
scrawl
53ba23e303
Fixes #1224 : Store class name instead of id in savegame header
11 years ago
slothlife
00eac7d53a
Fixed header include guard to match filename
11 years ago
slothlife
6eab9c5179
Move weather state save/load to a new class
11 years ago
slothlife
1acd1bd913
Feature #1173 : Saved Game: include weather state
...
Removed some unused state in and changed Ogre::String to std::string in
WeatherManager.
11 years ago
Marc Zinnschlag
f1353dc84f
Merge branch 'scene'
11 years ago
Bret Curtis
ab224f93c9
remove our stdint.h version that uses boost and force usage of system stdint.h
11 years ago
Marc Zinnschlag
f9d2fde783
Merge branch 'openmw-29'
...
Conflicts:
apps/openmw/mwmechanics/aicombat.cpp
11 years ago
Marc Zinnschlag
6e8b9c88b2
changed name of default worldspace (should reduce chance of a name conflict)
11 years ago
Marc Zinnschlag
bfcd768078
various bits of cleanup
11 years ago
Marc Zinnschlag
d780364842
fixed record size type
11 years ago
cc9cii
c241405d91
Fix Windows save & load.
11 years ago
Marc Zinnschlag
9788bbcab9
partially store creature state in saved game files (only attributes and dynamics for now)
11 years ago
Marc Zinnschlag
b0532e0c85
store NPC state in saved game files
11 years ago
Marc Zinnschlag
9f721fd144
store list of known topics in saved game files
11 years ago
scrawl
f89b3cac02
Feature #764 : Store the actor that gave the dialog response
11 years ago
Marc Zinnschlag
1b5301eec0
Merge branch 'savedgame'
...
Conflicts:
apps/openmw/mwbase/mechanicsmanager.hpp
apps/openmw/mwbase/soundmanager.hpp
apps/openmw/mwgui/mapwindow.hpp
apps/openmw/mwmechanics/actors.cpp
apps/openmw/mwmechanics/mechanicsmanagerimp.hpp
apps/openmw/mwsound/soundmanagerimp.hpp
components/esm/loadcell.cpp
11 years ago
Marc Zinnschlag
5b04c10e1d
added creature/NPC state to saved games (only container/inventory for now)
11 years ago
Marc Zinnschlag
dd674566a2
store content of containers in saved game files
11 years ago
Marc Zinnschlag
900532a6ca
store additional state of lights in saved game files
11 years ago
Marc Zinnschlag
e0537a3253
made object state polymorphic
11 years ago