SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
LayoutActor.hpp
1#pragma once
2
3#include "Game/NameObj/NameObj.hpp"
4#include "Game/LiveActor/Spine.hpp"
5#include "Game/Screen/LayoutActorFlag.hpp"
6#include "Game/Screen/LayoutManager.hpp"
7#include "JSystem/JGeometry.hpp"
8
10class StarPointerLayoutTargetKeeper;
11class EffectSystem;
12
13class LayoutActor : public NameObj {
14public:
15 LayoutActor(const char *, bool);
16
17 virtual ~LayoutActor() {
18
19 }
20
21 virtual void movement();
22 virtual void draw() const;
23 virtual void calcAnim();
24 virtual void appear();
25 virtual void kill();
26
27 virtual void control() {
28
29 }
30
31 void initNerve(const Nerve *);
32
33 void setNerve(const Nerve *) const;
34 bool isNerve(const Nerve *) const;
35 s32 getNerveStep() const;
36 const TVec2f getTrans() const;
37 void setTrans(const TVec2f &);
38 LayoutManager* getLayoutManager() const;
39
40 void initLayoutManager(const char *, u32);
41 void initLayoutManagerNoConvertFilename(const char *, u32);
42 void initLayoutManagerWithTextBoxBufferLength(const char *, u32, u32);
43
44 void initEffectKeeper(int, const char *, const EffectSystem *);
45
46 void updateSpine();
47
48 void initPointingTarget(int);
49
50 LayoutManager* mManager; // _C
51 Spine* mSpine; // _10
52 PaneEffectKeeper* mPaneEffectKeeper; // _14
53 StarPointerLayoutTargetKeeper* mStarPointerTargetKeeper; // _18
54 LayoutActorFlag mFlags; // _1C
55};
virtual void draw() const
Draws the object. Does nothing until overridden.
The most basic form of an object.
Definition NameObj.hpp:11
Used for executing states of a LiveActor.
Definition Nerve.hpp:6
Definition Spine.hpp:9