3#include <game/bases/d_heap_allocator.hpp>
4#include <game/mLib/m_3d/anm_chr.hpp>
5#include <game/mLib/m_3d/smdl.hpp>
6#include <game/bases/d_wm_obj_actor.hpp>
7#include <game/bases/d_wm_bgm_sync.hpp>
27 static const int NODE_COUNT = 20;
64 static void hideNode(nw4r::g3d::ResNode node) {
66 node.SetVisibility(
false);
70 static void showNode(nw4r::g3d::ResNode node) {
72 node.SetVisibility(
true);
dWmObjActor_c()
Constructs a new object.
The actor for the decorative clouds used in the World 7 map.
nw4r::g3d::ResFile mResFile
The resource file.
void createModel()
Initializes the resources for the actor.
static const char * sGroupNodeNames[NODE_COUNT]
The bone names used for the culling mechanism.
virtual int doDelete()
do method for the delete operation.
virtual int execute()
do method for the execute operation.
ANIM_e
The available animations for this actor.
virtual int draw()
do method for the draw operation.
m3d::anmChr_c mChrAnim[ANIM_COUNT]
The model animations.
dWmBgmSync_c * mpBgmSync
The background music synchronization helper.
virtual int create()
do method for the create operation.
mSphere_c mCurrNodeClipSphere
The sphere currently in use during per-node culling checks.
void calcModel()
Updates the model's transformation matrix.
daWmCloud_c()
Constructs a new object.
void initState()
Sets up the actor's initial state.
void calcCulling()
Performs per-node culling based on the camera frustum.
void mode_exec()
Process function for the exec process type.
dHeapAllocator_c mAllocator
The allocator.
int mGroupNodeIds[NODE_COUNT]
The bone indices, resolved from sGroupNodeNames.
PROC_TYPE_e mCurrProc
The current process type. See dWmObjActor_c::PROC_TYPE_e.
void init_exec()
Process initialization function for the exec process type.
virtual void processCutsceneCommand(int cutsceneCommandId, bool isFirstFrame)
Contains the actor-specific logic for processing the current world map cutscene.
void initGroupNodeIds()
Initializes the bone index values from the model bone names.
~daWmCloud_c()
Destroys the object.
m3d::smdl_c mModel
The model.
The global configuration for the actor.
float mGroupNodeRadii[NODE_COUNT]
The culling radius for each bone.