SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
PlayerUtil.hpp
1#pragma once
2
3#include "JSystem/JGeometry/TVec.hpp"
4#include <revolution.h>
5
7class LiveActor;
8
9namespace MR {
10 TVec3f* getPlayerPos();
11 TVec3f* getPlayerCenterPos();
12
13 TVec3f* getPlayerRotate();
14
15 TVec3f* getPlayerVelocity();
16
17 TVec3f* getPlayerLastMove();
18
19 TVec3f* getPlayerVelocity();
20
21 bool isPlayerDead();
22
23 bool isPlayerInBind();
24
25 bool isPlayerBindedBigBubble();
26
27 bool isPlayerHidden();
28
29 bool isPlayerHipDropLand();
30
31 bool isPlayerSwingAction();
32
33 bool isNearPlayerAnyTime(const LiveActor *, f32);
34
35 void forceKillPlayerByAbyss();
36
37 void setCameraTargetToPlayer(CameraTargetArg *);
38
39 bool isPlayerInAreaObj(const char *);
40
41 bool isOnGroundPlayer();
42
43 bool isPlayerTeresaDisappear();
44
45 bool isPlayerInRush();
46
47 bool isPlayerHipDropFalling();
48
49 f32 getPlayerHitRadius();
50
51 void pushPlayerFromArea(const TVec3f &);
52 bool isOnPlayer(const LiveActor *);
53 bool isOnPlayer(const HitSensor *);
54
55 bool isPlayerJumpRising();
56 TVec3f* getPlayerGroundingPolygon();
57 TVec3f* getPlayerGroundNormal();
58
59 f32 calcDistanceToPlayer(const TVec3f &);
60
61 void startBckPlayer(const char *, const char *);
62 LiveActor* getPlayerDemoActor();
63
64 void setPlayerBaseMtx(MtxPtr);
65
66 void startLevelSoundPlayer(const char *, long);
67 void incPlayerOxygen(u32);
68
69 void scatterStarPiecePlayer(u32);
70
71 void startSoundPlayer(const char *, s32);
72 void stopSoundPlayer(const char *, u32);
73
74 void showPlayer();
75
76 bool isPlayerElementModeBee();
77
78 bool isPlayerInWaterMode();
79 bool isPlayerOnWaterSurface();
80
81 void changePlayerItemStatus(s32);
82
83 void setPlayerStateWait();
84 void setPlayerPos(const char *);
85
86 void endBindAndPlayerJump(LiveActor *, const TVec3f &, u32);
87
88 bool isPlayerPointedBy2POnTriggerButton();
89
90 void endBindAndSpinDriverJump(LiveActor *, const TVec3f &);
91
92 void endBindAndPlayerJumpWithRollLanding(LiveActor *, const TVec3f &, u32);
93
94 void startBckPlayer(const char *, s32);
95
96 void setPlayerFrontVec(const TVec3f &, s32);
97};
The basis of a drawable actor that can contain states (see: Nerve)
Definition LiveActor.hpp:24