NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
d_a_wm_dokan.hpp
1#pragma once
2#include <game/bases/d_heap_allocator.hpp>
3#include <game/mLib/m_3d/smdl.hpp>
4#include <game/bases/d_wm_obj_actor.hpp>
5
6/// @brief The actor for non-moving pipes found on the World Map.
7/// @details This actor's internal model is unused. The pipe model must be added to the World Map itself.
8/// @ingroup bases
9/// @paramtable
10class daWmDokan_c : public dWmObjActor_c {
11public:
12 daWmDokan_c(); ///< @copydoc dWmObjActor_c::dWmObjActor_c
13 ~daWmDokan_c(); ///< @copydoc dWmObjActor_c::~dWmObjActor_c
14
15 virtual int create();
16 virtual int execute();
17 virtual int draw();
18 virtual int doDelete();
19
20 virtual void processCutsceneCommand(int cutsceneCommandId, bool isFirstFrame);
21
22 dHeapAllocator_c mAllocator; ///< The allocator. @unused
23 m3d::smdl_c mModel; ///< The model. @unused
24};
dWmObjActor_c()
Constructs a new object.
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.
m3d::smdl_c mModel
The model.
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.
dHeapAllocator_c mAllocator
The allocator.
virtual int draw()
do method for the draw operation.