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_SMALL_SCORE = 7,
11 DRAW_ORDER_DEFAULT = 128, ///< The default draw order.
12 DRAW_ORDER_PAUSE_WINDOW = 141,
13 DRAW_ORDER_YES_NO_WINDOW = 143,
14 DRAW_ORDER_WIPE = 154,
15};
16
17class Base_c : nw4r::ut::Link {
18public:
19 Base_c() : mDrawOrder(DRAW_ORDER_DEFAULT) {}
20 virtual ~Base_c() {}
21 virtual void draw();
22
23 void entry();
24
25 u8 mDrawOrder;
26};
27
28} // namespace m2d