SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
StarPointerUtil.hpp
1#pragma once
2
3#include <revolution.h>
4#include "JSystem/JGeometry.hpp"
5
6class LiveActor;
7
8namespace MR {
9 void initStarPointerTarget(LiveActor *, f32, const TVec3f &);
10 void initStarPointerTargetAtPos(LiveActor *, f32, const TVec3f *, const TVec3f &);
11 void initStarPointerTargetAtMtx(LiveActor *, f32, MtxPtr, const TVec3f &);
12 void initStarPointerTargetAtJoint(LiveActor *, const char *, f32, const TVec3f &);
13
14 void startStarPointerModePowerStarGetDemo(void *);
15
16 f32 calcPointRadius2D(const TVec3f &, f32);
17
18 void setStarPointerDrawSyncToken();
19
20 void endStarPointerMode(void *);
21
22 bool isStarPointerPointing2POnPressButton(const LiveActor *, const char *, bool, bool);
23
24 bool isStarPointerPointing2POnTriggerButton(const LiveActor *, const char *, bool, bool);
25
26 f32 getStarPointerScreenSpeed(u32);
27
28 bool calcStarPointerWorldVelocityDirectionOnPlane(TVec3f *, const TVec3f &, const TVec3f &, u32);
29
30 void createStarPointerLayout();
31
32 bool isStarPointerInScreen(s32);
33};
The basis of a drawable actor that can contain states (see: Nerve)
Definition LiveActor.hpp:24