Commit Graph

2227 Commits (609e146a22f2e8b3c70cb15693b4976aba7141d5)

Author SHA1 Message Date
scrawl 387969bf42 Remove an old .gitignore 10 years ago
dteviot accc078e0e Morrowind.ini import progress bar. (Fixes #2344)
1. Show a "bouncing ball" Progress bar when importing from morrowind.ini.
2. Removed dialog that asks for content list name when import game files from morrowind.ini. Instead, name is time stamp.
3. Removed commented out code.
4. Additional bugfix. No longer create a empty content list when OpenMW.cfg has no content files.
10 years ago
Marc Zinnschlag 8686ffcedb Merge remote-tracking branch 'scrawl/master' 10 years ago
Marc Zinnschlag 6cc9fa2b3f Merge remote-tracking branch 'slothlife/cmake-release-build-fix' 10 years ago
scrawl 96a295c44f Fix for deleting all items in a levelled list 10 years ago
scrawl 8b417c06db Fix missing clear in ESM::Spell::load (Fixes #2368) 10 years ago
scrawl a139e4efb0 Grey out completed quests in journal quests list 10 years ago
Kamil Bar 3b7a23aa72 Fixed charge checks for light and other objects, corrected CellRef charge union comments 10 years ago
scrawl 49d912e5b6 Don't rely on subrecord order part 2
Nice side effects:
 - Subrecord name comparison now uses magic number instead of string (faster)
 - Improves the error message for unknown subrecords: will print the record in question instead of failing to read the next record with a strange error
10 years ago
slothlife cfe81bafe8 Remove setting CMAKE_BUILD_TYPE to Debug
Setting was causing single-target configurations (ninja, make) to
incorrectly link vs debug runtimes on Windows.
10 years ago
scrawl 9009889d24 Don't rely on subrecord order when reading (Fixes #2361) 10 years ago
scrawl 3ccf4642b4 Implement ToggleScripts 10 years ago
jacmoe ee574e08ef MIT License header added to all terrain component files. 10 years ago
scrawl 03257ecae5 QString encoding fix 10 years ago
scrawl 4c6b9f8266 Remove redundant decoder in ContentModel 10 years ago
scrawl cff0127ce7 Update comment on merging levelled lists 10 years ago
scrawl d18d2a1882 Skip rest of LEVI record if it has no items (Bug #2348) 10 years ago
scrawl bea88c3643 Stolen item tracking overhaul part 2 (Fixes #2338) 10 years ago
scrawl f8b4ff3004 Documentation fix 10 years ago
scrawl ab9100fa90 Prevent dropping item on itself in ContentModel (Fixes #2334)
Also improves the drop indicator, it is now shown in between items instead of on an item.
10 years ago
scrawl 27dc49a135 Rewrite game settings manager
Removes the abhorrent dependency on Ogre for this code and improves the error handling.
10 years ago
scrawl 6d097fbfbd Normalise spelling of "levelled" throughout the code 10 years ago
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
Marc Zinnschlag 7f905470fa fixed moved reference loading 10 years ago
scrawl 7d76213374 Fix loading faction reactions for older savegames (Fixes #2301) 10 years ago
Marc Zinnschlag 89998a6a03 save MVRF subrecords 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 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
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
Marc Zinnschlag e9af9b991d Merge remote-tracking branch 'dteviot/master' 10 years ago
dteviot 71700d2cb1 Bugfix: OpenCS segfault when plug-in dependency not found.
When a file that a plug-in depends on cannot be found, the OpenCS file dialog crashes.
Similar problem exists in omwlauncher's "Data Files" dialog.
10 years ago
dteviot 017e4cd4ef OpenCS shows plug-ins with load order issues.
1. FileDiaog in OpenCS now shows warning icon beside .esm./.esp files with load order problems.
2. omwlaucher -> replaced "stop" icon with "warning" icon for files with load order problems.
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
Marc Zinnschlag 9603325b99 Merge remote-tracking branch 'origin/master' 10 years ago
Marc Zinnschlag 375d426dd0 check for premature end of scripts more consistently 10 years ago
scrawl d387c207d1 Fix initial scaling for btCompoundShape children (Fixes #2234) 10 years ago
scrawl f11ec653d0 Add setting for showing MRK nodes to NIF loaders
This makes marker objects show up in OpenCS.
10 years ago
scrawl 883f7ec7ce Move workaround for hiding markers from NIF loader to Scene 10 years ago
Marc Zinnschlag 7cc1ebc05b Merge remote-tracking branch 'scrawl/master' 10 years ago
scrawl 7b4665c623 Terrain: documentation update 10 years ago
scrawl 261da8dd0a Terrain: use 32-bit indices if necessary 10 years ago
scrawl f7bac58b39 Terrain: change index buffer flags to unsigned 10 years ago
scrawl 41b3a9dba9 Rewrite animated collision shape support (Fixes #2123) 10 years ago
scrawl de23ad5c8d Change dynamic_cast to static_cast to make coverity happy 10 years ago
scrawl 04d6cead3b Autogenerated collision should only be disabled if RootCollisionNode is a child of the root node (Fixes #2133) 10 years ago
Marc Zinnschlag 763e058ed2 Merge remote-tracking branch 'dteviot/master' 10 years ago
dteviot e95b513cfc Use icon to show files with problem (Fixes #2268)
Launcher now indicates files with problem using an icon.
Using red text for files with load order issue removed because it doesn't work well with dark themes.
10 years ago
Marc Zinnschlag 7c959c8494 Merge remote-tracking branch 'dteviot/Bug811' 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
Marc Zinnschlag e439065897 Merge remote-tracking branch 'scrawl/master' 10 years ago
dteviot 05b89be8bf Launcher sets content list to match values in openmw.cfg (Fixes #811)
I took the liberty to add accessor & mutator functions for classes ContentListsGameSettings and LauncherSettings , as existing code can reverse order of entries.
Also replaced some "magic strings" with named constants.
10 years ago
scrawl efbc8742a0 Remove some unnecessary includes 10 years ago
Marc Zinnschlag d254bb0a34 Merge remote-tracking branch 'dteviot/FixLoadOrderReset' 10 years ago
scrawl ef7e0070a6 Don't right-shift signed integers which is implementation-defined 10 years ago
Marc Zinnschlag 4b88ef5891 fixed QuickFileParser handling of begin line (skip it instead of trying to make sense of it) 10 years ago
dteviot 9d6efcecff Merge remote-tracking branch 'OpenMW/master' into FixLoadOrderReset
Fixed Conflict:
	components/contentselector/model/contentmodel.cpp
10 years ago
dteviot 083de62be5 Fixed issues found by Zinnschlag.
1. Errors found are added to default tool tip text. (Instead of replacing it.)
2. If multiple errors are found, all are shown in tool tip text, not just first one.
3. Load Order Errors are updated when files are activated/deactivated, not just when the files have their position in list changed.
10 years ago
Marc Zinnschlag 38a413a483 Merge remote-tracking branch 'scrawl/master' 10 years ago
Marc Zinnschlag 83e454e493 Merge remote-tracking branch 'marcoschulze/git-version-retrieval-fix' 10 years ago
scrawl e19ab77d00 Store camera first person state in savegame (Fixes #2255) 10 years ago
scrawl c6c7d102d0 Revert "components/nif/base.hpp now uses the templated get() function"
This reverts commit ad609bff78.

Revert "Made incorrect nif get error message more informative."

This reverts commit 9909c4abad.

Revert "Build the nif file tester by default"

This reverts commit c1315ed90c.

Revert "Converted most nifstream "get multiple" functions to the templated version"

This reverts commit 2619d57bb6.

Revert "Add a templated option for getting vectors to NIFStream"

This reverts commit f318ee0b8c.

Revert "Made NIFStream getters templated"

This reverts commit 4edc4142f3.
10 years ago
scrawl f267497c03 Allow separate summoned creature instances for each spell ID (Fixes #2194) 10 years ago
scrawl afc961d19c Workaround for random AABB assertion due to zero-sized particles (Fixes #1663) 10 years ago
Marc Zinnschlag 365bb3d3f0 Merge remote-tracking branch 'scrawl/unused' 10 years ago
scrawl d919a0186e Comment out unused opSkipOnZero 10 years ago
scrawl 4a734f5cd3 Fall back to top-level directory when looking for resources (Fixes #2169) 10 years ago
Marc Zinnschlag ac7c2a1473 some cleanup 10 years ago
Marc Zinnschlag bbbf431ae3 double bug in script name handling workaround (Fixes #1730) 10 years ago
Marc Zinnschlag 9f6a2d00e8 Merge remote-tracking branch 'thoronador/fix-uninitialized-members' 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
Arthur Moore ad609bff78 components/nif/base.hpp now uses the templated get() function 10 years ago
Arthur Moore 9909c4abad Made incorrect nif get error message more informative. 10 years ago
Arthur Moore c1315ed90c Build the nif file tester by default
It's extremely useful in determining if a nif file is bad without having to load up openmw or opencs.
Also updated the nif testing script to run at a low priority.
10 years ago
Arthur Moore 2619d57bb6 Converted most nifstream "get multiple" functions to the templated version 10 years ago
Arthur Moore f318ee0b8c Add a templated option for getting vectors to NIFStream 10 years ago
Arthur Moore 4edc4142f3 Made NIFStream getters templated 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
dteviot fb671fed20 Corrected issues found by Scrawl. 10 years ago
scrawl 01652bbcc5 Store original actor position in AiWander package (Fixes #2200) 10 years ago
dteviot 43dd9aee94 Fix for more errors found by Travis CI. 10 years ago
dteviot 93bbd7463a Fixed errors and warnings from Travis CI. 10 years ago
dteviot dfbd470613 Adjust plug-in order to match profile loading.
Also marks plug-ins with load order problems in red and changes tool tip to describe error.
10 years ago
scrawl 363d1f9207 Merge remote-tracking branch 'upstream/master' 10 years ago
Marco Schulze 3024c67995 Regenerate components/version/version.hpp as HEAD moves on a git checkout
Pull request #416 introduced a common bug where version.hpp wouldn't be
regenerated every build, poteantially leading to stale version data. This
commit adds a custom build target, git-version, which updates version.hpp
before the components library is built.
10 years ago
scrawl e2346d7c37 Store permanent magic effects in savegame (Fixes #1648) 10 years ago
Marc Zinnschlag 82af524a58 Merge remote-tracking branch 'dteviot/master' 10 years ago
scrawl 59f21c6105 Use "hair" as filter for PRT_Hair parts (Fixes #2218) 10 years ago
scrawl b35f87ae7e Improve font file error handling 10 years ago
scrawl c7be850162 Add messagebox escape characters for spell/weapon cycling hotkeys 10 years ago
scrawl f931ba2efc Fix some static analysis issues (coverity) 10 years ago
dteviot ad5d884761 omwlauncher crash when can't read file in active profile (Fixes #1069) 10 years ago
MiroslavR 3cc32b641a Fix some memory leaks 10 years ago
Marc Zinnschlag 120873a66d another workaround for script translation messup 10 years ago
Marc Zinnschlag 057d0913d6 Merge branch 'scriptfixes' 10 years ago
Marc Zinnschlag fc1d42a7d2 fixed exclusion for certain characters at the start of names 10 years ago
Marc Zinnschlag b951251572 handle junk in argument lists (Fixes #2206) 10 years ago
Marc Zinnschlag 5cb94da9c5 compensate for incorrect minus character in translated dialogue script (Fixes #2207) 10 years ago
scrawl 31d28e727f Implement leveled list script functions (Fixes #1546) 10 years ago
scrawl 84b0dcf2e3 Work around particles not being rendered in the first frame 10 years ago