Commit Graph

7324 Commits (7f905470fae10ac8d5665b19adbc995a92cb720d)

Author SHA1 Message Date
scrawl 4f3995a4d8 Fix werewolf AI being able to use items 10 years ago
scrawl 4acc25f59c Use SoundGen with no creature field as fallback
This fixes the adorable "thump" sounds in the Scrib's idle animation not playing.
10 years ago
scrawl 192626c6f5 SoundGen fix: use Original Creature field only if non-empty 10 years ago
MiroslavR c5a604453e Fix several book formatting issues (Fixes #2204) 10 years ago
scrawl 88a2e4c043 Graceful error handling for missing spells/factions (Fixes #1825, Bug #2176, Bug #2203) 10 years ago
Nik Dyonin 80c92789c2 Fix issue when killed NPC cannot be looted if it was in combat mode before killing. 10 years ago
Marc Zinnschlag 1f74d8cca5 Merge remote-tracking branch 'scrawl/scripttest' 10 years ago
scrawl ba65c6cc7f Add --script-all-dialogue switch to compile all dialogue scripts (Fixes #1659) 10 years ago
scrawl 2ebf328dec Always print the failing dialogue script
These aren't usually very long, so printing them shouldn't spam the console by too much.
10 years ago
scrawl ed6face4aa Disable activation scripts for actors in combat 10 years ago
scrawl 60aa209144 Implement drowning when knocked out underwater (Fixes #1228) 10 years ago
scrawl d034a079e6 Allow equipping twohanded weapon and shield at the same time (Fixes #1785)
The shield can be equipped, meaning armor rating and item enchantments apply, but can not be blocked with.
10 years ago
scrawl bc85bb32c2 Fix vampirism magic effect not applying immediately (Fixes #1984) 10 years ago
scrawl 03da21f088 Remove redundant GUI element showing during loading screens 10 years ago
scrawl e69cf11029 Hide tooltips during loading screens 10 years ago
scrawl cf5fc60e86 Make ToggleMenus affect tooltips (Fixes #1989) 10 years ago
scrawl f42420bc19 Use the Original Creature field for SoundGen lookups 10 years ago
scrawl 2601b26217 Merge branch 'master' of https://github.com/OpenMW/openmw 10 years ago
scrawl 7892ed35f3 PlaceItem, PlaceItemCell: Make sure references are placed above terrain (Bug #2078) 10 years ago
scrawl 886903d70e Implement HitAttemptOnMe function (Bug #2078) 10 years ago
scrawl 5f00a3d5c3 Reset lastHitObject when it is retrieved rather than every frame
This seems to be how vanilla MW does it.
10 years ago
scrawl a355550cab Add support for NPCs with missing head/hair models (Fixes #2078) 10 years ago
scrawl be16f1d0a5 Implement PcForce1stPerson, PcForce3rdPerson, PcGet3rdPerson (Bug #2078) 10 years ago
scrawl d955017079 Don't report script operation status via messageBox (Bug #1942) 10 years ago
Marc Zinnschlag 912dcdc418 Merge remote-tracking branch 'scrawl/ptrupdate' 10 years ago
Marc Zinnschlag 19bd07648b Merge remote-tracking branch 'scrawl/pathgrid' 10 years ago
scrawl ed2aa5a233 Fix crash caused by dangling baseNode pointer 10 years ago
scrawl 7e8ca3fff1 Fix object movement between cells producing a stale Ptr within the script execution (Bug #1942) 10 years ago
scrawl 3270f0e932 Change pathgrid workaround to check for interior cell name 10 years ago
scrawl 623783cd6a Enchanting: fix cast cost for "on use" enchantments being set incorrectly 10 years ago
scrawl 619ea846b4 Enchanting: fixed case where no range types at all are allowed (e.g. a Constant Effect item with an effect that does not allow the Self range-type) 10 years ago
scrawl 74c345f790 Enchanting: fix being able to create On Touch / On Target constant effect enchantments (this combination makes no sense) 10 years ago
scrawl ead6bf1601 Enchanting: cast the enchant points for the item to int (Fixes #2202) 10 years ago
scrawl 3c747195ae Add fall damage for creatures (Fixes #2201) 10 years ago
scrawl e0c6f84546 AiFollow: target has to be seen in order to start following (Fixes #1637) 10 years ago
scrawl 109a3f78a1 Adjust AiFollow distance for groups of multiple followers (Fixes #1637) 10 years ago
scrawl 3ad0189982 Take sound listener y rotation (roll) into account, though currently unused for actors 10 years ago
scrawl 0fe7500f74 Work around pathgrid record limitation (Fixes #2195) 10 years ago
scrawl 855fe33c59 Add vanilla-compatible range limiting for playloopsound (Fixes #244, Fixes #1342) 10 years ago
scrawl f6960debcb Attach sound listener to the player head instead of camera 10 years ago
scrawl cf85cbbc8e Switch sound distance model to AL_INVERSE_DISTANCE 10 years ago
scrawl fbed429b25 Use GMSTs for sound fading distance 10 years ago
scrawl 9f90a1e44b Remove script access to deleted references that have no content file
In original MW these objects are permanently deleted and can not be accessed anymore.
10 years ago
scrawl f49fde3d5d Add support for undeleting references (Fixes #2193)
Deleted references should be accessible via an explicit reference, and can be undeleted using "setdelete 0". Also the Resurrect function implicitely undeletes the given reference.
10 years ago
scrawl 2952a0e2aa Make Resurrect function reset most of the runtime state (Fixes #2181) 10 years ago
scrawl 41542dedf7 Fix map insert return value mixup (Fixes #2192) 10 years ago
scrawl 9a1b7cbe52 Add SharedStateButton, used in spell window and controls box to apply mouseover effect to all buttons within one row (Fixes #1986) 10 years ago
scrawl 416d549568 Fix animation glitch caused by knockdown
If the player was knocked down while having no weapon, spell nor fists ready, the animation state would incorrectly shift to "weapon equipped" even though no weapon is equipped.
10 years ago
scrawl e313ed3cef Support animated container models 10 years ago
scrawl 65536f0857 Load initial particle system state from NIF files (Fixes #2178) 10 years ago
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