Commit Graph

2101 Commits (0557d45bd156844772a5be5cdc602cdf22781eb5)

Author SHA1 Message Date
scrawl fec8cf91f5 Add exception handling to various uses of DataStream::read 10 years ago
scrawl 2abc033655 ConstrainedDataStream: print the name of the file in exceptions 10 years ago
scrawl 51e451e249 Tabs to spaces 10 years ago
scrawl d541bc8064 Remove unused functions in nifstream 10 years ago
scrawl 2346c3528d Remove NpcStats::mProfit and store it in the script instead
Also use the Profit label when the "minimumProfit" script variable exists, rather than hardcoding to NPCs.
10 years ago
scrawl b9acf437fd Remove friendly hits from the save file
The vanilla engine does not store friendly hits in the save file. Since there's no other mechanism that ever resets the friendly hits (at least not to my knowledge) this should be regarded a feature rather than a bug.
10 years ago
scrawl ef3ba12cb6 Add silent mode to ConfigurationManager, used by essimporter 10 years ago
scrawl 081c8c8615 ESSImport: convert to utf8, based on encoding setting in openmw.cfg 10 years ago
scrawl e712b0353b Terrain refactoring, reduce game startup time and memory usage 10 years ago
scrawl 62a32220ff Use low-LOD heightmap for world map rendering
Add vanilla-accurate colour palette (thanks Hrnchamd)
10 years ago
scrawl 431f540791 ESSImport: fix NPC factions 10 years ago
scrawl 875df46ae9 ESSImport: convert journal indices 10 years ago
scrawl 6367b4dc0b Improve INFO struct naming 10 years ago
scrawl 9d3f0b2ed5 Remove some unused code, include cleanup 10 years ago
scrawl d34086ac8f ESSImport: convert running global scripts 10 years ago
scrawl 4921c6ef9e Split window caption bars so that the caption can be transparent (Fixes #531)
Fix transparent window background not applying to the header bar (Fixes #2294)
10 years ago
dteviot 946dd16696 Fixed Windows warning.
warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
10 years ago
dteviot f95743ccc3 Fixed MSVC warning.
warning C4305: 'return' : truncation from 'double' to 'float'
10 years ago
dteviot e02bab67ba Fixed MSVC warnings.
warning C4099: 'ESM::ESMReader' : type name first seen using 'class' now seen using 'struct'
warning C4099: 'ESM::CellId' : type name first seen using 'struct' now seen using 'class'
10 years ago
Nathan Aclander 33ce03dfc5 Should be compared against uint only 10 years ago
scrawl b1bd236345 ESSImport: convert script local variables
Had to add special reading code to openmw, because the variable names are not stored.
10 years ago
scrawl 7d76213374 Fix loading faction reactions for older savegames (Fixes #2301) 10 years ago
scrawl 79d2eebe54 Store selected enchant item in savegame (Fixes #1702) 10 years ago
scrawl a619cff615 Implement EnableLevelupMenu to trigger level-up 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 fa4718283d Merge remote-tracking branch 'scrawl/contentselector' 10 years ago
Marc Zinnschlag cd62dbc5b7 Merge remote-tracking branch 'scrawl/essimporter' 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
Marc Zinnschlag a266dffb4b Merge remote-tracking branch 'scrawl/essimporter' 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 f7e32a24c9 Fix terrain assertion 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