NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
d_model_play_guide.hpp
1#pragma once
2#include <game/bases/d_base.hpp>
3#include <game/bases/d_lytbase.hpp>
4
5/**
6 * @brief The screen overlay for Hint Movies.
7 * @ingroup bases
8 * @details This is the border that appears around the screen during Hint Movies. It's
9 * spawned automatically by the stage scene (dScStage_c) when the game is in the Hint
10 * Movie mode.
11 */
12class dModelPlayGuide_c : public dBase_c {
13public:
14 dModelPlayGuide_c(); ///< @copydoc dBase_c::dBase_c
15 virtual ~dModelPlayGuide_c(); ///< @copydoc dBase_c::~dBase_c
16 virtual int create();
17 virtual int doDelete();
18 virtual int preExecute();
19 virtual int execute();
20 virtual int draw();
21
22 /// @brief Loads the resources and creates the layout for the base.
23 /// @return If the creation was successful.
24 bool createLayout();
25
26 LytBase_c mLayout; ///< The layout of the overlay.
27 nw4r::lyt::Pane *mpRootPane; ///< The root pane of the layout.
28 bool mIsCreated; ///< If the layout has been successfully created.
29};
A 2D layout.
Definition d_lytbase.hpp:9
dBase_c()
Constructs a new base.
Definition d_base.cpp:13
virtual int execute()
do method for the execute operation.
nw4r::lyt::Pane * mpRootPane
The root pane of the layout.
virtual int create()
do method for the create operation.
virtual int draw()
do method for the draw operation.
bool createLayout()
Loads the resources and creates the layout for the base.
virtual ~dModelPlayGuide_c()
Destroys the base.
dModelPlayGuide_c()
Constructs a new base.
virtual int preExecute()
pre method for the execute operation.
bool mIsCreated
If the layout has been successfully created.
LytBase_c mLayout
The layout of the overlay.
virtual int doDelete()
do method for the delete operation.