PDA

Просмотр полной версии : [12241] Use dynamic collision in main collision methods on Map level


newsbot
04.11.2012, 01:30
Автор: SilverIce


<pre>m src/game/FleeingMovementGenerator.cpp
m src/game/Level1.cpp
m src/game/Map.cpp
m src/game/Map.h
m src/game/MiscHandler.cpp
m src/game/MotionMaster.cpp
m src/game/Object.cpp
m src/game/Spell.cpp
m src/game/SpellEffects.cpp
m src/game/Unit.cpp
m src/shared/revision_nr.h
</pre>
<pre style='white-space:pre-wrap;width:81ex'>[12241] Use dynamic collision in main collision methods on Map level

Update Map::IsInLineOfSight to check for dynamic collision data
Create Map::GetHitPosition (former GetObjectHitPos) to get the hit-position with dynamic collision data

Thanks to Subv, Reamer and Cyberium for code adaptions

Signed-off-by: Schmoozerd <schmoozerd@cmangos></pre>


Подробнее... (https://github.com/cmangos/mangos-wotlk/commit/53b0628d3a41bf82c907b7ce4342c29dc63ded71)