Commit Graph

11007 Commits (2b407a99952f766fd041a5f8b9efaa5cc2b579e8)
 

Author SHA1 Message Date
scrawl 2b407a9995 Refactor NIF cache
- Remove broken cache locking mechanism

This was supposed to unload NIFFiles after a cell transition completes, but it was never working due to a mistake on the line if (--sLockLevel), should have been if (--sLockLevel == 0). Repairing this would increase load times (NIF files would have to be reloaded more frequently), so just removed it for now.

 - Decouple cache from NIFFile (now a new nifcache component)

 - Add API for future background loading

 - Provide a reliable way (SharedPtr) to hold on to loaded NIFFiles. This will be useful to avoid deep copies of keyframe and text key data, which is currently a performance bottleneck.
11 years ago
scrawl e9e7e96c5f SaveGameDialog: use ComboBox accept event, not changePosition (improves keyboard navigation) 11 years ago
scrawl f4b5662562 Make sure not to add duplicate viewports (Fixes #1832)
Wasn't a problem while testing reload() on linux. Maybe an implementation difference with Ogre's D3D rendersystem?
11 years ago
scrawl 7b2070de5a unloadUnreferencedMaterials: Properly unload materials instead of removing techniques 11 years ago
scrawl 83037a1a91 Move fast-forward of particle systems outside of OgreNifLoader (Fixes #1830)
Particle systems were being fast-forwarded before the skeleton base was attached, so particles without the LocalSpace flag would spawn at an incorrect position.
11 years ago
scrawl 03cb66c342 Set render queue group for projectiles (Fixes #1829) 11 years ago
scrawl 888a53af04 SaveGameDialog: Allow deleting saves with keyboard (Delete key) 11 years ago
scrawl 9b38888ac9 Add missing AiFollow ActorId initialization (Fixes #1818) 11 years ago
scrawl bcc79919a7 Fix fortified skill not immediately updating on changing equipment 11 years ago
scrawl 360c7f863c Store magic effect Base values in savegame (Fixes #1489) 11 years ago
scrawl 2db50da8dd Implement magic effect script instructions (Feature #1489) 11 years ago
scrawl d8943aef2f Encapsulate magic effect magnitude (Feature #1489) 11 years ago
scrawl e508450c1c Add persuasion GMST to ensureNeededRecords (Fixes #1817) 11 years ago
scrawl 322480862b InteractiveMessageBox: lay out buttons horizontally if button width does not exceed message width (Fixes #1812)
Also fix some layout bugs.
11 years ago
scrawl bb33b4e005 Revert "Remove horizontal messagebox layout, not used in vanilla (Fixes #1402)"
This reverts commit 40d6c8abf7.
11 years ago
scrawl ddf8c5023e InventoryWindow: don't unnecessarily update preview on opening count dialog 11 years ago
scrawl 0a9a0a3b14 Slightly improve count dialog layout 11 years ago
scrawl 6ddd9cc5a2 Don't show weight or value for keys (Fixes #1815) 11 years ago
Marc Zinnschlag 47619d957a Merge remote-tracking branch 'miroslavr/master' 11 years ago
Marc Zinnschlag e893d0d7d3 Merge remote-tracking branch 'scrawl/master' 11 years ago
MiroslavR 063b40a0ee Correct tooltip for maxed out skills 11 years ago
MiroslavR 236eec3d89 Allow widgets with layout-type tooltip to change user data of widgets from tooltip layout 11 years ago
MiroslavR a9f7a30d90 HBox, VBox: call parent setPropertyOverride 11 years ago
scrawl c4ae07f48a Remove partially broken sound pausing in main menu (Fixes #1707) 11 years ago
scrawl 7432771ac7 For non-active torches set the particle system speed factor to zero instead of destroying it (Fixes #1811) 11 years ago
scrawl 6c6b3bd890 Remove extra setVisibilityFlags on SkelBase
SkelBase is already contained in mEntities.
11 years ago
scrawl ddba9e5854 Improve performance of ItemView resize (reposition widgets instead of recreate) 11 years ago
scrawl 084cc857d4 Update magic effects when changing equipment (Fixes #1646) 11 years ago
MiroslavR 1385a86bd4 Spell creation: do not add skill/attribute effects before selecting the skill or attribute 11 years ago
scrawl 7f807f31d0 Remove comment
Doing some testing with extended journals, doesn't appear to be a performance issue.
11 years ago
scrawl 77a4e38c49 Remove -Wno-ignored-qualifiers and fix caused warnings 11 years ago
scrawl c62d53ae84 Remove no longer needed comments about coordinate system 11 years ago
scrawl c065a4b203 Add ManualResourceLoader for global map overlay (Fixes #1736) 11 years ago
scrawl 1bb82c710c Fix use of uninitialized memory in AiWander::init 11 years ago
scrawl 061c7813f6 AiFollow: return from execute() if target is not player (Fixes #1637) 11 years ago
scrawl f8010c09fe Adjust combat engagement of following actors (Fixes #1810) 11 years ago
scrawl 94c2517d67 Fix race preview crash (Fixes #1808) 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 09f27d142a Clear movement queue when changing to a new cell (Fixes #1802) 11 years ago
scrawl d649c19790 Cache ActorId in AiFollow::getTarget (Fixes #1804) 11 years ago
Marc Zinnschlag 93ed019ca3 Merge remote-tracking branch 'scrawl/master' 11 years ago
scrawl 8ae6796b2f Play creature movement animation without scaling if a fallback is used (Fixes #1797) 11 years ago
scrawl e2ee3b2497 Merge branch 'master' of https://github.com/OpenMW/openmw
Conflicts:
	apps/openmw/mwrender/terrainstorage.cpp
11 years ago
MiroslavR 4f67f5d26f Spellcreation window: set captions to "0" if no effects are added (Fixes #1778) 11 years ago
Marc Zinnschlag 40a33eb9f0 Merge remote-tracking branch 'miroslavr/master' 11 years ago
scrawl b374255447 Improve performance of moving spell window (don't recreate widgets unnecessarily) 11 years ago
scrawl 025f50a2df Improve performance of inventory window resize (don't update selection buffer unnecessarily) 11 years ago
MiroslavR baa14511cf Use ResourceHelpers to replace DDS hacks scattered throughout the code, fix prefix comparision 11 years ago
Marc Zinnschlag a5ecf2e9f0 hide record type column in resources tables 11 years ago
Marc Zinnschlag 98fa789904 fixed mixed-up tooltip 11 years ago