Commit Graph

11626 Commits (a6a3eca930e198de4d2d2a11eca1466a3ef527ea)
 

Author SHA1 Message Date
Lukasz Gromanowski a6a3eca930 Fixes #1887: Equipped items do not emit sounds
Corrected wrong return type of Class::getSound() method.

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
10 years ago
Lukasz Gromanowski e1663de7cf Fixes #1887: Equipped items do not emit sounds
Added getSound() method to MWClass class and implementation
into Light class.

Also added additional bool parameter responsible for enabling/disabling
of playing items sounds into NpcAnimation class constructor.

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
10 years ago
Lukasz Gromanowski b44ba84a80 Issue #1887: Equipped items do not emit sounds
Use separate arrays for sound ids and object parts.
Restored getting inventoryStore via getInventoryStore()
call (removed mInv introduced in previous commit).

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
10 years ago
Lukasz Gromanowski 1a0c3dc6cf Issue #1887: Equipped items do not emit sounds
Removed unused mUnequipping and mFirstEquip member variables.

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
10 years ago
Lukasz Gromanowski 3b9cfba03c Issue #1887: Equipped items do not emit sounds
Sounds are played only when actors draw state
is equal to MWMechanics::DrawState_Nothing

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
10 years ago
Lukasz Gromanowski fa65c8981a Issue #1887: Equipped items do not emit sounds
Played sound items are based on parts not inserted items.

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
10 years ago
Lukasz Gromanowski bcb38c3eba Issue #1887: Equipped items do not emit sounds
Added handling of autoEquip and unequipAll cases.

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
10 years ago
Lukasz Gromanowski e566e4abf2 Issue #1887: Equipped items do not emit sounds
Added playing of sounds for equipped items (at this moment only for lights).

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
10 years ago
Lukasz Gromanowski 6a89b67cb1 Revert "Issue #1887: Equipped items do not emit sounds"
This reverts commit 566211e753.
10 years ago
Lukasz Gromanowski 566211e753 Issue #1887: Equipped items do not emit sounds
Added playing of sounds for equipped items (at this moment only for lights).

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
10 years ago
Marc Zinnschlag 9fd82212b3 Merge remote-tracking branch 'cc9cii/opencs-settings' 10 years ago
scrawl 81a9dc0655 Hotfix for not being able to scroll the world map 10 years ago
cc9cii 115841d31d Do not save window size on exit. 10 years ago
scrawl 083bcaf483 Fix journal quest logs not being marked finished when there are multiple quest IDs in the log 10 years ago
scrawl 8dc20712de Merge branch 'master' of https://github.com/OpenMW/openmw 10 years ago
scrawl 58672c6bb5 Fix for crash in main menu when reflections are enabled 10 years ago
scrawl db086a4d89 Remove unused PairCachingGhostObject 10 years ago
Marc Zinnschlag a166034e12 Merge remote-tracking branch 'jordan-ayers/topic/disease-cleanup' 10 years ago
Marc Zinnschlag f64964d5dd Merge remote-tracking branch 'scrawl/master' 10 years ago
scrawl 7d36a202a8 Implement cell loading threshold (Fixes #1874)
The cell loading threshold (default: 1024 units) prevents exterior cell loading until the player has travelled part-way into the next cell. This gets rid of excessive cell loadings when walking along an exterior cell border.

Lower the maximum allowed view distance in options menu to accomodate. Change setting name so that old settings files are upgraded.
10 years ago
scrawl eda296f1e3 Remove workaround for Ogre 1.8 (no longer supported) 10 years ago
scrawl 861cc26aa6 Don't sell racial spells (Fixes #1961) 10 years ago
scrawl cc63f7f051 Fix broken idle camera 10 years ago
scrawl afbd2de511 Fix broken alchemy magnitude/duration 10 years ago
scrawl 7e10818bdf Fix uninitialized flags for custom-made spells 10 years ago
scrawl d99e416208 Remove some unused methods from OEngine::Gui::Layout 10 years ago
scrawl 0bd9f30c67 Remove comment for old MyGUI version 10 years ago
scrawl a33514fa1d More shader compatibility fixes 10 years ago
Marc Zinnschlag ce52735df6 Merge remote-tracking branch 'cc9cii/Bug-No-1750' 10 years ago
Jordan Ayers 3bc91c66e6 Disease Check: Shorten the resistance calculations. 10 years ago
Jordan Ayers a9a0930b85 Disease check: Reuse corprus check from spells.hpp. 10 years ago
scrawl 1c51694aa9 Don't update physics and animation for actors outside the AI processing distance 10 years ago
scrawl cd52002740 Remove some unneeded bits from collision mask 10 years ago
scrawl 88da7f5157 Adjust border skin for loading bar and message boxes to match vanilla MW 10 years ago
scrawl 85f5754bb6 Apply third person camera distance to the camera node instead of only the camera itself (Fixes #1705) 10 years ago
cc9cii 517a797a3e Remove seemingly unnecessary clearFocus() call (thanks scrawl for help). Fix saving window size on linux. 10 years ago
scrawl f9b6cc468d Don't reset an unbound input action to its default binding if the key/mouse button for that default binding is already used by another action (Fixes #1960) 10 years ago
scrawl 46adf6344a Adjust third person camera height and default distance to match vanilla MW 10 years ago
scrawl ee8b85aa2c Fix priority bug in AiSequence::stack (Fixes #1959) 10 years ago
scrawl c826de49a5 Potential shader compatibility fix 10 years ago
scrawl 795dfdb557 Fix size_t underflow for journals with 1 page (Fixes #1958) 10 years ago
scrawl c010c28337 Implement ToggleWorld instruction 10 years ago
Marc Zinnschlag 850a40d4e2 fixed resources table drag source problem 10 years ago
Jordan Ayers da9d858201 Add 'const' to a spell helper function. 10 years ago
scrawl 3e153d0a9b Optimize actor physics: Use only one convexSweepTest for stepping down and checking onGround status, instead of 2 10 years ago
scrawl b345c50a86 Run stepSimulation before moving actors
Shouldn't make too much of a difference, but a nice side effect is seeing the convexSweepTest calls for actor movements in the profiler results.
10 years ago
scrawl 7f18f85a1d Forgot const 10 years ago
cc9cii 7675df60ba Fix far clip distance (again), workaround for broken settings minimum value. 10 years ago
cc9cii 54c77cf875 Silence clang warnings. 10 years ago
cc9cii f0c739b763 Apply camera setting changes immediately. Remove current value check for shader setting changes. 10 years ago