NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
base.hpp
1#pragma once
2#include <types.h>
3#include <nw4r/ut.h>
4
5namespace m2d {
6
7/// @brief The draw order for 2D layouts.
8enum LAYOUT_DRAW_ORDER_e {
9 DRAW_ORDER_COURSE_SELECT_GUIDE = 2,
10 DRAW_ORDER_COLLECTION_COIN_BASE = 5,
11 DRAW_ORDER_SMALL_SCORE = 7,
12 DRAW_ORDER_DEFAULT = 128, ///< The default draw order.
13 DRAW_ORDER_MODEL_PLAY_GUIDE = 139,
14 DRAW_ORDER_PAUSE_WINDOW = 141,
15 DRAW_ORDER_YES_NO_WINDOW = 143,
16 DRAW_ORDER_WIPE = 154,
17};
18
19class Base_c : nw4r::ut::Link {
20public:
21 Base_c() : mDrawOrder(DRAW_ORDER_DEFAULT) {}
22 virtual ~Base_c() {}
23 virtual void draw();
24
25 void entry();
26
27 u8 mDrawOrder;
28};
29
30} // namespace m2d