SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
GameSystemSceneController.cpp
1#include "Game/System/GameSystemSceneController.hpp"
2#include "Game/Util.hpp"
3#include <cstdio>
4
5SceneControlInfo::SceneControlInfo() {
6 _48 = nullptr;
7 mScene[0] = 0;
8 mStage[0] = 0;
9 _40 = 1;
10 _44 = 1;
11 _48 = new JMapIdInfo(MR::getInitializeStartIdInfo());
12
13}
14
15void SceneControlInfo::setScene(const char *pSceneName) {
16 snprintf(mScene, sizeof(mScene), "%s", pSceneName);
17}
18
19void SceneControlInfo::setStage(const char *pStageName) {
20 snprintf(mStage, sizeof(mStage), "%s", pStageName);
21}
22
23void SceneControlInfo::setStartIdInfo(const JMapIdInfo &rInfo) {
24 *_48 = rInfo;
25}