Commit Graph

7324 Commits (moveref)

Author SHA1 Message Date
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
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
Marc Zinnschlag a166034e12 Merge remote-tracking branch 'jordan-ayers/topic/disease-cleanup' 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 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 0bd9f30c67 Remove comment for old MyGUI version 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 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
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 795dfdb557 Fix size_t underflow for journals with 1 page (Fixes #1958) 10 years ago
scrawl c010c28337 Implement ToggleWorld instruction 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
scrawl bdab3fa321 Bullet optimization: Don't update AABBs of static objects every frame 10 years ago
scrawl ff0b4e0583 Add debug window (F10), displays Bullet's profiler output 10 years ago
scrawl 7c52d05f85 Disable topics list visually when in a choice 10 years ago
scrawl e9ed0211c9 Attempt to fix Clang warnings 10 years ago
scrawl 58571f7ac2 Revert "Transfer item ownership to the buyer if item wasn't stolen"
Fixes #1953.

This reverts commit 5d77c5e8ca.
10 years ago
scrawl 02dec787fd Cache GMSTs in getDerivedDisposition 10 years ago
scrawl ea956b537c Don't search for fFatigueReturnBase and fFatigueReturnMult every frame 10 years ago
MiroslavR 508113f271 Resolve merge conflict 10 years ago
MiroslavR 1c4e52a0e5 Book formatter: Fix an excessive line break case 10 years ago
MiroslavR cb5f661596 Book formatter: Support FONT closing tag, minor code cleanup 10 years ago
scrawl e868a48a63 Don't trigger OnPcHitMe for friendly hits (Fixes #1950)
Don't consider actors as followers if they are also in combat with the follow target
10 years ago
scrawl 7252cb63a6 Fix cppcheck issues 10 years ago
scrawl 790e0150b1 Fix global map markers being duplicated when cell is visited again 10 years ago
scrawl 18be152ab1 Allow dragging map even when a marker is hovered 10 years ago
scrawl 603e558fb7 Fix broken getCollidingPc / getCollidingActor (cppcheck) 10 years ago
scrawl 97df7c9b22 Get rid of markers.png and use original MW texture, cleanup 10 years ago
scrawl 4f0fc79ea4 Change global map cell size from 24 to 18 and make it configurable 10 years ago
scrawl 0bc840aadd Add NumericEditBox widget 10 years ago
scrawl f56711f443 Fix crash caused by teleportation spells (Fixes #1904) 10 years ago
scrawl 8ad2b95208 Revert "AiFollow: return from execute() if target is not player"
This reverts commit 061c7813f6.

Fixes #1898.
10 years ago
scrawl 40ce5add59 Don't report crime for attacking an NPC that is already in combat with another NPC (Fixes #1908, Fixes #1821) 10 years ago
scrawl 6b65502557 Add properties for new widget classes to MyGUI plugin 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
scrawl 40587f984d Implement price-based mercantile skill progress (Fixes #1947), thanks Hrnchamd
Correct barter formula (removed erroneous clamping)
10 years ago
scrawl 1afcc7adb5 Add imported font colors from openmw.cfg to MyGUI plugin 10 years ago
scrawl 62ab35881e Don't advance skills in werewolf mode (thanks Hrnchamd) 10 years ago
scrawl 088d01d727 Minor cleanup 10 years ago
scrawl 0f99a959eb Update barter offer for all items when another item is added (Fixes #1935) 10 years ago
scrawl a7c0e07d78 Add missing World cleanup for mLevitationEnabled 10 years ago
scrawl 5d77c5e8ca Transfer item ownership to the buyer if item wasn't stolen (Fixes #1933) 10 years ago
scrawl 45b4304237 Store levitation/teleport enabled state in savegames (Fixes #1923) 10 years ago
Marc Zinnschlag 175d4f3d44 Merge remote-tracking branch 'ragora/playdeathlevelupmusic' 10 years ago
Marc Zinnschlag 56858c98b1 Merge remote-tracking branch 'miroslavr/master' 10 years ago
Ragora 06e683d378 Added code to play music on level up and on death 10 years ago
MiroslavR 22c71cec18 Check for text size 10 years ago
MiroslavR 608e1518a5 Hack to prevent newlines at the end of books possibly creating unnecessary pages for mygui versions lower than 3.2.2 10 years ago
MiroslavR f87d7c3fce Book formatter: Do not insert last page if it's empty, code cleanup 10 years ago
MiroslavR 4b1df64fba Book parser: Fix comparison between signed and unsigned integer expressions 10 years ago
Marc Zinnschlag aa7fc8ee47 fix for potential script problem during saved game loading 10 years ago
MiroslavR 51cd2678ae Book formatter: Fix last block of text not displaying 10 years ago
Lukasz Gromanowski c72369fafe Simplified casting when comparing to AV_NOPTS_VALUE.
AV_NOPTS_VALUE is casted to int64_t when compared with pts,
so with libavc >= 56.1 it should be no-op because in that version
it's already signed int.

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
10 years ago
MiroslavR c362ec0f95 Book formatting: Handle line endings as per vanilla, fix tall images causing infinite loop, cleanup 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 7ad6a94523 Removed a warning about comparision between signed and unsigned variable in ffmpeg_decoder.
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 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
Marc Zinnschlag e4b6f135b6 catch exceptions from adding local scripts 10 years ago
scrawl fb26c2c2de Fix autocalculated NPCs not having health/magicka/fatigue set correctly (Fixes #1943) 10 years ago
scrawl b1e74e2a85 Remove support for Ogre 1.8 versions 10 years ago
Lukasz Gromanowski 6987dd768a Removed a warning about comparision between signed and unsigned variable in ffmpeg_decoder.
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
10 years ago
scrawl 3ac04060c1 Fix NPCs being able to practice Block skill 10 years ago
scrawl 023d7072f9 Don't play battle music for enemies out of AI processing range 10 years ago
scrawl d3554084ad Fix weird behaviour of options menu sliders when value was changed out of bounds via cfg file 10 years ago
scrawl f5868f7ae1 Fix layout problems in generate class result dialog 10 years ago
scrawl e42cb8020e Change all skins to get font colors from fallback settings (Fixes #704) 10 years ago
scrawl 25e96b8c7b InteractiveMessageBox: Define a maximum width for the message text 10 years ago
MiroslavR 84d27d55e2 Remove redundant includes 10 years ago
MiroslavR 4f89c3e77a Rework book formatter (Fixes #1148) 10 years ago
Marc Zinnschlag 65ddf7acfe Merge remote-tracking branch 'scrawl/master' 10 years ago
Marc Zinnschlag bc1eaa035d Merge remote-tracking branch 'scrawl/fontcolors' 10 years ago
Marc Zinnschlag 2a48c377a8 Merge remote-tracking branch 'miroslavr/master' 10 years ago
scrawl 9c0649c11d Add basic framework to retrieve font colors from fallback settings (Feature #704) 10 years ago
scrawl cbc242d857 Move item count text to ItemWidget 10 years ago
scrawl b145d183ae Fix incorrect alchemy failure handling when an effect has a zero magnitude/duration (Fixes #1922) 10 years ago
scrawl 8a3a3baed4 Tweak AiEscort maximum distances 10 years ago
scrawl b6c6bfe943 Merge cell names when merging cells (Fixes #1929) 10 years ago
scrawl b39fe85a51 Implement fPCbaseMagickaMult and fNPCbaseMagickaMult 10 years ago
scrawl c05874e1ff Reset CreatureLevList spawning flag if levelled list returned no creature 10 years ago
scrawl c19f89976e Add missing Hit voice dialogue for friendly hits 10 years ago
scrawl 54dac1460c Run global scripts after running local scripts
Turns out to be a compatibility problem with Calvus Horatius contract scripts. The local script needs to be run first, otherwise the cleanup when he quits as result of negative profit does not work properly.
10 years ago
scrawl 08499ea51f Fix Calvus Horatius AiFollow package not being removed after he quits as result of negative profit 10 years ago
scrawl ac97a0f99d Fix dialogue choices being displayed in incorrect order 10 years ago
scrawl be7839873a Don't trigger dynamic stats recalculation when setting up actor initial stats (Fixes #1927)
This caused the magicka value set in the CS to be ignored completely, so flame atronachs were spawning with 50 magicka instead of 105.
10 years ago
scrawl 447e93bdb4 Use SpellCast animation for creatures that have it (flame atronach) 10 years ago
scrawl 07cd647e75 Fix broken AI for creatures with OnTarget spells (Bug #1927) 10 years ago
scrawl 09042ba6d9 Use object name instead of ID when available for tooltips 10 years ago