SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
BgmProhibitArea.hpp
1#pragma once
2
3#include "Game/AreaObj/AreaObj.hpp"
4#include "Game/Util.hpp"
5
6struct BgmMuteSet {
7 const char* mGalaxyName;
8 u32 _4;
9 u32 _8;
10};
11
12namespace {
13 static BgmMuteSet sBgmMuteSet[2] = {
14 { "OceanPhantomCaveGalaxy", 7, 1 },
15 { "SoundMapCodeTest", 7, 1 }
16 };
17
18 BgmMuteSet* findDataElement(const char *);
19};
20
21class BgmProhibitArea : public AreaObj {
22public:
23 BgmProhibitArea(int, const char *);
24
25 virtual ~BgmProhibitArea();
26 virtual void init(const JMapInfoIter &);
27 virtual void movement();
28 virtual const char* getManagerName() const;
29
30 u8 _3C;
31 u8 _3D;
32 TVec3f _40;
33};
virtual void init(const JMapInfoIter &)
Intializes the NameObj and can set various settings and construct necessary classes.