1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 15:49:56 +00:00
openmw-tes3mp/apps/openmw/mwworld
fredzio 32108adc31 Change projectile behaviour to be like in vanilla wrt. water plane:
- enchanted arrow explode upon hit the water plane
- non enchanted arrow disappear (or more accurately, they hit nothingness)
- enchanted arrow shot underwater explode immediately
- non enchanted arrow disappear immediately

Also, solve a bug that occured previously and could theoritically still happens where we use the last tested collision position for instead of the last registered hit:
Use the hit position as saved inside Projectile::hit() instead of the last position saved inside the callback.
If a projectile collides with several objects (bottom of the sea and water surface for instance), the last collision tested won't necessarily be the impact position as we have no control over the order in which the tests are performed.
2021-09-24 20:32:00 +02:00
..
action.cpp Make the PlayMode and PlayType enums scoped 2017-09-15 02:36:59 -07:00
action.hpp Adjustments to RemoveItem behavior 2017-04-13 22:33:13 +09:00
actionalchemy.cpp Include cleanup 2019-02-19 18:40:33 +03:00
actionalchemy.hpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
actionapply.cpp Added MWMechanics::isPlayerInCombat() 2015-09-10 18:48:34 +12:00
actionapply.hpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
actiondoor.cpp Opening doors 2013-04-28 14:59:15 +02:00
actiondoor.hpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
actioneat.cpp Include cleanup 2019-02-19 18:40:33 +03:00
actioneat.hpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
actionequip.cpp Trim down comment and change flag name 2021-04-07 16:57:06 -05:00
actionequip.hpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
actionharvest.cpp Rework container resolution (#3006) 2020-10-13 17:46:32 +02:00
actionharvest.hpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
actionopen.cpp Allow ActionOpen and ActionTalk only for player (bug #5210 2019-11-18 12:41:11 +04:00
actionopen.hpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
actionread.cpp Implement sBookSkillMessage GMST 2018-04-02 21:12:38 +03:00
actionread.hpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
actionrepair.cpp Remove redundant includes 2019-02-23 08:02:12 +04:00
actionrepair.hpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
actionsoulgem.cpp Include cleanup 2019-02-19 18:40:33 +03:00
actionsoulgem.hpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
actiontake.cpp Use drag and drop for ActionTake when InventoryWindow is active (bug #4543) 2018-09-10 15:18:07 +04:00
actiontake.hpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
actiontalk.cpp Allow ActionOpen and ActionTalk only for player (bug #5210 2019-11-18 12:41:11 +04:00
actiontalk.hpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
actionteleport.cpp Fix follower aggression when traveling. Summoning still has problems but less intrusive than current implementation. 2020-10-03 20:05:17 +00:00
actionteleport.hpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
actiontrap.cpp Implement and use getDistanceToFacedObject() 2016-07-08 23:28:49 +09:00
actiontrap.hpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
cellpreloader.cpp Merge branch 'internal_includes_openmw' into 'master' 2021-05-07 10:53:25 +00:00
cellpreloader.hpp avoid pagerebuild when reloading a same save 2020-06-13 00:22:28 +02:00
cellref.cpp Avoid copying strings in SearchVisitor and readReferenceCollection 2019-10-28 19:28:14 +03:00
cellref.hpp Avoid copying strings in SearchVisitor and readReferenceCollection 2019-10-28 19:28:14 +03:00
cellreflist.hpp Remove redundant formatting changes 2021-01-26 22:29:41 +04:00
cells.cpp Limit pointers cache size to avoid possible bad_alloc errors 2021-04-16 08:10:31 +04:00
cells.hpp Add bound for pointers cache size, as it specified in docs 2021-04-10 11:20:12 +04:00
cellstore.cpp Merge branch 'less_verbose' into 'master' 2021-05-18 08:30:50 +00:00
cellstore.hpp Allow targeting non-unique actors with StartScript (bug #2311) 2020-05-10 14:57:06 +02:00
cellvisitors.hpp Revert "Some actors are supposed to spawn on a static object that belong to an adjacent cell." 2021-01-29 16:51:05 +04:00
class.cpp Revert "Remove physics dependency on basenode" 2021-01-29 16:51:13 +04:00
class.hpp Revert "Remove physics dependency on basenode" 2021-01-29 16:51:13 +04:00
containerstore.cpp Fix an another portion of Coverity warnings 2021-04-18 07:09:44 +04:00
containerstore.hpp Move container unresolving to the separate method 2021-04-14 23:03:35 +04:00
contentloader.hpp Mark only instances from groundcover files as groundcover objects 2021-01-26 22:29:41 +04:00
customdata.cpp Native graphics herbalism support (feature #5010) 2019-05-02 23:03:47 +04:00
customdata.hpp Use CRTP to define CustomData clone function 2021-04-05 11:53:07 +02:00
datetimemanager.cpp Introduce a separate class to control world date and time 2020-06-05 12:07:32 +04:00
datetimemanager.hpp Introduce a separate class to control world date and time 2020-06-05 12:07:32 +04:00
doorstate.hpp Add enum type for door state 2019-08-25 15:21:00 +02:00
esmloader.cpp Remove redundant formatting changes 2021-01-26 22:29:41 +04:00
esmloader.hpp Mark only instances from groundcover files as groundcover objects 2021-01-26 22:29:41 +04:00
esmstore.cpp Merge branch 'optimize_initial_load' into 'master' 2021-05-15 18:48:17 +00:00
esmstore.hpp Use unordered_map for ref count 2021-05-15 18:45:22 +02:00
failedaction.cpp And done! 2021-04-30 20:49:22 +02:00
failedaction.hpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
globals.cpp Introduce a separate class to control world date and time 2020-06-05 12:07:32 +04:00
globals.hpp And done! 2021-04-30 20:49:22 +02:00
inventorystore.cpp Merge pull request #3040 from akortunov/pvs 2021-01-10 12:58:17 +01:00
inventorystore.hpp Store CustomData and ContainerStore as unique_ptr 2021-04-05 11:52:52 +02:00
livecellref.cpp Use new logging system for game itself 2018-08-14 23:05:43 +04:00
livecellref.hpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
localscripts.cpp Convert loop to condition 2021-01-09 14:18:38 +04:00
localscripts.hpp Vanilla-compatible activate / onActivate (Fixes #1629) 2016-02-26 13:08:35 +01:00
manualref.cpp Replace zeroes and nulls by nullptrs 2020-11-29 11:14:07 +04:00
manualref.hpp Move manualref code out of header 2015-02-09 15:01:49 +01:00
nullaction.hpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
player.cpp Replace zeroes and nulls by nullptrs 2020-11-29 11:14:07 +04:00
player.hpp Slightly reduce code duplication 2020-01-09 22:17:01 +03:00
projectilemanager.cpp Change projectile behaviour to be like in vanilla wrt. water plane: 2021-09-24 20:32:00 +02:00
projectilemanager.hpp Merge branch 'restore_caster' into 'master' 2021-03-05 21:07:29 +00:00
ptr.cpp Replace zeroes and nulls by nullptrs 2020-11-29 11:14:07 +04:00
ptr.hpp Replace zeroes and nulls by nullptrs 2020-11-29 11:14:07 +04:00
recordcmp.hpp Include cleanup 2019-02-19 18:40:33 +03:00
refdata.cpp Store CustomData and ContainerStore as unique_ptr 2021-04-05 11:52:52 +02:00
refdata.hpp Add move ctor and assignment operator to RefData 2021-04-05 11:53:07 +02:00
scene.cpp Store copies of ref_ptr for btCollisionShape wrappers in Navigator 2021-08-04 13:16:31 +02:00
scene.hpp Remove unused forward declarations 2021-04-11 14:46:51 +02:00
store.cpp Merge branch 'less_verbose' into 'master' 2021-05-18 08:30:50 +00:00
store.hpp Remove unused function. 2021-05-05 20:27:22 +02:00
timestamp.cpp Correct an error in the timestamp subtracting logic (Fixes #3105) 2015-12-26 00:26:13 +01:00
timestamp.hpp fixed warning C4099: 2015-03-06 21:36:42 +13:00
weather.cpp Give meaningful name to the mEffectFade 2021-03-10 19:10:17 +04:00
weather.hpp remove forward declaration 2020-10-27 19:23:07 +01:00
worldimp.cpp Change projectile behaviour to be like in vanilla wrt. water plane: 2021-09-24 20:32:00 +02:00
worldimp.hpp Merge branch 'fix_navmesh_update' into 'master' 2021-07-05 07:30:49 +00:00