NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
d_a_wm_dokan.cpp
1#include <game/bases/d_a_wm_map.hpp>
2#include <game/bases/d_cs_seq_manager.hpp>
3#include <game/bases/d_a_wm_dokan.hpp>
4#include <game/bases/d_wm_lib.hpp>
5
6ACTOR_PROFILE(WM_DOKAN, daWmDokan_c, 0);
7
10
12 mClipSphere.set(mPos, 80.0f);
13 return SUCCEEDED;
14}
15
17 processCutsceneCommand(dCsSeqMng_c::ms_instance->GetCutName(), dCsSeqMng_c::ms_instance->m_164);
18 daWmMap_c::m_instance->GetNodePos(mResNodeIdx, mPos);
19 return SUCCEEDED;
20}
21
23 return SUCCEEDED;
24}
25
27 return SUCCEEDED;
28}
29
30void daWmDokan_c::processCutsceneCommand(int cutsceneCommandId, bool isFirstFrame) {
31 if (cutsceneCommandId != dCsSeqMng_c::CUTSCENE_CMD_NONE) {
32 mIsCutEnd = true;
33 }
34}
mVec3_c mPos
The actor's position.
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 non-moving pipes found on the World Map.
virtual void processCutsceneCommand(int cutsceneCommandId, bool isFirstFrame)
Contains the actor-specific logic for processing the current world map cutscene.
daWmDokan_c()
Constructs a new object.
virtual int doDelete()
do method for the delete operation.
virtual int execute()
do method for the execute operation.
virtual int create()
do method for the create operation.
~daWmDokan_c()
Destroys the object.
virtual int draw()
do method for the draw operation.
@ SUCCEEDED
The step was completed successfully.
Definition f_base.hpp:46
#define ACTOR_PROFILE(profName, className, properties)
Creates an actor profile, using the profile number as the execute and draw order value.
Definition f_profile.hpp:29