HomeWildfire Games

Add a C++ interface for CCmpAttack.
AuditedrP23592

Description

Add a C++ interface for CCmpAttack.
This allows Atlas not to rely on eval() to get access to the attack component.
Add a quick test for the added method.
This fixes the animation speed matching that of the actor instead of the template.
Remove some dead code after rP21359
Fixes: #5129
Reviewed by: @Angen
Comments by: @elexis

Differential Revision: https://code.wildfiregames.com/D2464

Event Timeline

bb added a subscriber: bb.Jun 20 2020, 9:26 PM

refs D368, fix included there

/ps/trunk/source/tools/atlas/GameInterface/ActorViewer.cpp
406–413

This is a hardcodation of attacktypes, which should not occur, especially not in the engine.

bb raised a concern with this commit.Jun 20 2020, 9:27 PM
This commit now has outstanding concerns.Jun 20 2020, 9:27 PM
bb accepted this commit.Mon, Oct 12, 2:11 PM
All concerns with this commit have now been addressed.Mon, Oct 12, 2:11 PM