Commit Graph

1664 Commits (31fab533fe1f6db2634c2abff5f5697e76f7e2fd)

Author SHA1 Message Date
scrawl dbe30e31b9 Make creature's model take priority over base_anim.nif (Fixes #2055) 10 years ago
scrawl eb1c24ffe6 Refactor video player engine to get rid of MWSound dependencies
- Split video player to separate source files.
 - Move video player engine sources to extern/ (repository will be set up on github soon).
 - Audio is handled in a MovieAudioFactory, implemented by the user (here in MWSound subsystem).
 - Handle conversion of unsupported channel layouts via ffmpeg's swresample.
10 years ago
scrawl bcb2d714c0 Add TODO comments for future videoplayer enhancements 10 years ago
scrawl 5711103322 Remove leftover comment 10 years ago
scrawl 202cfa879f Implement frame drop support in the videoplayer (Fixes #1343) 10 years ago
scrawl 290aacd2a6 Fix videoplayer crash on quit
The sound stream thread was trying to update the stream during/after destruction of the video state.
10 years ago
scrawl 8472695f89 Revert "Fix for compiler warnings and deprecated functions usage in videoplayer."
This reverts commit d77546b7dc.

Conflicts:
	apps/openmw/mwrender/videoplayer.cpp
10 years ago
scrawl de0e0fedff Revert "Fix for compiler warnings and deprecated functions usage in videoplayer."
This reverts commit f5589b42ea.

Conflicts:
	apps/openmw/mwrender/videoplayer.cpp
10 years ago
scrawl 681f3fa530 Revert "Removed a warning about comparision between signed and unsigned variable in ffmpeg_decoder."
This reverts commit b40c1ff26c.
10 years ago
scrawl deabc52c16 Treat "Root Bone" as the animation root if existing (Fixes #2019) 10 years ago
scrawl 5892fd9e65 Fix NpcAnimation non-existing skeleton crash (Fixes #2028) 10 years ago
Marc Zinnschlag eb45793eab Merge remote-tracking branch 'thoronador/fix-numeric-limits-usage' 10 years ago
Thoronador 4d62541b62 fix usage of numeric_limits static functions min() and max()
Functions min() and max() of std::numeric_limits<T> are static
and can therefore be accessed via class name and :: operator.
10 years ago
MiroslavR 8456741eaa Fix blindness and create a separate fader for it 10 years ago
Marc Zinnschlag aefe8cd4ae Merge remote-tracking branch 'lgro/issue1887_equipped_items_doesnt_emit_sound'
Conflicts:
	apps/openmw/mwworld/class.cpp
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
MiroslavR 4dc613a04b Merge branch 'master' of github.com:OpenMW/openmw 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
Thoronador 8361019456 fix uninitialized (pointer) vars in more classes 10 years ago
Thoronador 13a0c5624c fix uninitialized member variables in OcclusionQuery class 10 years ago
MiroslavR 29f5cb46ac Merge branch 'master' of github.com:OpenMW/openmw 10 years ago
sylar 70fd531722 None texturing filtering enable for android by default 10 years ago
sylar f75721a217 Add none texture filtering .It is fixes a bug with black objects in shaders glsles 10 years ago
MiroslavR d1dc9951d4 Do not display werewolf overlay in third person 10 years ago
scrawl 064f1964ba More efficient water walking 10 years ago
scrawl 5c3bc6563b Fix divisions by zero in normalizedEncumbrance 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
scrawl db6b04d127 Use the footstep volume slider for jump landing sounds (Fixes #1968) 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
scrawl 58672c6bb5 Fix for crash in main menu when reflections are enabled 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 cc63f7f051 Fix broken idle camera 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
scrawl 46adf6344a Adjust third person camera height and default distance to match vanilla MW 10 years ago
scrawl c010c28337 Implement ToggleWorld instruction 10 years ago
scrawl 7252cb63a6 Fix cppcheck issues 10 years ago
scrawl 4f0fc79ea4 Change global map cell size from 24 to 18 and make it configurable 10 years ago
scrawl 2066097202 Fix incorrect reading of global map state in some cases when the map size changed (Fixes #1946) 10 years ago
Marc Zinnschlag 3cd717cd47 Merge remote-tracking branch 'lgro/videoplayer' 10 years ago
Lukasz Gromanowski b40c1ff26c Removed a warning about comparision between signed and unsigned variable in ffmpeg_decoder.
Corrected ifdef from previous commit around codecCtx->refcounted_frames = 1;

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
10 years ago
Lukasz Gromanowski f5589b42ea Fix for compiler warnings and deprecated functions usage in videoplayer.
Added ifdefs because changes in API were introduced in libavc 56.1
and this code doesn't compile with older versions (ie. on Ubuntu, or Debian).

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
10 years ago
Lukasz Gromanowski d77546b7dc Fix for compiler warnings and deprecated functions usage in videoplayer.
Deprecated functions were:

- AVCodecContext::get_buffer
- AVCodecContext::release_buffer

Changed to:
AVCodecContext::get_buffer2 and setting AVCodecContext::refcounted_frames to 1
before call to avcodec_open2().

release_buffer usage was removed.

Also changed places when some fileds were compared to AV_NOPTS_VALUE
- it's signed, so removed unsigned int casting, or changed casting
to signed int.

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
10 years ago
scrawl b1e74e2a85 Remove support for Ogre 1.8 versions 10 years ago
scrawl e42cb8020e Change all skins to get font colors from fallback settings (Fixes #704) 10 years ago
scrawl 447e93bdb4 Use SpellCast animation for creatures that have it (flame atronach) 10 years ago
scrawl 3ce3f31452 Adjust turning animation speed multiplier based on turning speed 10 years ago
Marc Zinnschlag 3f671c86a8 Merge remote-tracking branch 'cc9cii/ffmpeg-swresample' 10 years ago