Commit Graph

719 Commits (sceneinput)

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