Commit Graph

7324 Commits (moveref)

Author SHA1 Message Date
scrawl a67e7c64ea Optimize pathgrid store 10 years ago
scrawl 83dcf9ce4b Overwrite existing records in IndexedStore (Fixes #2182) 10 years ago
Marc Zinnschlag eb6e1576be Merge remote-tracking branch 'scrawl/master' 10 years ago
scrawl fee08f97ed Fix crash in character preview for non-existing meshes (Fixes #2128) 10 years ago
scrawl 75b0da5dce Don't updateBoneTree for non-skinned parts (Fixes #2124) 10 years ago
scrawl 14ae6d28b0 Fix being able to jump when overencumbered 10 years ago
scrawl 3519d23518 Race dialog: remove incorrect assumption about numeric index in head/hair record IDs 10 years ago
scrawl 7faa849cef Fix fatigue recalculation using older value (oops) 10 years ago
scrawl dd0cea21b0 Implement overwriting pathgrid records (Fixes #2175) 10 years ago
Paulo Viadanna bfa048e687 Fix #1734: AI will stop combat if target disappear 10 years ago
scrawl fadbb5ad21 Add particle and sound fading for weather transitions (Fixes #2130) 10 years ago
scrawl b9d0552166 Fix positionCell rotation argument when used on the player
This fixes the player's initial orientation on the starting boat, to properly face Jiub.
10 years ago
scrawl 46d93f1b08 Crime update: NPCs can report crimes if they didn't see the crime, but were alerted by someone who saw it and did not report it themselves. 10 years ago
scrawl 507cbcfae3 Remove incorrect implementation of the iAlarm* GMSTs, not used by vanilla MW (Fixes #2064)
According to Hrnchamd, these are unused. The real mechanics are not fully documented, but from a quick test only NPCs with an alarm value of 100 will report crimes.
10 years ago
scrawl ed686ddd2f Don't update nodes with an empty name from the skeleton source (Fixes #2125) 10 years ago
scrawl a1226501fa AiWander: move idle animation handling to non-delayed section (Fixes #2073) 10 years ago
scrawl f9ae0d9d66 Fix dialogue goodbye link conflicting with choice links 10 years ago
scrawl 8103d25b09 Make ToggleMenus close open windows (Fixes #2045) 10 years ago
scrawl c684c99a95 Combat AI: Don't attempt to cast spells when impossible to succeed (Fixes #2059) 10 years ago
scrawl 6960cac5eb Disable third person zoom feature by default due to usability issues (Fixes #2129) 10 years ago
scrawl 61d1aa78ce Move AiWander path finder to temporary storage (Fixes #2082) 10 years ago
Marc Zinnschlag b7cf114d5d Merge remote-tracking branch 'scrawl/delete' 10 years ago
scrawl 48d5789aeb Use a separate flag for references deleted by a content file (Fixes #2018)
The flag must be separate so as to not contaminate the user's savegame.

Fixes the following use cases that were broken before:

 - Content file edits a reference that was already deleted by a previously loaded content file -> reference must stay deleted
 - Changed or new content file deletes a reference that is already present in the user's savegame -> reference must be deleted
 - Said content file is disabled again - reference must be undeleted
10 years ago
MiroslavR 6e1a11f322 Queue screen fade operations invoked by scripts 10 years ago
Marc Zinnschlag 003675318d Merge remote-tracking branch 'scrawl/master' 10 years ago
scrawl 5f5fcc2fef Make PlayGroup use an indefinite number of loops (Fixes #2156) 10 years ago
scrawl 4fd3a994e9 Add model and script information to BetaComment 10 years ago
scrawl ea8f617508 Add missing player control enabled checks (Fixes #2152) 10 years ago
scrawl d7220cdc2f Do not allow decrease below zero in modCurrentMagicka and modCurrentHealth (Fixes #2158) 10 years ago
scrawl 0a466ad643 Make recalculation of magicka less aggressive (Fixes #2155) 10 years ago
MiroslavR cb74c1c36e Set health to 0 if it drops below 1 (Fixes #2163) 10 years ago
MiroslavR 238325455d Erase effects that have expired (Fixes #2134) 10 years ago
scrawl d36dfbe779 Apply the frame time cap to Ogre's ControllerManager (Fixes #2154)
This fixes particle systems getting out of whack due to a particularly long frame time, e.g. after a loading screen.
10 years ago
scrawl ada4e37556 Fix race preview texture not being destroyed properly (Fixes #2098) 10 years ago
scrawl c1e6b8608b Always create a skeleton if there's an "ArrowBone" node (Fixes #2117) 10 years ago
scrawl 414f7ea02c Ignore mouse movements during video playback (Fixes #2139) 10 years ago
scrawl 273a80e2c0 Merge branch 'master' of https://github.com/OpenMW/openmw 10 years ago
Evgenii Babinets fe385214e4 Added proper slow fall effect mechanics. 10 years ago
Marc Zinnschlag de3a26e21b Merge remote-tracking branch 'miroslavr/master' 10 years ago
MiroslavR b8d5a9486a Make Restore/Damage Attribute/Skill effects continuous 10 years ago
scrawl d5768af952 Fix INT_MIN trade exploit (Fixes #2096) 10 years ago
cc9cii f051fb65ff Fix memory leak when multiple documents in 3D edit. Support multiple physics engine per document. 10 years ago
MiroslavR 140013820b Fix invalidated iterator 10 years ago
MiroslavR a4d0068e29 Make forcegreeting no-op for disabled references (Fixes #2093) 10 years ago
Marc Zinnschlag 29c9b6bd01 Merge remote-tracking branch 'scrawl/master' 10 years ago
scrawl 17cb181f88 Use av_get_default_channel_layout for unknown channel layouts 10 years ago
scrawl efa4d09c48 Fix crash when avcodec_decode_audio4 doesn't return a full frame (Fixes #2088) 10 years ago
Marc Zinnschlag 8b3d876534 Merge remote-tracking branch 'lgro/ffmpeg_decoder' 10 years ago
Marc Zinnschlag 7785e3a0bc fixed for potential crash during saved game loading 10 years ago
Marc Zinnschlag ac58dd735b do not crash on exceptions while adding startup scripts 10 years ago
scrawl 45f14f0704 Fix stolen faction-owned items not being confiscated 10 years ago
scrawl f7ba1dbfc8 Add error handling for getPcRank and similar defines (Fixes #2071) 10 years ago
scrawl e48dc45ede Fix creatures not being able to move with 0/0 encumbrance 10 years ago
scrawl c194226d08 Increase maximum height for finding spawn points to 500 (Fixes #2056) 10 years ago
scrawl aa02974d3b Fix Journal instruction for non-existing journal indices (Fixes #2063) 10 years ago
scrawl dab05471be Reset crime when bounty is reset to 0 by a script (Fixes #2057) 10 years ago
scrawl ac067564ea Don't include al.h in decoder classes, format support check will need to be redone later. For now, resample all formats that might not be supported on any hardware. 10 years ago
scrawl 4680bc6c93 Merge branch 'master' of https://github.com/OpenMW/openmw 10 years ago
scrawl 55c9c0a266 Audio resampling fixes
- Don't try to use float audio or extended channel layouts if the hardware does not support them
- Add channel layout resampling support to ffmpeg_decoder
10 years ago
Marc Zinnschlag a87092d11b Merge remote-tracking branch 'miroslavr/master' 10 years ago
Marc Zinnschlag a4be214fb1 Merge remote-tracking branch 'scrawl/master' 10 years ago
cc9cii e01795556f Suppress some warnings for MSVC. 10 years ago
scrawl dbe30e31b9 Make creature's model take priority over base_anim.nif (Fixes #2055) 10 years ago
scrawl b39d69e98c Videoplayer fixes, play/pause & seeking
- Fix rindex overflow
 - Fix audio sample size bugs (was using sample_fmt and channel count of the decoder, instead of the resampled settings). We didn't notice this bug before, because the OpenAL MovieAudioFactory tries to resample to a format of the same byte size.
 - Add support for play/pause and seeking controls (not used by cutscenes in OpenMW)
 - Closing the video when arriving at the stream end is now handled by the user (we may also want to keep the video open and seek back)

The video player now has a standalone demo, at https://github.com/scrawl/ogre-ffmpeg-videoplayer
10 years ago
MiroslavR ed3a3f717f Handle getdistance on objects inside a container (Fixes #2046) 10 years ago
MiroslavR fa746b8e54 Do not display weight or value in tooltip for zero-weight items (Fixes #2047) 10 years ago
MiroslavR 925fa8d193 Reset ownership of items dropped via 'drop' instruction (Fixes #2053) 10 years ago
scrawl e2bad395e5 Leak fix 10 years ago
Marc Zinnschlag 19b380d0b4 Merge remote-tracking branch 'scrawl/master' 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
Marc Zinnschlag c1d867a213 Merge remote-tracking branch 'origin/master' 10 years ago
Marc Zinnschlag 8f0add75f5 Merge remote-tracking branch 'scrawl/master' 10 years ago
Marc Zinnschlag 94d5151273 Merge remote-tracking branch 'miroslavr/master' 10 years ago
scrawl bcb2d714c0 Add TODO comments for future videoplayer enhancements 10 years ago
scrawl 41df4289c6 Merge remote-tracking branch 'upstream/openmw-33' into HEAD
Conflicts:
	apps/openmw/mwworld/store.hpp
10 years ago
Alexander "Ace" Olofsson b5a57920b6 Fix compile error on Windows 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 8b3755a770 Compile fix 10 years ago
scrawl f2877c69d7 Fix old alchemy apparatus still showing in alchemy window after removal 10 years ago
scrawl 192069a181 Add automatic potion naming 10 years ago
scrawl fd7c181e06 Fix alchemy producing potion IDs from content files 10 years ago
scrawl 9bb51fd9c2 Compile fix 10 years ago
scrawl ace8e0175b Fix old alchemy apparatus still showing in alchemy window after removal 10 years ago
scrawl 29ac97be7a Add automatic potion naming 10 years ago
scrawl 7f06e3e7e3 Fix alchemy producing potion IDs from content files 10 years ago
MiroslavR 5a7dbb19f7 Code clarity 10 years ago
scrawl 4047e3c928 Properly handle DialInfo records that were marked as Deleted (Fixes #2035) 10 years ago
scrawl b0f98687e6 Properly handle DialInfo records that were marked as Deleted (Fixes #2035) 10 years ago
MiroslavR ed6bdc0bde Use all topics to search for keywords in dialogues (Fixes #2013)
Move KeywordSearch to MWDialogue
Move hypertext parsing functions to a new file
10 years ago
scrawl deabc52c16 Treat "Root Bone" as the animation root if existing (Fixes #2019) 10 years ago
scrawl 415f67f859 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
scrawl 8233f5894a Fix NpcAnimation non-existing skeleton crash (Fixes #2028) 10 years ago
scrawl f117a75747 Force walk animation when flying (Fixes #2015) 10 years ago
scrawl 5f11ccc298 Show tooltip for non-affordable list items (Fixes #2025) 10 years ago
scrawl 2be65a89a7 Show tooltip for non-affordable list items (Fixes #2025) 10 years ago
Marc Zinnschlag c97845d35d better script compiler diagnostics 10 years ago
scrawl c3ef39eb6f Fix ItemWidget text cleanup (Fixes #2022) 10 years ago
scrawl c4e81adb83 Fix settings window being too small for all tabs on some localizations 10 years ago
scrawl 244db5cbfe Merge branch 'openmw-33' of https://github.com/OpenMW/openmw into openmw-33 10 years ago
Marc Zinnschlag 984b586bb1 fix for implicit references 10 years ago
Marc Zinnschlag 8afdf0f46b dagoth fix 10 years ago
scrawl 69bbbefc09 setDynamic workaround for broken endgame scripts (Fixes #2016) 10 years ago
Alexander "Ace" Olofsson dc788512e2 Fix LNK2019 link error on Visual Studio 2010 builds
For some reason VS2010 (Haven't tested 2013) is REALLY pedantic about class/struct being two different things when it comes to function signatures
10 years ago
Marc Zinnschlag 6beee95151 Merge remote-tracking branch 'terrorfisch/aistate' 10 years ago
Marc Zinnschlag 528dcf761d Merge remote-tracking branch 'internecine/master' 10 years ago
Marc Zinnschlag eb45793eab Merge remote-tracking branch 'thoronador/fix-numeric-limits-usage' 10 years ago
Marc Zinnschlag 61731d3277 Merge remote-tracking branch 'miroslavr/master' 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
scrawl 9edcc332ec Don't remove player's sounds when unloading a cell 10 years ago
scrawl d51daf5875 Fix AI not using F_Always spells, for example "vampire touch" 10 years ago
scrawl 8cb09e89ed Make spells cast by scripts always succeed (Fixes #1993) 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 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
MiroslavR ad253059b1 Hit indicator for absorb/damage health effect 10 years ago
MiroslavR 8dd95fd77e Construct hit fader with correct texture right away to prevent mygui warning 10 years ago
MiroslavR a5e972aeb5 Make collision events available on every frame (thanks, scrawl), make hurtStandingActor and hurtCollidingActor no-op in guimode 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
MiroslavR 2162a9e1b9 Fall back to player_hit_01.dds if bm_player_hit_01.dds is not available 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 0ae604990e Implement continuous damage indication (Fixes #1970) 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
Marc Zinnschlag 3fd10d2a82 Merge remote-tracking branch 'thoronador/fix-uninitialized-members' 10 years ago
Marc Zinnschlag 82b4148a62 Merge remote-tracking branch 'thoronador/fix-uninitialized-members' 10 years ago
Thoronador f29a71b498 remove unused var. mSoftwareCursor in WindowManager 10 years ago
Nikolay Kasyanov 138e3032ce Fix: initialize boolean field with boolean value, not NULL 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
Thoronador db38108801 fix uninitialized pointer variables in some classes 10 years ago
Thoronador a5245d5a13 remove unused dummy variable 10 years ago
terrorfisch c4badcea6e removed warning 10 years ago
terrorfisch c28dfc2fa4 Travis CI fix? 10 years ago
terrorfisch 4eb1668467 references now initialized when they are needed 10 years ago
terrorfisch bbca942601 -improved trigonometric precision
-cleanup
10 years ago
terrorfisch 5248917a6c - changed namespace 10 years ago
Internecine 470d375177 Removed duplicate functions and moved pause check in weather.cpp 10 years ago
terrorfisch db1b93498d Added comment. 10 years ago
terrorfisch 730abf6841 Moved all variables in temporary storage for AiCombat and some more for AiWander.
+Buxfix for previous AiWander changes
10 years ago
MiroslavR 29f5cb46ac Merge branch 'master' of github.com:OpenMW/openmw 10 years ago
Internecine 782e851eb1 Better fix, now allows for teleporting to change weather while still paused. 10 years ago
terrorfisch cae948df96 removed unecessary PathFinders 10 years ago
terrorfisch 4c36c67fb8 Updated AiCombat:
-moved everything except target to temporary storage
-removed the Pathfinder since present in baseclass
-cleaned some trigonometric mess
10 years ago
terrorfisch 4391c1fd00 Addded the parts of AiWander that I fully understand to the temporary storage.
The rest should be done by someone who has a clearer overview over the class.
10 years ago
terrorfisch 0871d45790 Draft how to move temporary package state to CharacterController.
Example for a few values shown in AiWander.
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
Marc Zinnschlag 744c56943a Merge remote-tracking branch 'jordan-ayers/topic/misc-cleanup' 10 years ago
Jordan Ayers 56db525a93 Document the return value of getEffectMultiplier. 10 years ago
MiroslavR d1dc9951d4 Do not display werewolf overlay in third person 10 years ago
MiroslavR 0e19c3fdeb Silence werewolves' footstep sounds when they are running with their claws sheathed 10 years ago
MiroslavR 4086bc4848 Do not spawn blood vfx on player if hit fader is enabled 10 years ago
MiroslavR b6abfb0145 Do not display hit fader if the player wasn't damaged 10 years ago
MiroslavR ff74d54e98 Merge branch 'master' of github.com:OpenMW/openmw 10 years ago
scrawl 9ab8d0a8e6 Hotfix for crash when deleting an actor 10 years ago
scrawl 8097d9801d Fix HasSoulgem function to return number of soulgems 10 years ago
Internecine 3dee4c2b0e Fixes #1706 10 years ago
Jordan Ayers aac2de270e Cleanup: Don't call <environment obj>.get().
mEnvironment.get() is redundant.  Switch the call to resemble the
surrounding environment get() calls, instead.
10 years ago
Jordan Ayers 2f5721bf61 Fix typo in comments. 10 years ago
scrawl 9cce3bc31b Implement fDispositionMod according to research wiki 10 years ago
scrawl 39bc11681e Fix broken onGround status when levitating 10 years ago
scrawl 829a7bfd1b Fix being able to rest while water-walking (Fixes #1712) 10 years ago
scrawl d9165593d9 Fix footstep sounds played during water-walking 10 years ago
scrawl 064f1964ba More efficient water walking 10 years ago
MiroslavR e1799cbcf4 Fix a typo in condition 10 years ago
scrawl 04614651fa Fix recharging items not being updated for actor's initial inventory 10 years ago
MiroslavR de2cb8926a Feature #1697: Queue fade operations, implement hit fader & werewolf overlay 10 years ago
scrawl d790506525 Fix projectiles colliding with dead actors (Fixes #1971) 10 years ago
scrawl c4fa671381 Don't allow raising faction rank if the next rank has no name (Fixes #1975) 10 years ago
scrawl fe4d74a6cb Fix not being able to move with 0/0 encumbrance (Fixes #1979) 10 years ago
scrawl 5c3bc6563b Fix divisions by zero in normalizedEncumbrance 10 years ago
scrawl 8dd410fe96 Teleport indirect followers as well when using a door (Fixes #1974) 10 years ago
scrawl ff11745429 Fix magic projectile sound disappearing after multiple save/load cycles 10 years ago
Jordan Ayers 663647bee8 Simplify getEffectMultiplier.
Both return cases were same, except for some overflow conditions.
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 20777c1b2e Optimize physics shape scaling on cell load 10 years ago
scrawl db6b04d127 Use the footstep volume slider for jump landing sounds (Fixes #1968) 10 years ago
scrawl 95378aa6ac Fix crash when a magic projectile has no sound defined (Fixes #1967) 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
Marc Zinnschlag cd7cc4bec9 Merge remote-tracking branch 'miroslavr/master' 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
MiroslavR 95be7ea738 Revert spelling change to preserve consistency, fix a typo 10 years ago
MiroslavR 4829b1f9cc Support "right" alignment in books 10 years ago
MiroslavR a13039ad1f Allow alignment for images in books 10 years ago
MiroslavR 3287d0b6ef Fix line breaks around IMG tags. 10 years ago
MiroslavR c5e85ebddc Merge branch 'master' of github.com:OpenMW/openmw 10 years ago
scrawl cecc64752e Increase maximum height for finding spawn points (Fixes #1633, Fixes #1881) 10 years ago
scrawl d4ac5c0b57 Use a raycast to find spawn point if convexSweepTest doesn't find one (Fixes #1623, Fixes #1679) 10 years ago
scrawl 6fc53e73ad Don't run AI for knocked-out actors (Fixes #1854) 10 years ago
scrawl 81a9dc0655 Hotfix for not being able to scroll the world map 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