Commit Graph

7138 Commits (31fab533fe1f6db2634c2abff5f5697e76f7e2fd)

Author SHA1 Message Date
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
scrawl 2eaceb71ba Reject AiTravel destinations further than 7168 units away, as in vanilla MW (Fixes #1911) 10 years ago
scrawl 441073b475 Remove ancient comment 10 years ago
scrawl 3ce3f31452 Adjust turning animation speed multiplier based on turning speed 10 years ago
scrawl 6debd21ec6 Make sure the Jump control is always handled by the PhysicsSystem even if game runs faster than the minimum physics timestep 10 years ago
scrawl 269c200c8f Fix jump velocity mechanics (Fixes #1708) 10 years ago
scrawl b6a89c7845 Fix idlestorm animation conflict with torch animation 10 years ago
scrawl 4c285151a3 Fix incorrect movement animation for some creatures (Fixes #1924) 10 years ago
Marc Zinnschlag 71c868aa94 Merge remote-tracking branch 'scrawl/master' 10 years ago
Marc Zinnschlag 3f671c86a8 Merge remote-tracking branch 'cc9cii/ffmpeg-swresample' 10 years ago
scrawl 0c75c6bf1b Improve spellcasting AI for Drain/Damage effects 10 years ago
scrawl 157c53bed4 Handle spellcasting for creatures with no casting animation (Fixes #1856) 10 years ago
Marc Zinnschlag 19f469c7db Merge remote-tracking branch 'scrawl/master' 10 years ago
Marc Zinnschlag d1d861e1be Merge branch 'run'
Conflicts:
	apps/opencs/model/world/columns.cpp
	apps/opencs/model/world/columns.hpp
	apps/opencs/model/world/data.cpp
	components/CMakeLists.txt
10 years ago
Marc Zinnschlag 89000f6196 removed unused OmwLoader 10 years ago
Marc Zinnschlag ea60c665dd Merge remote-tracking branch 'ragora/bounditemflag' 10 years ago
scrawl 233e221de2 Terminate AI packages when target is disabled or deleted (Fixes #1910) 10 years ago
Marc Zinnschlag 9b7f61b4ba Merge remote-tracking branch 'scrawl/myguiplugin' 10 years ago
scrawl 1270dada34 Don't set Attacked flag when the actor is already in combat with the attacker (Fixes #1909) 10 years ago
scrawl 002b41ba51 Make changeWeather work when the player isn't in a cell yet (workaround for modTESTchargen_v2_5) 10 years ago
scrawl 4b27950879 Don't apply race height to NPC collision shape (Fixes #1487) 10 years ago
scrawl bd96764229 Mark code that will be obsolete when upgrading to MyGUI 3.2.2 10 years ago
Ragora b8851790a6 Covered forgotten old bound item checks 10 years ago
Ragora f250e3df4b Replaced old bound item checks that I knew of to use the new ItemStack::Flag_Bound bit 10 years ago
scrawl 4426b03fa4 Remove some garbage 10 years ago
scrawl 0c273568f2 Increment version number for input configuration
Old files are broken by keycode->scancode switch (319f4e0547)
10 years ago
scrawl 99c276baa9 Set weapon Magical flag when enchanting a weapon 10 years ago
scrawl a42e60970b Revert "delete death events on adding an actor to the scene"
If we go to a different cell in the exact frame of an actor's death, the death event would be lost permanently.

This reverts commit fd2c07a6f4.

Conflicts:
	apps/openmw/mwmechanics/actors.cpp
10 years ago
scrawl 8625764143 Give 100% of health back when Resurrecting an actor (Fixes #1877) 10 years ago
Marc Zinnschlag 081588f484 add project file to content file list when running OpenMW from OpenCS 10 years ago
Marc Zinnschlag 10fa205ced fixed --data switch (was missing composing option) 10 years ago
scrawl 319f4e0547 Bind to scancodes instead of keycodes 10 years ago
scrawl dc1e8d4e22 Don't trigger any mouse button bindings while in the settings menu 10 years ago
scrawl 04c79d5f1e Fix case issue when setting companion's profit on the script 10 years ago
scrawl e54ba2c5d1 Fix broken dialogue Function_HealthPercent 10 years ago
Marc Zinnschlag 882ef37ae3 Merge remote-tracking branch 'ragora/conjureditemsgmstcheck' 10 years ago
Marc Zinnschlag 94a7e38194 Merge remote-tracking branch 'ragora/fixglobalcompassorient' 10 years ago
Marc Zinnschlag 690273d5b3 Merge remote-tracking branch 'ragora/fixmapresize' 10 years ago
scrawl f82224497a Compatibility fix for MyGUI git 10 years ago
scrawl 2c58a879ec Fix minor exploit when map window is shown with transparency 10 years ago
scrawl 2b5adb325b Remove a useless method 10 years ago
scrawl cfc57d0fe0 Use MyGUI's castType for widget casts 10 years ago
MiroslavR 4fdef94034 Use player's base name for profiles 10 years ago
MiroslavR 23e6d52844 Fix UI not updating initially for zero stats 10 years ago
Ragora 282e7abd16 Map Arrow Correction; now rotate global map arrow to whatever the local map arrow orientation is 10 years ago
Ragora 35571bb108 Global compass arrow rotates regardless of indoor or outdoor presence 10 years ago
Ragora 25f99c5d5a Discarded use of a static variable and renamed event function to be less ambiguous 10 years ago
Marc Zinnschlag 560eae3f4d Merge remote-tracking branch 'ragora/conjuredequipmentrmvalfix' 10 years ago
cc9cii 1107156334 Workaround incorrectly reported channel_layout 10 years ago
Ragora 58d70c2895 Removed Unused includes from experimentation 10 years ago
Ragora 4ecac31752 Map keeps focus on wherever it was last moved when resizing map window 10 years ago
scrawl c6bcd75058 Add various custom widgets used in OpenMW to the MyGUI plugin 10 years ago
Ragora e105202ee2 Use std::set instead of std::map 10 years ago
scrawl ee3b1e800c Add FontLoader and transparent BG texture to the MyGUI plugin 10 years ago
cc9cii 675d11c0e5 Mental note: need to get a linux box 10 years ago
cc9cii 8fe6877cb2 More include madness b/w different systems & compilers 10 years ago
cc9cii de41dfc314 Add includes. 10 years ago
Ragora f9e2fd0f3d Also forgot to remove a now unused variable I introduced 10 years ago
Ragora efaa820ee2 Managed to forget the itemmodel.cpp code 10 years ago
Ragora ea43a23505 All GMST logic is done in itemmodel.cpp now with usage of a static cache std::map 10 years ago
cc9cii 0121fdca2c Don't use C99 in printf. 10 years ago
cc9cii be74db8b24 Don't use to_string() 10 years ago
Ragora 83868bca23 Removed unused include left over from experimentation 10 years ago
Ragora ee6298f520 Added Flag_Bound flag for ItemStack to check against but the system behind it is probably not the best 10 years ago
cc9cii ecd9dd81ea Moved debug statements before exception.. 10 years ago
cc9cii ce3077c970 Test version with debug statements. Also moved some common code out to a separate file. 10 years ago
Marc Zinnschlag 5dd424b6c6 Merge remote-tracking branch 'cc9cii/Bug-No-1655' 10 years ago
cc9cii 48a36442c6 Add libswresample and libavresample support for sounds. 10 years ago
Marc Zinnschlag b5d5eadf79 Merge remote-tracking branch 'scrawl/master' 10 years ago
cc9cii 862c5fc8f6 Add libavresample support. Tested on windows x64 only. 10 years ago
Ragora 74e1db3ac8 Minor Correction to existing conjured item logic 10 years ago
scrawl f3d4b63aaf Fix AI moving load doors and throw an exception when trying to do this (Fixes #1907) 10 years ago
Ragora 69dbd6b30f Added checks for different bound item situations 10 years ago
scrawl 36a90198e2 Add option to change screenshot image format 10 years ago
Ragora 141755b473 Appears to have resolved the issue with unequipping conjured items and all possible error conditions deriving from being able to unequip them 10 years ago
scrawl 7fa3100993 Refactor TradeWindow balance buttons to use ControllerRepeatClick 10 years ago
scrawl ebab911e44 Add a hack to support binding the console to a printable key (Fixes #371) and change default console key to morrowind default (GRAVE) 10 years ago
scrawl cf355d0fcb Change Always Run key default to Caps Lock, as in vanilla
A poor choice, but it's still what players coming from vanilla MW will expect.
10 years ago
MiroslavR d64be1c092 Use CellId::mWorldspace to find out whether objects are in the same worldspace 10 years ago
MiroslavR 621e81fa7d Make getdistance return maximum value only if the given objects are in different worldspaces (Fixes #1895) 10 years ago
scrawl 616148e168 Fix "failed to open file" error when no startup script is given 10 years ago
MiroslavR 45c90bdcb5 Call getPtrViaHandle instead of searchPtrViaHandle for faced handle 10 years ago
MiroslavR 7e6e248511 Don't cache faced handle, as its context may have been changed during the frame by input events 10 years ago
MiroslavR 86c286c24e Fix werewolf globals 10 years ago
scrawl dd5f4947d7 Add a TODO comment 10 years ago
scrawl 56cd0da522 Fix potential infinite recursion when an area effect spell is reflected (Fixes #1896) 10 years ago
MiroslavR 5ac2788a15 Feature #1545: Allow to select the player in the console 10 years ago