openmw-tes3coop/apps/openmw/mwmechanics
David Cernat c075496748 [General] Replace deathReason in death packets with a killer variable
Add serverside script functions for determining the killers of both players and actors.

Use unsigned ints for script functions returning an object or actor's refNumIndex or mpNum.

Remove updateDeadState() from LocalPlayer and make its code part of updateStatsDynamic() for simplicity.
2018-07-05 22:24:51 +03:00
..
activespells.cpp [Client] Return 0 if effect not found 2018-07-03 03:43:38 +08:00
activespells.hpp [General] Send summon duration to server in ObjectSpawn packets 2018-07-01 00:43:29 +03:00
actor.cpp
actor.hpp convert std::autor_ptr to std::unique_ptr, originally by Ewan Higgs and updated by Bret Curtis 2017-06-09 16:49:25 +02:00
actors.cpp Merge pull request #456 from OpenMW/master while resolving conflicts 2018-07-04 01:52:29 +03:00
actors.hpp Merge pull request #456 from OpenMW/master while resolving conflicts 2018-07-04 01:52:29 +03:00
actorutil.cpp Added MWMechanics::isPlayerInCombat() 2015-09-10 18:48:34 +12:00
actorutil.hpp actorutil.hpp includes mwworld/ptr.hpp 2015-09-11 18:43:06 +12:00
aiactivate.cpp convert std::autor_ptr to std::unique_ptr, originally by Ewan Higgs and updated by Bret Curtis 2017-06-09 16:49:25 +02:00
aiactivate.hpp Cleanup of #include statements 2016-06-18 10:56:28 +09:00
aiavoiddoor.cpp Cleanup of #include statements 2016-06-18 10:56:28 +09:00
aiavoiddoor.hpp Cleanup of #include statements 2016-06-18 10:56:28 +09:00
aibreathe.cpp Added AiBreathe package (feature #1374) 2017-07-25 10:58:04 +04:00
aibreathe.hpp Added AiBreathe package (feature #1374) 2017-07-25 10:58:04 +04:00
aicombat.cpp Merge pull request #456 from OpenMW/master while resolving conflicts 2018-07-04 01:52:29 +03:00
aicombat.hpp Store integer actor ID in AI packages (bug #4036) 2018-06-08 19:57:41 +04:00
aicombataction.cpp implement rateAmmo() function 2018-01-11 21:08:11 +04:00
aicombataction.hpp Combat AI: use WhenUsed enchantments 2017-08-05 12:18:38 +04:00
aiescort.cpp Store integer actor ID in AI packages (bug #4036) 2018-06-08 19:57:41 +04:00
aiescort.hpp Store integer actor ID in AI packages (bug #4036) 2018-06-08 19:57:41 +04:00
aiface.cpp Implement Face instruction (Feature #1424) 2016-07-09 02:16:47 +02:00
aiface.hpp Implement Face instruction (Feature #1424) 2016-07-09 02:16:47 +02:00
aifollow.cpp Store integer actor ID in AI packages (bug #4036) 2018-06-08 19:57:41 +04:00
aifollow.hpp Store integer actor ID in AI packages (bug #4036) 2018-06-08 19:57:41 +04:00
aipackage.cpp AI: try to open doors every AI_REACTION_TIME seconds (bug #4454) 2018-06-13 17:47:32 +04:00
aipackage.hpp AI: try to open doors every AI_REACTION_TIME seconds (bug #4454) 2018-06-13 17:47:32 +04:00
aipursue.cpp Merge pull request #456 from OpenMW/master while resolving conflicts 2018-07-04 01:52:29 +03:00
aipursue.hpp Store integer actor ID in AI packages (bug #4036) 2018-06-08 19:57:41 +04:00
aisequence.cpp Do not stack return packages 2018-06-08 21:53:47 +04:00
aisequence.hpp Add the parameter to AiSequence::stack() to control ability to cancel other AI packages 2018-06-08 21:53:47 +04:00
aistate.hpp
aitravel.cpp AiTravel: store mHidden flag in savegame 2018-06-08 21:53:47 +04:00
aitravel.hpp Add mHidden field to AiTravel 2018-06-08 21:53:47 +04:00
aiwander.cpp Remove unnecessary hack 2018-06-08 21:53:47 +04:00
aiwander.hpp AiWander: resume moving to destination after combat 2018-06-08 21:53:47 +04:00
alchemy.cpp Update alchemy effects after every created potion (#4079) 2017-09-06 15:11:47 +04:00
alchemy.hpp Don't reveal unknown potion effects in alchemy window (Fixes #3146) 2016-02-02 22:50:11 +01:00
autocalcspell.cpp Move spell magicka cost calculation to standalone function 2017-07-24 21:11:59 +04:00
autocalcspell.hpp Show starting abilities, powers and spells in stat-review window (Fixes #2410) 2016-11-19 21:51:19 +01:00
character.cpp Merge pull request #456 from OpenMW/master while resolving conflicts 2018-07-04 01:52:29 +03:00
character.hpp Make 'PlayGroup idle' to cancel scripted animations 2018-06-12 14:04:03 +04:00
combat.cpp Merge pull request #456 from OpenMW/master while resolving conflicts 2018-07-04 01:52:29 +03:00
combat.hpp Fix some style issues flagged by cppcheck 2017-10-15 17:06:58 +02:00
coordinateconverter.cpp Fixed errors pointed out by Zini. 2015-09-12 14:17:46 +12:00
coordinateconverter.hpp Fixed errors pointed out by Zini. 2015-09-12 14:17:46 +12:00
creaturestats.cpp [General] Synchronize summoned creatures 2017-05-30 10:11:01 +03:00
creaturestats.hpp [General] Synchronize summoned creatures 2017-05-30 10:11:01 +03:00
difficultyscaling.cpp [General] Repurpose GameConsole packet as GameSettings & add difficulty to it 2017-06-20 05:28:45 +03:00
difficultyscaling.hpp
disease.hpp Cleanup of #include statements 2016-06-18 10:56:28 +09:00
drawstate.hpp
enchanting.cpp Remove missing souls, remove some runaway exceptions (Fixes #4111) 2018-03-08 23:38:04 +00:00
enchanting.hpp Pass parameters by const reference 2017-04-20 23:47:03 +09:00
levelledlist.hpp Cleanup of #include statements 2016-06-18 10:56:28 +09:00
magiceffects.cpp Remove empty line at the beginning of files 2015-08-18 23:06:12 +02:00
magiceffects.hpp
mechanicsmanagerimp.cpp Merge pull request #456 from OpenMW/master while resolving conflicts 2018-07-04 01:52:29 +03:00
mechanicsmanagerimp.hpp Merge pull request #447 from OpenMW/master while resolving conflicts 2018-06-08 06:01:00 +03:00
movement.hpp
npcstats.cpp Merge pull request #403 from OpenMW/master 2018-04-10 06:43:24 +03:00
npcstats.hpp Merge pull request #403 from OpenMW/master 2018-04-10 06:43:24 +03:00
objects.cpp More consistent wording of errors/warnings 2017-03-04 21:48:31 +01:00
objects.hpp Save scripted animation state (Fixes #1931, #2150, #3393) 2016-08-03 03:52:35 +02:00
obstacle.cpp AI: try to open doors every AI_REACTION_TIME seconds (bug #4454) 2018-06-13 17:47:32 +04:00
obstacle.hpp AI: try to open doors every AI_REACTION_TIME seconds (bug #4454) 2018-06-13 17:47:32 +04:00
pathfinding.cpp [Fix] Some PVS-Studio and cppcheck fixes 2018-04-18 12:36:10 +00:00
pathfinding.hpp Move PathgridGraph out of CellStore 2017-11-27 21:20:31 +00:00
pathgrid.cpp http to https for supported urls (#1625) 2018-03-08 21:23:24 +01:00
pathgrid.hpp Move PathgridGraph out of CellStore 2017-11-27 21:20:31 +00:00
pickpocket.cpp
pickpocket.hpp
repair.cpp Added a special function for GUI sounds playing 2017-07-10 15:48:00 +04:00
repair.hpp
security.cpp Merge pull request #456 from OpenMW/master while resolving conflicts 2018-07-04 01:52:29 +03:00
security.hpp
spellcasting.cpp [General] Replace deathReason in death packets with a killer variable 2018-07-05 22:24:51 +03:00
spellcasting.hpp Update magic effect particles after building new animation (bug #2254) 2018-03-19 10:43:22 +04:00
spellpriority.cpp Avoid fall-through in spell selection 2018-06-28 11:12:48 +04:00
spellpriority.hpp Split weapons and spells rating code from combat actions 2017-08-01 09:05:35 +04:00
spells.cpp Cache magic effects in MWMechanics::Spells 2016-07-02 12:50:00 +02:00
spells.hpp Cache magic effects in MWMechanics::Spells 2016-07-02 12:50:00 +02:00
stat.cpp Change bounds behavior of stat script commands 2017-03-22 15:17:44 +09:00
stat.hpp Fix magicka and fatigue calculations from fortifying attributes 2016-06-25 19:21:49 +09:00
steering.cpp Fixed bug in smoothTurn() 2015-09-06 17:39:48 +12:00
steering.hpp Fixes for building with unity build 2015-09-24 15:21:42 +02:00
summoning.cpp [Client] Don't remove SummonKeys with actorIds of -1 2018-07-05 01:11:45 +03:00
summoning.hpp Added a delay before summoned creature corpse despawning 2017-08-18 11:58:28 +04:00
trading.cpp Use relative stat difference for haggling 2018-06-08 19:00:45 +03:00
trading.hpp Moved mechanics code from MWGui::TradeWindow to MWMechanics::Trading 2016-06-04 12:28:47 -04:00
weaponpriority.cpp implement rateAmmo() function 2018-01-11 21:08:11 +04:00
weaponpriority.hpp implement rateAmmo() function 2018-01-11 21:08:11 +04:00