SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
SceneNameObjListExecutor.cpp
1#include "Game/Scene/SceneNameObjListExecutor.hpp"
2
3static bool false_cond = false;
4static bool true_cond = true;
5
6void SceneNameObjListExecutor::initMovementList() {
7 mMovementList = new NameObjCategoryList(0x2E, &cMovementListInitTable, &NameObj::executeMovement, true_cond, "");
8}
9
10void SceneNameObjListExecutor::initCalcAnimList() {
11 mCalcAnimList = new NameObjCategoryList(0x16, &cCalcAnimListInitTable, &NameObj::calcAnim, false_cond, "");
12}
13
14void SceneNameObjListExecutor::initCalcViewAndEntryList() {
15 mBufferHolder = new DrawBufferHolder();
16 mBufferHolder->initTable(&cDrawBufferListInitTable, 0x29);
17}
18
19void SceneNameObjListExecutor::initDrawList() {
20 mDrawList = new NameObjCategoryList(0x53, &cDrawListInitTable, &NameObj::draw, true_cond, "");
21}
22
23SceneNameObjListExecutor::~SceneNameObjListExecutor() {
24
25}
Organizes NameObjs by execution category.
virtual void draw() const
Draws the object. Does nothing until overridden.
Definition NameObj.cpp:29