Commit Graph

93 Commits (520e65f82205480a6286d6c51129c0715ec13149)

Author SHA1 Message Date
scrawl 205e8aa4e9 Feature #957: Implement area magic 11 years ago
scrawl 95651857f3 Fix code duplication 11 years ago
scrawl 0d0005c433 Fix fatigue not restoring when waiting 11 years ago
gus dd870e35db get all actors following a given actor 11 years ago
scrawl 3c0080d2c1 Implement theft detection 11 years ago
Marc Zinnschlag e1355be47c Merge remote-tracking branch 'lgro/valgrind_warnings' 11 years ago
Lukasz Gromanowski 5c5f87445b Fixes for "Conditional jump or move depends on uninitialised value(s)"
and memleaks reported by valgrind.

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
11 years ago
scrawl 79a440e94a Many additions to 900bc06d2c236b:
- Fix indentation
 - Consider any kind of light, not just torch_infinite_time
 - Hostile NPCs should also wear lights, if they have nothing else that could use the slot (or a twohanded weapon)
 - Remove redundant code and don't add additional lights to the inventory
 - World::isDark returns false for interiors which are unaffected by weather
11 years ago
Lukasz Gromanowski 900bc06d2c Fixes #845: NPCs hold torches during the day
Moved 'equipping torches at night and unequipping at day' code from Character
to Actors class.

Removed unneeded showLights method (introduced in previous commits)
from animation/npcanimation classes.

Since this commit autoEquip() method doesn't automatically equip lights.

Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
11 years ago
scrawl 4b4025ed0f Keep the player's CharacterController when changing cells. Fixes several glitches. 11 years ago
scrawl 4ed4c1e319 Add Vampirism and Sun Damage effects. Some fixes. 11 years ago
scrawl 0dc2e829dd Lots of cleanup. Implemented Absorb and Resist. Implemented several instant effects. Added hand VFX. 11 years ago
scrawl bb43ec9b35 Implement damage tick effects 11 years ago
scrawl 3e58655a90 Implemented Fortify/Drain skill magic effects. Scroll of icarian flight works! 11 years ago
Alex "rainChu" Haddad 30ee3c5cf6 Equipped torches and lights run out of fuel 11 years ago
Chris Robinson 9d56e2d86d Apply movement by queueing it to do later 12 years ago
Chris Robinson 2bac4566c0 Merge remote-tracking branch 'PotatoesMaster/werewolf' into werewolf
Conflicts:
	apps/openmw/mwmechanics/actors.cpp
	apps/openmw/mwscript/statsextensions.cpp
12 years ago
PLkolek 8f4506f5b6 Implemented drowning.
Currently no visual effects on losing health, the breathing sound doesn't change (we don't have one),
the breath bar doesn't turn red when no breath left and it doesn't pulse from black to red.
12 years ago
Emanuel Guevel e0d0cdd18a Do not auto-equip items continuously
This was called every couple of frames.
12 years ago
Chris Robinson 7883087586 Store a pointer to the character controller in the map 12 years ago
Torben Carrington c8c1ddd927 Adds functionality for checking if the animation group passed is currently playing on the actor passed. This is needed for AIWander. 12 years ago
Chris Robinson 274f3c7b77 Force character state to update after switching view modes 12 years ago
Chris Robinson 466c0086b8 Use a full Movement to hand off to the world physics update 12 years ago
Chris Robinson 48271e49ec Properly update the Ptr object in the mechanics manager when moving across cells 12 years ago
Chris Robinson 0a4568bd11 Move the PtrMovementList typedef to MWWorld
Use it for the doPhysics parameter, too
12 years ago
Chris Robinson 1c604445ba Store movement vectors as they get returned 12 years ago
Chris Robinson fdabef65a1 Use a method to update an object's cell in the mechanics manager
This prevents destroying and recreating the object's character controller (and
messing up the current animation) when moving between cells.
12 years ago
Chris Robinson d2f5a886c7 Handle playgroup and skipanim through mwmechanics 12 years ago
Chris Robinson 3c02e1ccc9 Run physics right after updating the actors 12 years ago
Chris Robinson 35d17fdaf6 Associate a character controller with each MWWorld::Ptr 12 years ago
Marc Zinnschlag 453f347ee8 Issue #68: added getdeadcount script function 12 years ago
Marc Zinnschlag f72c35fc17 Issue #68: tally deaths 12 years ago
Marc Zinnschlag f2e25b8a47 Issue #68: Keep dead actors out of the actor list for the current scene 12 years ago
scrawl 872fcf3e3d sleeping restoration of health, magicka, and fatigue 12 years ago
Marc Zinnschlag 76de2f7360 Issue #342: handle magic effects 79-82 and 17-20 13 years ago
Marc Zinnschlag a3652f16ce Issue #342: factored out dynamic stats calculation into a separate function 13 years ago
Marc Zinnschlag 87667ab57e Issue #107: Ptr related include cleanup 13 years ago
Marc Zinnschlag c0ee382c72 Issue #176: made actor deregistration more robust 13 years ago
Marc Zinnschlag 79055e281d Issue #256: Force update after building the player character 13 years ago
Marc Zinnschlag e56ff9283d Issue #256: moved magic effects update from MechanicsManager to Actors 13 years ago
Marc Zinnschlag 35f478071e Issue #255: deleted the old environment class and using the new one instead 13 years ago
Marc Zinnschlag 0892df0ad3 framework for gamemechanics-realted actor updated 13 years ago
Marc Zinnschlag d717b7b9dd factored out actor related game mechanics code into a separate class 13 years ago