Commit Graph

2303 Commits (a59940a2c734858332fba99ed8ba94366d23406d)

Author SHA1 Message Date
Marc Zinnschlag 9ab25dbf6b Merge remote-tracking branch 'dteviot/Rng' 10 years ago
dteviot 2cfc4c0286 script Random() command now returns correct range. 10 years ago
scrawl 71782462b7 Subclass ParticleSystem to support limit on the number of particles 10 years ago
scrawl 2e11642273 Fix BillboardNode overriding scale 10 years ago
scrawl a9aee389c0 Emitters attached to correct node, a bit ugly 10 years ago
scrawl 32bb202290 Implement BillboardNode 10 years ago
scrawl d486cde330 Fix broken VisControllers 10 years ago
scrawl 4957ceeb1d Refactor controllers, now part of the scene graph as UpdateCallbacks
Practical benefits:
- The controller update is now run automatically
- Creating an instance of a scene graph should now work properly using the defined copy constructors
10 years ago
scrawl af27a10b0c OpenCS: preliminary port of PreviewWidget to OSG 10 years ago
scrawl 40fc097722 OpenCS: use the new VFS, restored resource tables 10 years ago
Marc Zinnschlag 5198a173fa Merge remote-tracking branch 'corristo/osx-user-data-path' 10 years ago
scrawl 49c2da27b3 OpenCS compiles and runs again (no rendering) 10 years ago
scrawl ab3c28eb96 Use template function for interpolation 10 years ago
scrawl 00ab474188 More work on copy constructors 10 years ago
scrawl f8422c3ed4 Particles mostly completed, still need to attach emitters to the correct node and handle NiBSPArrayController 10 years ago
scrawl 79c2138e53 Port ResourceHelpers to new VFS 10 years ago
Nikolay Kasyanov af2b08214b #2460: use Application Support as user data path on OS X 10 years ago
Nikolay Kasyanov 3e45e9a48a Remove no longer required strnlen wrapper
It was used for MinGW & OS X < 10.7. Minimal OS X version was bumped to
10.7 and MinGW support was recently dropped (see
1eaa64c49c).
10 years ago
Marc Zinnschlag 47bac13749 Merge remote-tracking branch 'scrawl/master' 10 years ago
scrawl f843e12538 Add world space particle systems, will need more changes when emitters are added 10 years ago
scrawl 510375aa63 Add virtual file system (VFS) replacing the low level parts of the old resource system 10 years ago
Marc Zinnschlag c032113247 Merge remote-tracking branch 'sandstranger/release-jni-memory' 10 years ago
scrawl f7ecda68c9 Fix for unicode filenames in ContentModel (Fixes #2451) 10 years ago
sylar db10c87b89 release jni memory 10 years ago
Nathan Aclander 48e2ec2840 Fix comparison of integers of different signs
Clang reported comparison of unsigned long with long. This cast should fix it.
10 years ago
Marc Zinnschlag 86d39cede9 Merge remote-tracking branch 'dteviot/Rng' 10 years ago
dteviot 3f28634d1f consolidate random number logic
Note, I suspect Rng::rollClosedProbability() is not needed.  The only difference between it and rollProbability() is that one time in 37k (on Windows), it will give an output of 1.0.
On some versions of Linux, the value of 1.0 will occur about 1 time in 4 billion.
10 years ago
dteviot 1d7f3474fa Fixed more MSVC 2013 warnings. 10 years ago
dteviot 2ef7fc4e2c Installer work for Windows (Fixes #1621)
1. Correctly reads Windows registry for vanilla MW install location.
2. Populates existing installation page with location of vanilla, when found.
3. On Windows, installer wizard now gets to Import page.
10 years ago
cc9cii 488bc76da5 Fix saving land data. 10 years ago
Marc Zinnschlag 056bc66c6c Merge remote-tracking branch 'scrawl/master' 10 years ago
scrawl 5f051b5bf2 Remove comment about GMST cleaning which was removed. 10 years ago
scrawl 16ddfbca14 Remove some outdated todo comments 10 years ago
scrawl 304277429f Rename variable to not show up in search for "TODO" comments. 10 years ago
Scott Howard e2ef8c4022 fix -Wnewline-eof warnings 10 years ago
scrawl e30f240ba2 Add travel service support for creatures (Fixes #2432) 10 years ago
dteviot 36141b0c53 Merge remote-tracking branch 'OpenMW/master' into FixWarnings
Conflicts:
	apps/openmw/mwinput/inputmanagerimp.cpp
	apps/openmw/mwmechanics/actors.cpp
	extern/sdl4ogre/sdlcursormanager.cpp
10 years ago
dteviot e197f5318b fixing MSVC 2013 warning C4244: & C4305
conversion from 'const float' to 'int', possible loss of data
conversion from 'double' to 'int', possible loss of data
conversion from 'float' to 'int', possible loss of data
10 years ago
Marc Zinnschlag ba482fa41f Merge remote-tracking branch 'dteviot/FixWarnings' 10 years ago
dteviot f2ac939e61 reverted mShouldRepeat back to unsigned char.
As recommended by Scrawl.
10 years ago
Marc Zinnschlag 907ac5ef7f Merge remote-tracking branch 'scrawl/master' 10 years ago
dteviot 45b6538820 fixed MSVC 2013 warning C4800
forcing value to bool 'true' or 'false'
10 years ago
dteviot 407cd50890 fixed warning C4099:
type name first seen using 'class' now seen using 'struct'
10 years ago
cc9cii d28f257ada Fix for bug #2428. Set default flag value (mandatory) for containers. 10 years ago
dteviot 80fe24207c correction from Scrawl.
Now correctly handles skills/attributes.
Also, document what ContentSelectorView::ContentSelector::slotAddonTableItemActivated() is doing.
10 years ago
Marc Zinnschlag 4e1c086d6a load start up script records 10 years ago
Marc Zinnschlag bf92d5cde9 removed redundant mScript field in ESM::StartScript 10 years ago
scrawl a8cb4e807b Warning fix 10 years ago
scrawl 17e3069896 Minor efficiency fix 10 years ago
scrawl f6509fe53e Another crash fix for land record without data 10 years ago
Marc Zinnschlag 8b84fa5579 Merge remote-tracking branch 'scrawl/master' 10 years ago
scrawl 0ad514b29b Fix collision for nodes with MRK extra data (Fixes #2415) 10 years ago
cc9cii 1ee6153940 Remove unnecessary boolean passing between objects. 10 years ago
cc9cii c4625b94e5 Fix OpenCS crashing since commit 9d6145 by showing gamefiles if the content selector was created from OpenCS. 10 years ago
dteviot 5e2839977b file extension comparison needs to be case insensitive. 10 years ago
dteviot 54e3ebde63 addon list in launcher shows addon files with no dependencies (Fixes #2348)
Also, game files must end with ".esm" or ".omwgame".
10 years ago
scrawl f91696723f Fix compile error 10 years ago
Marc Zinnschlag 44d1f43b2b Merge remote-tracking branch 'sandstranger/fixes-for-android' 10 years ago
Marc Zinnschlag 093c577895 Merge remote-tracking branch 'dteviot/Bug2344' 10 years ago
sylar 70398e2f9f change Jni name method 10 years ago
dteviot 9d61457956 AddOn files can be checked if game file is checked, but dependencies do not exist. 10 years ago
dteviot 6878e317a7 launcher: decouple Combo Box model from Plug-ins model.
fixes bug reported by scrawl
1. openmw.cfg had content files in order 'Bloodmoon.esm, Tribunal.esm, Morrowind.esm'
2. Blank_ESM_2.0.esm is in the Data Files directory
3. Do an ini file import.
4. Imported profile will have Blank_ESM_2.0.esm as the game file.  Should be Morrowind.esm.

Root cause: Game File combo box and Plugins Grid shared same data model, so changing plug-in file order also changed order of Game File combo box.
10 years ago
scrawl 8d64f2081e Add particle system state loading 10 years ago
scrawl 2a92fb57f7 Add FlipController 10 years ago
scrawl 6c8613ae35 Add DarkTexture and DetailTexture 10 years ago
scrawl c54ee16748 Add AlphaController and MaterialColorController 10 years ago
scrawl 3839d6f777 Simplify controller classes 10 years ago
scrawl 74dfb23e7b Handle material properties in trishapeToGeometry 10 years ago
scrawl 6c63bab8e4 Change Nif::Property flags to unsigned 10 years ago
scrawl 8e01d8cb19 Add OSG nifloader, currently supports geometry, materials, basic texturing, skinning, morphing, and most controllers. 10 years ago
dteviot 63af9d848a Add constraint: Bloodmoon.esm requires Tribunal.esm. 10 years ago
dteviot 6dc202cba3 Removed unneeded parameter from ContentModel::setContentList() 10 years ago
scrawl 6b36e55a4e NIF reader cleanup: move definitions to cpp file 10 years ago
scrawl 387969bf42 Remove an old .gitignore 10 years ago
scrawl da690c91b3 Delete the old Ogre DataStream class 10 years ago
scrawl 8f0ab7d09f ESM component no longer relies on Ogre DataStreams 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
scrawl 68bce7825e Multiple definition fix 10 years ago
scrawl f6f37e02df NIF Transformation redundancy fix and include fixes 10 years ago
scrawl 8c10d4badb NIF reader compiles without Ogre 10 years ago
scrawl d4dff6ed55 Port BSAFile to istream, remove OGRE bsa resource system 10 years ago
scrawl 5a3d796578 Implement std::istream subclass for constrained file streams 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
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