Commit Graph

1738 Commits (replace)

Author SHA1 Message Date
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
cc9cii 1107156334 Workaround incorrectly reported channel_layout 10 years ago
cc9cii ce3077c970 Test version with debug statements. Also moved some common code out to a separate file. 10 years ago
cc9cii 48a36442c6 Add libswresample and libavresample support for sounds. 10 years ago
cc9cii 862c5fc8f6 Add libavresample support. Tested on windows x64 only. 10 years ago
scrawl 8b0cb239a9 Ignore text keys for zero-length animations (Fixes #1876)
This fixes an issue where the Riekling's attack animation would trigger *two* hits on each swing. It has the "min hit" and "hit" keys at the same time, so the MinHitToHit segment a zero-length animation. This caused problems as the "hit" text key will be encountered twice; once when playing the "max attack to min hit" segment and once when playing the "min hit to hit" segment.
10 years ago
cc9cii 785d2c7cc9 Remove incomplete implementation to support planar formats. Make libswresample a prerequisite. 10 years ago
cc9cii f616000afb More fix based on code review. 10 years ago
cc9cii c396149f23 Code review fix. 10 years ago
Rohit Nirmal e315a72582 Remove extra semicolons at the end of some lines. 10 years ago
cc9cii 7ae8d04c47 Arrgh... silly typo 10 years ago
cc9cii c6cad5adc5 Make cmake more reliably detect libswresample 10 years ago
cc9cii 801b9446b7 Support for ubuntu/debian. Can easily be reverted if not required. 10 years ago
cc9cii 093c7f8882 Moved format conversion to audio_decode_frame() 10 years ago
cc9cii 1e72cf4cdc More refactoring, remove more #ifdef guards and fix repeat samples for planar formats. 10 years ago
cc9cii 5095f729b0 Make travis happy again. 10 years ago
cc9cii 2d6b532ea5 Minimize the use of #ifdef guards for better code legibility. 10 years ago
scrawl 0eb949c8a7 Don't update ripples when they are not used 10 years ago
cc9cii f4dd281393 Simplify the use of swr_convert and add #ifdef guards around code that require libswresample. 10 years ago
cc9cii 0b9d17a81d More cleanup. 10 years ago
cc9cii fdee660ffb Implemented feedback review comments, removing hard coded values and adding error handling. 10 years ago
cc9cii 68cbb8989e Cleanup comments. 10 years ago
cc9cii a7371eda4d Now works for both FLT and S16 formats. The output format is hard coded in the MovieAudioDecoder constructor (default S16). 10 years ago
cc9cii 8429dab271 Working version - converts FLTP to FLT. Does not work when converting to S16. 10 years ago
cc9cii 16c165185b Minor cleanup. Tested successfully on windows x64 using ffmpeg-20140823-git-7444cf9-win64-dev which is on libavcodec version 56.0.101. 10 years ago
cc9cii 944f99b23a Initial commit of FLTP format binkaudio support. Converts to FLT format by manually interleaving decoded samples. swresample library is included with a view to use swr_convert() in future versions, but not used in this commit. 10 years ago
Marc Zinnschlag ce3d75bba2 Merge remote-tracking branch 'scrawl/master' 11 years ago
scrawl 0fe9612afb Implement basic spellcasting AI (Fixes #961)
Select a weapon to attack with in AiCombat and equip it (Fixes #1609, Fixes #1772)
11 years ago
scrawl 4f92044d71 Allow user-created markers on local map (Fixes #1571) 11 years ago
scrawl e0e4cbbb41 Implement Light magic effect (Fixes #1122) 11 years ago
scrawl 714c927fda Fix being able to change camera during death via mouse wheel 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 d8943aef2f Encapsulate magic effect magnitude (Feature #1489) 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 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 94c2517d67 Fix race preview crash (Fixes #1808) 11 years ago
scrawl e2ee3b2497 Merge branch 'master' of https://github.com/OpenMW/openmw
Conflicts:
	apps/openmw/mwrender/terrainstorage.cpp
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
scrawl 28fe81df90 Make Lights with OffDefault flag not emit light nor particles when placed in a cell (Fixes #1796) 11 years ago
scrawl fc1687906b Use the last Loop Stop key for calculating animation velocity (Fixes #1776) 11 years ago
scrawl 34847baa54 Disable head animations for dead actors (Fixes #1781) 11 years ago
scrawl 4a26dcb2ad Avoid calling RenderTarget::update from within loadResource 11 years ago
scrawl 8c26f802e6 Move terrain grid implementation to a component so the editor can use it (Feature #1597) 11 years ago
scrawl 982453d4f6 Move ESM terrain data handler to esmterrain component so it can be used by the editor (Feature #1597) 11 years ago
scrawl c6bf9dfbfb Add ManualResourceLoader for character previews (Fixes #1752) 11 years ago
scrawl 45f0f0e4c3 Use sky_night_02.nif if available (Fixes #1744) 11 years ago
scrawl cd8287da16 Make sure fog texture is loaded before trying to convertToImage 11 years ago
scrawl a18cec7c8e Use a MyGUI widget to render the screen fader (Fixes #1741, Fixes #1719) 11 years ago
scrawl 89af49f669 Make sure fog of war texture is loaded before accessing its buffer 11 years ago
scrawl 45af34d189 Merge branch 'master' of https://github.com/OpenMW/openmw 11 years ago
scrawl 0943ff0886 Fix normalizing sample values 11 years ago
scrawl 625f9a35e6 Implement NPC eye blinking (Fixes #1721) 11 years ago
scrawl 598c0c4ae7 Implement mouth animation for NPCs based on say sound (Fixes #642) 11 years ago
bogglez b56cb7e5ee Remove defunct option for building without FFmpeg
- Added REQUIRED to find_package(FFmpeg)
- Removed USE_FFMPEG option from CMakeLists.txt
- Always use FFmpeg for sound input
- Removed SOUND_DEFINE from CMakeLists.txt
- Removed #else branch from videoplayer.cpp with dummy VideoState code
  (FFmpeg is now guaranteed to exist and the code was incomplete)
- Remove #ifdef OPENMW_USE_FFMPEG in ffmpeg_decoder.cpp, it is guaranteed to be used
- Remove #ifdef OPENMW_USE_FFMPEG from soundmanagerimp.cpp, it is guaranteed to be used
11 years ago
scrawl 3067082534 Make base_anim.nif take priority for biped creatures
Fixes the skeletal minion's WalkForward1h animation.
11 years ago
scrawl 4ec51b386a Add ManualResourceLoader for fog of war textures (Fixes #1675) 11 years ago
scrawl df80c436fb Fix compile error for OPENMW_USE_FFMPEG=0 11 years ago
scrawl 0a2d5d34bc Cancel queued view mode switch when switching view mode (Fixes #1618) 11 years ago
scrawl 5ec96c5394 Add missing visibility flags 11 years ago
scrawl e25fa6c157 Refactor non-distant land terrain path to a grid based implementation (Fixes #1562) 11 years ago
scrawl 10ef0a34d9 Update effects even when main animation is paused (Fixes #1585) 11 years ago
scrawl 516014c071 Trigger hit on start key if there's no hit key (Fixes #1574) 11 years ago
scrawl 78d02d97da Find text keys in reverse (Bug #1578) 11 years ago
scrawl 37c85f0af4 Don't update object root controllers with no time source (Fixes #1564) 11 years ago
scrawl 6a900e0aad Update weapon and shield controllers for creatures 11 years ago
scrawl 07d0f4458d Rotate clouds/particles to come from red mountain (Fixes #245) 11 years ago
scrawl e5254ff8ef Set render queue for rain 11 years ago
scrawl 7b1e1d03d8 Merge branch 'master' of https://github.com/OpenMW/openmw
Conflicts:
	apps/openmw/mwrender/sky.hpp
11 years ago
scrawl f6a568c995 Implement rain (Feature #41) 11 years ago
Marc Zinnschlag 85965bfd47 Merge remote-tracking branch 'scrawl/master' 11 years ago
scrawl ec64f1a53a Reset accumulation root when its animation finishes
Fixes a position flicker after standing up from knockdown.
11 years ago
scrawl ee098de0a6 Don't ignore lighting values of particles not attached to a character 11 years ago
scrawl 693a097b21 Implement idlestorm animation (Feature #41) 11 years ago
scrawl 36132e054a Implement ashstorm, blightstorm, snow and blizzard effects (Feature #41) 11 years ago
slothlife 9ea22324f7 Fix some MSVC warnings.
Several fixes are warnings about truncations on 64-bit, while others are
complaints about mixed signed / unsigned integer operations.
11 years ago
scrawl d296c6e9b7 Handle fog density values of 0 (Bug #1549) 11 years ago
scrawl 98329a94b4 Add case sensitivity workaround for spine bones (Fixes #1547) 11 years ago
scrawl 091f9a8fdc Optimize global map render slightly 11 years ago
Marc Zinnschlag 2683aa9503 Merge remote-tracking branch 'filkry/bug640_luminescent_water' 11 years ago
Fil Krynicki c36fc48c47 Fixed underwater issue
I had accidentally deleted some interpolation parameters.
11 years ago
Fil Krynicki cfea7736d9 WIP fix
Bug is fixed, but appears to have broken vision underwater. Notes:

+ basically fixed by darkening the colour of water such that it is
darker than refracted terrain
+ also disabled sunlight scattering at night. This may actually be
desirable, but given there is no visible moon it seems unlikely to make
much sense, and blends a lot of green into the water colour appearing
luminescent at night
11 years ago
scrawl ee2b81763e Savegame: Store AiSettings and summoned creatures
CreatureStats state is now completely stored (Closes #1174)

Also play VFX_Summon_Start and VFX_Summon_End visual effects.
11 years ago
scrawl 395f98e476 Fix triggering changed flag for all references when cell is visited
The InsertFunctor for cells was calling localRotateObject() for all references which set the mChanged flag in RefData to true.

Also clean up RefData interface slightly.
11 years ago
scrawl 3334078d4d Add first person meshes to refraction render (Fixes #1481) 11 years ago
mrcheko fc6366fb27 Merge remote-tracking branch 'upstream/master'
Equipping_Weapon check isn't needed cause there won't be WeapType_None in
that case

Conflicts:
	apps/openmw/mwmechanics/character.cpp
11 years ago
scrawl 14a9f0ebf8 Handle Quadratic and Linear attenuation independently (Fixes #1456) 11 years ago
mrcheko d6d9df6cec split getStartTime 11 years ago
mrcheko 08e8dab067 merge openmw master 11 years ago
mrcheko 67abc60264 aiming to moving target in ranged combat ai
1) Taking into account target move vector and speed. However aiming is not
ideal, since attack strength can't be controlled directly. I did achieve
almost 100% accuracy updating it everyframe but then thought it would be
unfair, cause AI should mimic human targetting.
2) Also added in this commit func to measure real attack durations for
weapon.
11 years ago
scrawl 823ccb1b3d Don't batch statics that have "references persist" set (temporary fix for Arkngthand door - Fixes #1386) 11 years ago
Marc Zinnschlag 0668019c86 Merge remote-tracking branch 'scrawl/master' 11 years ago
scrawl b68a8e38cd Remove unused map 11 years ago
scrawl 54a5dba3f5 Don't reserve Pauldron parts for robes (Fixes #1396) 11 years ago
scrawl d442853b3e Allow opposite gender's parts as fallback (Fixes #1404) 11 years ago
scrawl d2e98c4de1 Fix forced switch to third person on death not always working
For instance, when dying from fall damage
11 years ago
Rohit Nirmal 4f4a37896e Check if player's CellStore is non-NULL before configuring fog.
This prevents an assertion fail in getCell() when changing the
view distance while in the main menu.
11 years ago
scrawl a6788cfb0e Support lights that do not have a model (Fixes #1361) 11 years ago
scrawl 4caa8c5cca Fix offset to accumulation root not being cleared when adding an animation state with startpoint=1.f (observed with death animations) 11 years ago
scrawl 5660f283dd Fix actor models incorrectly being rotated on X/Y axes 11 years ago
scrawl f3ba31de2d Merge branch 'master' of https://github.com/OpenMW/openmw
Conflicts:
	apps/openmw/mwscript/cellextensions.cpp
11 years ago
scrawl 039398c8ae Basic RefData and CellRef change tracking
Wrapped item charge handling in getItemHealth function
11 years ago
Marc Zinnschlag 130af28fa5 Merge remote-tracking branch 'cc9cii/master'
Conflicts:
	apps/openmw/mwrender/videoplayer.cpp
11 years ago
Marc Zinnschlag ff15601a4c Merge branch 'openmw-30' 11 years ago
cc9cii d2794165ba Disable binkaudio sound for FFmpeg libavocdec versions below 54.55.xxx (Windows x64) and 54.10.xxx (Windows 32bit). Later versions are all allowed, but due to sample formats there will be no sound and this message will be shown on the console "Sound Error: Unsupported sample format: fltp" 11 years ago
scrawl 1d8da95756 Warning fix 11 years ago
cc9cii 367acd9676 Enable video but without sound. 11 years ago
cc9cii 3718847ffc Disable video for Windows until the crash issues are fixed. 11 years ago
Emanuel Guevel 1e4a854433 Remove static method MWWorld::Class::get(&Ptr)
It was just adding a level of indirection to Ptr.getClass().
All the call were replaced by that instead. The number of lines changed
is important, but the change itself is trivial, so everything should be
fine. :)
11 years ago
Marc Zinnschlag f7c89015f9 Merge remote-tracking branch 'scrawl/master' 11 years ago
scrawl e266aff561 Savegame: store projectiles 11 years ago
scrawl e5a21aca53 Refactor projectiles to no longer use MW-objects 11 years ago
scrawl 028e00c98f Add missing status report for some toggle commands 11 years ago
Marc Zinnschlag d08869a25d Merge remote-tracking branch 'slothlife/msvc_warning_cleanup'
Conflicts:
	apps/openmw/mwrender/localmap.cpp
11 years ago
slothlife f33559fead Fixes for MSVC warnings, less overall changes
Kept some fixes from the first round of review. Found out that several
targets weren't being built with the same basic warnings disabled.
Disabled a few warnings for external libraries specifically, rather than
applying them to all targets.
11 years ago
slothlife c160a04ede Revert "Fixes for warnings when building with MSVC"
This reverts commit 46eb20b98c.
11 years ago
scrawl 6cc691115b Savegame: store most of CreatureStats 11 years ago
scrawl 2bc2684a66 Fixes #275: force updating exterior cell maps even if already in cache 11 years ago
scrawl 54a893994a Also update local map when paused, to make it update properly when teleporting via GUI/console 11 years ago
scrawl ac8abd3398 assert -> exception to gracefully handle corrupted savegames 11 years ago
scrawl c39a0368cf Bug #618: Make local map textures static in an attempt to fix the disappearing maps with D3D.
Also removed problematic DISCARDABLE flag for fog of war textures.
11 years ago
scrawl c98bea2a88 Moved local map update to LocalMap::updatePlayer to fix a brief desync on cell transitions due to sFogOfWarSkip 11 years ago
scrawl a4a9794417 Savegame: store fog of war (Closes #1177) 11 years ago
slothlife 46eb20b98c Fixes for warnings when building with MSVC
Most warnings are innocuous (wrong type-specifier for forward
declarations, conversion of literals into unsigned integers, warnings
about methods optimized out), but I believe actual bugs were revealed in
vartypedelegate.cpp and combat.cpp.
11 years ago
scrawl 92467ba6bc Fix sunlight for interiors 11 years ago
scrawl 6f7fbc867f Fix several leaks 11 years ago