1#include <game/bases/d_collection_coin_base.hpp>
3#include <game/framework/f_profile_name.hpp>
4#include <game/bases/d_game_com.hpp>
22 mLayout.mDrawOrder = m2d::DRAW_ORDER_COLLECTION_COIN_BASE;
30 static const char *N_PANE_NAME_TBL[] = {
32 "N_coinBarPos_00",
"N_coinBarPos_01",
"N_coinBarPos_02",
33 "N_coinBarPos_03",
"N_coinBarPos_04",
"N_coinBarPos_05",
34 "N_coinBarPos_06",
"N_coinBarPos_07",
"N_coinBarPos_08",
35 "N_coinBarPos_09",
"N_coinBarPos_10",
"N_coinBarPos_11"
38 if (
mLayout.mpResAccessor ==
nullptr) {
42 mLayout.build(
"worldCollectionCoinBase_01.brlyt",
nullptr);
82 nw4r::lyt::Pane *N_coinBarPos =
mpNullPanes[N_coinBarPos_00 + i];
83 nw4r::lyt::Pane *rootPane =
mpDates[i]->mpRootPane;
91 rootPane->SetTranslate(trans);
96 rootPane->SetScale(scale);
98 u8 alpha =
mpNullPanes[N_coinDateAll_00]->GetAlpha();
99 mpDates[i]->N_coinBarDate_00->SetAlpha(alpha);
virtual int preExecute()
pre method for the execute operation.
The pages for the Star Coins Menu.
bool createLayout()
Loads the resources and creates the layout for the base.
LytBase_c mLayout
The layout of the page.
void setDatePos()
Updates the position of the dates every frame.
virtual int preExecute()
pre method for the execute operation.
virtual int execute()
do method for the execute operation.
virtual int create()
do method for the create operation.
virtual ~dCollectionCoinBase_c()
Destroys the base.
dCollectionCoinDate_c * mpDates[STAR_COIN_MENU_LEVEL_COUNT]
The date bases.
dCollectionCoinBase_c()
Constructs a new base.
bool mIsVisible
Whether the layout is currently visible.
virtual int draw()
do method for the draw operation.
bool mIsCreated
Whether the layout has been successfully created.
virtual int doDelete()
do method for the delete operation.
nw4r::lyt::Pane * mpRootPane
The root pane of the layout.
nw4r::lyt::Pane * mpNullPanes[N_COUNT]
The null panes of the layout.
@ NOT_READY
The step could not completed at this time.
@ SUCCEEDED
The step was completed successfully.
A two-dimensional floating point vector.
A three-dimensional floating point vector.
#define STAR_COIN_MENU_LEVEL_COUNT
The maximum number of levels in the Star Coins Menu.
#define BASE_PROFILE(profName, className)
Creates a basic profile, using the profile number as the execute and draw order value.
bool isGameStop(ulong flag)
Determines if gameplay is currently stopped for the specified reason(s).