NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
d_en_obake_door.hpp
1#pragma once
2
3#include <game/bases/d_en_door.hpp>
4
5/// @brief A ghost house door.
6/// @ingroup bases
7/// @unofficial
8class dEnObakeDoor_c : public daEnDoor_c {
9public:
10 virtual bool isClosed() override;
11 virtual bool isDummyOpen() override;
12 virtual void createMdl() override;
13 virtual void initAnm() override;
14 virtual void initCcData() override;
15 virtual void waitProc() override;
16 virtual void setOpenAnm() override;
17 virtual void setOpenSE() override;
18 virtual void setCloseAnm() override;
19 virtual void setCloseSE() override;
20 virtual void setWaitAnm() override;
21
22 ACTOR_PARAM_CONFIG(IsDummy, 16, 1); ///< @copydoc isDummyOpen
23};
A ghost house door.
virtual void setCloseAnm() override
Sets up the door close animation.
virtual void setWaitAnm() override
Stops all animations for the door.
virtual void setOpenSE() override
Plays the door opening SFX.
virtual void setOpenAnm() override
Sets up the door open animation.
virtual void setCloseSE() override
Plays the door closed SFX.
ACTOR_PARAM_CONFIG(IsDummy, 16, 1)
Returns whether the door must act like fake Ghost House Doors.
virtual void initAnm() override
Initializes the animation for the door.
virtual void createMdl() override
Creates the model and animation for the door.
virtual void waitProc() override
Executed every frame during the Wait state.
virtual void initCcData() override
Initializes collision data for the door.
virtual bool isClosed() override
Checks whether the door is closed.
virtual bool isDummyOpen() override
Returns whether the door must act like fake Ghost House Doors.