Commit Graph

777 Commits (openmw-39)

Author SHA1 Message Date
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