2#include <game/bases/d_a_wm_map.hpp>
3#include <game/bases/d_cs_seq_manager.hpp>
4#include <game/bases/d_a_wm_cannon.hpp>
5#include <game/bases/d_wm_lib.hpp>
23 setCutEndSpecific(dCsSeqMng_c::ms_instance->GetCutName(), dCsSeqMng_c::ms_instance->m_164);
50 nw4r::g3d::ResMdl resMdl = resFile.GetResMdl(
"cobCannon");
52 mModel.create(resMdl, &
mAllocator, nw4r::g3d::ScnMdl::BUFFER_RESMATMISC, 1,
nullptr);
69 if (cutsceneCommandId == dCsSeqMng_c::CUTSCENE_CMD_NONE) {
73 switch (cutsceneCommandId) {
74 case dCsSeqMng_c::CUTSCENE_CMD_27:
77 case dCsSeqMng_c::CUTSCENE_CMD_28:
80 case dCsSeqMng_c::CUTSCENE_CMD_29:
mMtx_c mMatrix
The actor's partial transformation matrix. See makeMtx() for details.
mVec3_c mScale
The actor's scale (defaults to 1).
mVec3_c mPos
The actor's position.
mAng3_c mAngle
The actor's rotation (for 2D actors).
static dResMng_c * m_instance
The instance of this class.
static void setSoftLight_MapObj(m3d::bmdl_c &mdl)
Sets the soft light effect for map objects.
mSphere_c mClipSphere
A sphere representing the actor's visible area.
int mResNodeIdx
The index of the model's root resource node.
The actor for the Warp Cannons found on the World Map.
dHeapAllocator_c mAllocator
The allocator.
virtual int draw()
do method for the draw operation.
virtual int create()
do method for the create operation.
virtual int doDelete()
do method for the delete operation.
void createModel()
Initializes the resources for the actor.
void calcModel()
Updates the model's transformation matrix.
m3d::smdl_c mModel
The model.
void setClipSphere()
Sets the clip sphere for the actor.
~daWmCannon_c()
Destroys the object.
virtual void setCutEndSpecific(int cutsceneCommandId, bool param2)
virtual int execute()
do method for the execute operation.
daWmCannon_c()
Constructs a new object.
@ SUCCEEDED
The step was completed successfully.
A three-dimensional short angle vector.
A three-dimensional floating point vector.
#define ACTOR_PROFILE(profName, className, properties)
Creates an actor profile, using the profile number as the execute and draw order value.
@ GAME_HEAP_DEFAULT
The default game heap (alias of MEM1 or MEM2).
EGG::Heap * g_gameHeaps[GAME_HEAP_COUNT]
The game heaps.