Commit Graph

951 Commits (a0e89208a0b301666b626a51cdae30e552e50537)

Author SHA1 Message Date
David Cernat d9cfd5bac2 Resolve conflicts with OpenMW 9 years ago
scrawl 8c44334409 Merge pull request #1021 from Allofich/weight
Corrections to tooltip displays of zero-weight items
9 years ago
Allofich 7bf04b5014 Allow showing value of zero-weight lights 9 years ago
Allofich 502a26a7ff Use getWeightString() to avoid casting to int 9 years ago
Allofich 4f5d676b4e Allow weight tooltips for gold and keys if not 0 9 years ago
Allofich caf025f93d Don't show 0 weight tooltips except for potions 9 years ago
Allofich cf7278f8ae Don't show weight tooltip for 0-weight equipment 9 years ago
Allofich ee2702087c Make zero-weight boots play light boot footsteps 9 years ago
Allofich cb9bb92b26 Play locked sounds on locked objects instead of actors 9 years ago
Allofich cad41599cf Fix travis build error and warnings 9 years ago
Allofich 35c14bb9bb Minor rewrite, make "open" spells play glow effect 9 years ago
Allofich e132b52a69 Handle spell glows within updatecallback 9 years ago
Allofich 123c626f2d Add glow when using telekinesis on doors 9 years ago
David Cernat 09d564424f Translate Russian code comment into English 9 years ago
Aesylwinn b4a000913c Merge remote-tracking branch 'yar/master' into Even
# Conflicts:
#	CMakeLists.txt
#	apps/openmw/mwdialogue/filter.cpp
#	apps/openmw/mwmechanics/character.cpp
#	apps/openmw/mwworld/localscripts.cpp
#	components/CMakeLists.txt
#	components/compiler/exprparser.cpp
#	components/sceneutil/workqueue.cpp
9 years ago
Allofich 599e6708ec Allow using keys to open trapped objects of lock level 0 9 years ago
Allofich 249918612d Play trap disarm sound when key used on trapped object 9 years ago
Allofich d4e656ceaf Play trap activation sound on trapped object, not actor 9 years ago
Allofich 53ceefa46a Allow some telekinesis on teleport doors 9 years ago
Koncord 1b259e2d33 Syncing inventory, animations, position, 8 key attributes
Created Package system
9 years ago
scrawl 0720a19fc0 Add support for placing BodyParts in a cell (Bug #3118) 9 years ago
Allofich 35a23c3b49 Implement and use new method allowTelekinesis() 9 years ago
scrawl a825882c6b Process death events at the end of the death animation (Fixes #1873) 9 years ago
scrawl 8fcc1911d9 Use fCombatDistance as the creature attack range 9 years ago
scrawl 11f00e3aa9 Rename safePlaceObject to placeObject 9 years ago
scrawl c3ef387208 Vanilla-compatible creature/NPC respawning (Fixes #2369, Fixes #2467) 9 years ago
scrawl d05603c7fe Directly apply On Target 'When Strikes' enchantments instead of launching a projectile (Fixes #3212) 9 years ago
scrawl c5d3e6c993 Disable preloading of levelled lists 9 years ago
scrawl fb219fea17 Fix respawning of NPCs/creatures when they were moved to a different cell 9 years ago
scrawl f6f9eff9a6 Preload levelled creatures 9 years ago
scrawl 1b8e82e929 Preload NPC body parts 9 years ago
scrawl 84dcf59c50 Fix preloading of equipment parts that don't separate gender 9 years ago
scrawl effe022bb2 Move preload model list to MWClass, preload NPC head/hair 9 years ago
scrawl b9d1d6144a Don't reveal unknown potion effects in alchemy window (Fixes #3146) 9 years ago
scrawl 1905f0bf2d Add support for placing BodyParts in a cell (Bug #3118) 9 years ago
scrawl e5d9ee30f4 Add count argument to copyObjectToCell
Fixes the gold bug introduced in c9ca5bc946
9 years ago
scrawl 32d5dece58 Add count argument to getToolTipInfo 9 years ago
scrawl 0d4729dcd5 Use the const version of CustomData::as* 9 years ago
scrawl b0894ea20d Accept a ConstPtr in hasToolTip 9 years ago
scrawl 51c77c5045 Accept a ConstPtr in getDoorState 9 years ago
scrawl 7a2ca5580a Accept a ConstPtr in RippleSimulation 9 years ago
scrawl 2c51e7345f Use a separate collision type for doors (Fixes #1962) 9 years ago
scrawl 04f7a8f8eb Remove redundant getId function 9 years ago
scrawl 266fbbef48 Accept a ConstPtr in canLock 9 years ago
scrawl c43f80633a Accept a ConstPtr in getEnchantmentPoints 9 years ago
scrawl 303521002d Accept a ConstPtr in adjustScale 9 years ago
scrawl 09bdb0ad4b Accept a ConstPtr in getServices 9 years ago
scrawl 648ee6e7fb Accept a ConstPtr in applyEnchantment 9 years ago
scrawl 3c98f8dde3 Accept a ConstPtr in isPersistent 9 years ago
scrawl 3fe3091275 Accept a ConstPtr in isEssential 9 years ago
scrawl 4a47fc32fa Accept a ConstPtr in getBloodTexture 9 years ago
scrawl 2bd8d60e9f Accept a ConstPtr in getPrimaryFaction, getPrimaryFactionRank 9 years ago
scrawl 2ac92012e8 Accept a ConstPtr in isClass 9 years ago
scrawl 5b082be79f Accept a ConstPtr in getBaseGold 9 years ago
scrawl da7ebfde99 Accept a ConstPtr in copyToCell 9 years ago
scrawl 954186fe1e Accept a ConstPtr in canFly, canSwim & canWalk 9 years ago
scrawl b09bdd6af5 Accept a ConstPtr in isBipedal 9 years ago
scrawl 92a3acfa56 Accept a ConstPtr in getBaseFightRating 9 years ago
scrawl d120f76031 Accept a ConstPtr in getSound 9 years ago
scrawl d77f785cbc Accept a ConstPtr in get*SoundId 9 years ago
scrawl dc92fefd2b Accept a ConstPtr in canBeEquipped, getEquipmentSlots & hasItemHealth 9 years ago
scrawl e0bb284804 Accept a ConstPtr in getWeight 9 years ago
scrawl 0047a2d330 Accept a ConstPtr in canSell 9 years ago
scrawl 2bc851c7d3 Accept a ConstPtr in getEnchantment 9 years ago
scrawl beb8805a12 Accept a ConstPtr in getInventoryIcon 9 years ago
scrawl f258c5c508 Accept a ConstPtr in getModel 9 years ago
scrawl d9bbd83b09 Accept a ConstPtr in getToolTipInfo
Accept a ConstPtr in functions used by getToolTipInfo
9 years ago
scrawl ed3486e816 Improve const-correctness in writeAdditionalState 9 years ago
scrawl b48445dea7 Accept a ConstPtr in getScript 9 years ago
scrawl eb51e2838f Utilize the mHasCustomData flag in writeAdditionalState 9 years ago
scrawl 271fcb80c6 Remove container scripts before deleting container 9 years ago
scrawl bdae572264 Merge pull request #840 from scrawl/movedrefs
Object movement between cells
9 years ago
scrawl 3890afd6f5 Merge pull request #843 from kcat/master
Add HRTF options and fix an incorrect SoundID
9 years ago
scrawl 07b064f616 Rename to lowerCaseInPlace 9 years ago
Chris Robinson 91cd6be11b Use the correct SoundId for NPC "land" sounds 9 years ago
scrawl fc449233be Restore support for inserting objects into a cell 9 years ago
scrawl 0975f60d59 Stub out CellStore::get<T> accessors in preparation of reference movement between cells 9 years ago
scrawl cd4a1ffd16 Fast version of dynamic_cast for MWClass 9 years ago
Chris Robinson 82f3651f81 Treat the sound offset as the offset in seconds 9 years ago
scrawl 6405049add Rotations: move doors via Rotation rather than LocalRotation
Now LocalRotation is unneeded, will remove in next commit.
9 years ago
scrawl bd9dc58560 Use the correct scale for actor swim height (Fixes #2833) 9 years ago
Emmanuel Anne 944dfa5372 a light without the carry flag can't be equipped !
it fixes Antares big mod teaching disciplines, it adds a light which should
not be equipped to npcs which have learnt something.
9 years ago
Emmanuel Anne 29a84452ab durations in tooltips : use "show effect duration" setting 9 years ago
Emmanuel Anne 1472711583 add duration to spell icons too
and use gmststrings instead of direct strings in tooltips
durations can display minutes and hours
I don't know any effect lasting an hour or more but you never know...
9 years ago
Emmanuel Anne 47e29480ce show duration of light sources in tooltip
I had forgotten light sources disappear after a while, this way at least
you know it's normal !
9 years ago
dteviot 300c48329d Creature::isFlagBitSet() changed to free function. 9 years ago
dteviot 95d2d82abf extracted isFlagBitSet() 9 years ago
dteviot 541d7fb4fb Fixed assorted issues
* destructor is virtual
* renamed class to Actor
* corrected indentation of case statement
9 years ago
dteviot bb54bbd273 Pulled duplicated functions into common base class 9 years ago
dteviot 77a1d947cc extracted MWMechanics::getPlayer() 10 years ago
dteviot 0ee7407101 extracted common sub-expressions. 10 years ago
scrawl 67bd6cd708 Remove empty line at the beginning of files
git ls-files -z | xargs -0 sed -i '1{/^$/d}'
10 years ago
scrawl 211deeb63e Don't attempt to lock or unlock unsuitable objects (Fixes #2826) 10 years ago
scrawl 7f66339790 Remove a redundant function 10 years ago
Koncord 75e5023590 fix code duplication 10 years ago
scrawl 278a078e9d Unify magic effect tick functions
- Removes duplicated code
- Handle some zero-duration instant effects that were not handled before (disintegrate, sun damage, elemental damage)
10 years ago
scrawl 4637750601 Savegame loading optimization 10 years ago
scrawl 882e359008 Move attackStrength to the CharacterController, where it should have been to begin with
Only relevant for actors in active cells, so doesn't belong in CreatureStats. This change should slightly reduce the game's memory usage.
10 years ago
scrawl 04010b8a1a Set OnPcHitMe even for missed hits 10 years ago
scrawl 7bacb9418d Various math code ported to osg 10 years ago
scrawl 974fda5bde Merge branch 'master' of https://github.com/OpenMW/openmw into osg
Conflicts:
	extern/sdl4ogre/sdlwindowhelper.cpp
10 years ago
scrawl de8e5f0db1 Restore projectiles 10 years ago
scrawl 152d690a7a Minor cleanup 10 years ago
scrawl 22f01b1232 Merge branch 'master' of https://github.com/OpenMW/openmw into osg
Conflicts:
	apps/launcher/graphicspage.cpp
	apps/opencs/editor.cpp
	apps/opencs/model/doc/document.cpp
	apps/opencs/view/render/cell.cpp
	apps/opencs/view/render/mousestate.cpp
	apps/opencs/view/render/textoverlay.cpp
	apps/opencs/view/render/worldspacewidget.cpp
	apps/openmw/mwclass/creature.cpp
	apps/openmw/mwclass/npc.cpp
	apps/openmw/mwgui/inventorywindow.cpp
	apps/openmw/mwgui/loadingscreen.cpp
	apps/openmw/mwgui/mapwindow.cpp
	apps/openmw/mwgui/pickpocketitemmodel.cpp
	apps/openmw/mwgui/waitdialog.cpp
	apps/openmw/mwmechanics/combat.cpp
	apps/openmw/mwmechanics/mechanicsmanagerimp.cpp
	apps/openmw/mwrender/globalmap.cpp
	apps/openmw/mwworld/physicssystem.cpp
	apps/openmw/mwworld/refdata.cpp
	apps/openmw/mwworld/scene.cpp
	apps/openmw/mwworld/worldimp.cpp
	components/sdlutil/sdlinputwrapper.cpp
	extern/shiny/Main/Factory.cpp
	extern/shiny/Main/MaterialInstance.cpp
	extern/shiny/Main/Platform.cpp
	extern/shiny/Main/ShaderSet.cpp
10 years ago
scrawl d1b6289cad Don't teleport followers when using teleportation spells 10 years ago
scrawl 85345e663a Restore getHitContact 10 years ago
scrawl 375b736e74 Use SDL to create the window
No input nor event loop handling yet, so the window will "stop responding" after a few seconds.

Thanks to KittyCat for the GraphicsWindowSDL2 code.
10 years ago
scrawl 4036978718 Empty model exception fix 10 years ago
scrawl e8ec4387d6 Creature collision fix 10 years ago
scrawl 47758c11cd Readded collision objects and movement physics 10 years ago
scrawl 5abeab21ed Various integer/floating point roll adjustments based on wiki 10 years ago
scrawl c31b416ba1 Move physicssystem to a new mwphysics module 10 years ago
scrawl 9f12e53956 Scale NPCs by their Weight property (Fixes #814) 10 years ago
scrawl 8c810e3620 Move rng to components 10 years ago
scrawl 68f93294da Port EffectManager 10 years ago
scrawl c92592493e OpenMW: create a window and render the starting cell(s) 10 years ago
scrawl 642c1d2d36 Build fix 10 years ago
scrawl 4e69e7cc0f OpenMW compiles and runs w/o render window 10 years ago
dteviot 3f28634d1f consolidate random number logic
Note, I suspect Rng::rollClosedProbability() is not needed.  The only difference between it and rollProbability() is that one time in 37k (on Windows), it will give an output of 1.0.
On some versions of Linux, the value of 1.0 will occur about 1 time in 4 billion.
10 years ago
Rohit Nirmal 2540a901d5 Remove unused variable. 10 years ago
scrawl 767624f518 Combat mechanic fixes 10 years ago
scrawl 3879ce6ac1 Get rid of "player" string checks (Fixes #2216) 10 years ago
dteviot e6cd8484a2 fixing MSVC 2013 warning C4244: & C4305
fixes for mistakes in last commit.
10 years ago
dteviot e197f5318b fixing MSVC 2013 warning C4244: & C4305
conversion from 'const float' to 'int', possible loss of data
conversion from 'double' to 'int', possible loss of data
conversion from 'float' to 'int', possible loss of data
10 years ago
dteviot 45b6538820 fixed MSVC 2013 warning C4800
forcing value to bool 'true' or 'false'
10 years ago
dteviot 407cd50890 fixed warning C4099:
type name first seen using 'class' now seen using 'struct'
10 years ago
scrawl 239c0071f5 Armor tooltip should show the effective armor rating 10 years ago
scrawl 75db4d6473 Merge remote-tracking branch 'upstream/openmw-35' into HEAD 10 years ago
scrawl dfaab1188f Fix for broken levelled creature spawning (Fixes #2365) 10 years ago
Alexander "Ace" Olofsson df5a08b6de Move manualref code out of header 10 years ago
scrawl bea88c3643 Stolen item tracking overhaul part 2 (Fixes #2338) 10 years ago
scrawl 7e33471edb Fix code duplication 10 years ago
scrawl 7542fb5cd9 Show map notes on door marker leading to the cell with the note (Fixes #2284) 10 years ago
scrawl 0497a40d09 Fix incorrect sound for thrown weapons 10 years ago
scrawl 431f540791 ESSImport: fix NPC factions 10 years ago
scrawl c7d15e6f74 Revert "Revert "Light charge handling fix""
This reverts commit b95748d044.
10 years ago
scrawl b95748d044 Revert "Light charge handling fix"
This reverts commit 5e0428243b.
10 years ago
scrawl 5e0428243b Light charge handling fix 10 years ago
scrawl 9014dc48ee Don't require the object type id for reading references from savegames
This is redundant, since we can look it up from the RefID.
10 years ago
scrawl 235683e449 Remove LightState from openmw save format to streamline inventory loading 10 years ago
scrawl 41b3a9dba9 Rewrite animated collision shape support (Fixes #2123) 10 years ago
dteviot 7aa0f887c0 Minor changes to ESM::RefNum
1. Changed mIndex to unsigned, to solve potential implementation defined behavior with right shift.
2. Refactoring to minimize use of magic number -1 to indicate "no Content File".
10 years ago
dteviot 7fe2f86d06 Slaughter fish attacks when player only knee deep in water (Fixes #2076) 10 years ago
scrawl bc686c93b5 Potential fix for thrown weapons being regarded as broken 10 years ago
scrawl e0d083f702 Add hand-to-hand combat mechanics for bipedal creatures
You can now have a fistfight with vivec, if you so desire.
10 years ago
scrawl 363d1f9207 Merge remote-tracking branch 'upstream/master' 10 years ago
scrawl 6c9875969a Stop idle animations for non-biped creatures when attacking/moving
The idle animation wouldn't be visible anyway, since these creatures don't have animation layers. However sounds tagged in the animation would still play.
10 years ago
scrawl 377b79d5ba Use SoundGen fallback for type Land only (Fixes #2228) 10 years ago
scrawl d55fe43fc9 Support animation groups for Light and Door objects (Fixes #2039) 10 years ago
scrawl 3912ee2b1d Fix faction rank not being set on items in faction-owned containers 10 years ago
scrawl 1b9209df4a Allow blocking of hand-to-hand attacks 10 years ago
Alexander "Ace" Olofsson 462b41a3a8 Missing files, aka; Why you shouldn't stresscommit 10 years ago
scrawl d642512f71 Error message fix 10 years ago
scrawl 4e0d16da8c Take Scale field in creature record into account (Fixes #2214) 10 years ago
scrawl 2b78e9795d Implement Calm effect removing combat packages (Fixes #1985) 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
scrawl 88a2e4c043 Graceful error handling for missing spells/factions (Fixes #1825, Bug #2176, Bug #2203) 10 years ago
scrawl f42420bc19 Use the Original Creature field for SoundGen lookups 10 years ago
scrawl 886903d70e Implement HitAttemptOnMe function (Bug #2078) 10 years ago
scrawl 3c747195ae Add fall damage for creatures (Fixes #2201) 10 years ago
scrawl e313ed3cef Support animated container models 10 years ago
scrawl 14ae6d28b0 Fix being able to jump when overencumbered 10 years ago
scrawl e48dc45ede Fix creatures not being able to move with 0/0 encumbrance 10 years ago
MiroslavR fa746b8e54 Do not display weight or value in tooltip for zero-weight items (Fixes #2047) 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 29f5cb46ac Merge branch 'master' of github.com:OpenMW/openmw 10 years ago
Marc Zinnschlag 744c56943a Merge remote-tracking branch 'jordan-ayers/topic/misc-cleanup' 10 years ago
MiroslavR 0e19c3fdeb Silence werewolves' footstep sounds when they are running with their claws sheathed 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
Jordan Ayers 2f5721bf61 Fix typo in comments. 10 years ago
scrawl d9165593d9 Fix footstep sounds played during water-walking 10 years ago
MiroslavR de2cb8926a Feature #1697: Queue fade operations, implement hit fader & werewolf overlay 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 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 40587f984d Implement price-based mercantile skill progress (Fixes #1947), thanks Hrnchamd
Correct barter formula (removed erroneous clamping)
10 years ago
scrawl 62ab35881e Don't advance skills in werewolf mode (thanks Hrnchamd) 10 years ago
scrawl fb26c2c2de Fix autocalculated NPCs not having health/magicka/fatigue set correctly (Fixes #1943) 10 years ago
scrawl c05874e1ff Reset CreatureLevList spawning flag if levelled list returned no creature 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 157c53bed4 Handle spellcasting for creatures with no casting animation (Fixes #1856) 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 99c276baa9 Set weapon Magical flag when enchanting a weapon 10 years ago
Marc Zinnschlag b5d5eadf79 Merge remote-tracking branch 'scrawl/master' 10 years ago
scrawl f3d4b63aaf Fix AI moving load doors and throw an exception when trying to do this (Fixes #1907) 10 years ago
MiroslavR 86c286c24e Fix werewolf globals 10 years ago
scrawl cb916594d9 Always show tooltips for dead actors 10 years ago
scrawl f18d4b4ac4 Don't show crosshair tooltips for actors in combat 10 years ago
scrawl c54ab2e846 Don't allow talking to creatures that are in combat 10 years ago
scrawl 6b06ab23aa Don't play sound for torches with OffDefault flag (Fixes #1884) 10 years ago
scrawl adbc50366b Use random attack strength for creatures (Bug #1876)
Determining the attack strength from the time the wind-up animation was held will not work properly, as most creatures don't have this animation.

This fixes another balancing issue with Rieklings (they were previously using an attack strength of 1 every time).
10 years ago
scrawl 59720b7dc6 Implement MagicItems flag for vendors (Fixes #1861) 10 years ago
scrawl 10a0e2434e Open inventory when activating an unconscious actor (Fixes #1848) 11 years ago
scrawl d8943aef2f Encapsulate magic effect magnitude (Feature #1489) 11 years ago