|
---|
|
CMaNGOS Commits Изменения, принятые в официальный репозиторий ядра CMaNGOS. git://github.com/cmangos/mangos-wotlk.git |
|
Опции темы | Поиск в этой теме | Опции просмотра |
28.06.2010, 14:22 | #1 |
News Bot
Регистрация: 20.11.2009
Сообщений: 1,290
Сказал(а) спасибо: 0
Поблагодарили 5 раз(а) в 5 сообщениях
|
[10115] Add function to update model_info at changes to scale or model.
<pre>m src/game/Creature.cpp
m src/game/GameEventMgr.cpp m src/game/Pet.cpp m src/game/Player.cpp m src/game/SpellAuras.cpp m src/game/Unit.cpp m src/game/Unit.h m src/shared/revision_nr.h [10115] Add function to update model_info at changes to scale or model. * At every change to model or scale, the related data (bounding_radius/combat_reach) is now updated accordingly (note that player combat_reach are not changed like creature). * UpdateModelData is called from within SetDisplayId while changes to scale has explicit call to UpdateModelData after new scale is set (mostly for aura scale) * The updated values are calculated by (scale*bounding_radius)/(scale*combat_reach) * Database values for bounding_radius/combat_reach are expected to be relative to scale like 1.0 Signed-off-by: NoFantasy <nofantasy@nf.no></pre> Дальше... |
|
|
Похожие темы | ||||
Тема | Автор | Раздел | Ответов | Последнее сообщение |
[10111] Move code for initialize player model data and scale to same function, InitDisplayIds | newsbot | CMaNGOS Commits | 0 | 27.06.2010 19:55 |
[10110] Add function Get/SetObjectScale and update code where scale is set. | newsbot | CMaNGOS Commits | 0 | 27.06.2010 19:55 |
[10109] Add and use actual bounding_radius/combat_reach per model for characters. | newsbot | CMaNGOS Commits | 0 | 27.06.2010 03:34 |
[9095] Allow apply .modify scale to targeted creature (without save scale). | newsbot | CMaNGOS Commits | 0 | 01.01.2010 18:30 |