SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
ActorShadowUtil.hpp
1#pragma once
2
3#include "JSystem/JGeometry/TVec.hpp"
4#include <revolution.h>
5
6class LiveActor;
7
8namespace MR {
9 void initShadowVolumeBox(LiveActor *, const TVec3f &);
10 void initShadowVolumeBox(LiveActor *, const TVec3f &, MtxPtr);
11 void initShadowVolumeCylinder(LiveActor *, f32);
12 void setShadowDropLength(LiveActor *, const char *, f32);
13
14 void initShadowVolumeFlatModel(LiveActor *, const char *, MtxPtr);
15
16 void setShadowVolumeStartDropOffset(LiveActor *, const char *, f32);
17 void setShadowVolumeEndDropOffset(LiveActor *, const char *, f32);
18
19 void setShadowDropPosition(LiveActor *, const char *, const TVec3f &);
20 void setShadowDropDirection(LiveActor *, const char *, const TVec3f &);
21
22 void setClippingRangeIncludeShadow(LiveActor *, TVec3f *, f32);
23
24 void initShadowVolumeSphere(LiveActor *, f32);
25 void onCalcShadowOneTime(LiveActor *, const char *);
26
27 void onShadowVisibleSyncHostAll(LiveActor *);
28 void offShadowVisibleSyncHostAll(LiveActor *);
29 void onShadowFollowHostScale(LiveActor *, const char *);
30 void onShadowFollowHostScaleAll(LiveActor *);
31
32 void onCalcShadowDropPrivateGravity(LiveActor *, const char *);
33 void onCalcShadowDropPrivateGravityOneTime(LiveActor *, const char *);
34
35 void onShadowVolumeCutDropLength(LiveActor *, const char *);
36
37 void onCalcShadow(LiveActor *, const char *);
38
39 void excludeCalcShadowToMyCollision(LiveActor *, const char *);
40
41 void validateShadow(LiveActor *, const char *);
42 void validateShadowGroup(LiveActor *, const char *);
43 void invalidateShadow(LiveActor *, const char *);
44 void invalidateShadowAll(LiveActor *);
45
46 void initShadowFromCSV(LiveActor *, const char *);
47
48 void initShadowSurfaceCircle(LiveActor *, f32);
49
50 void setShadowDropPositionPtr(LiveActor *, const char *, const TVec3f *);
51
52 void setShadowVolumeCylinderRadius(LiveActor *, const char *, f32);
53
54 void onCalcShadowDropGravity(LiveActor *, const char *);
55
56 void initShadowController(LiveActor *, u32);
57 void addShadowVolumeSphere(LiveActor *, const char *, float);
58 void setShadowDropDirectionPtr(LiveActor *, const char *, const TVec3f *);
59 void addShadowVolumeLine(LiveActor *, const char *, LiveActor *, const char *, float, LiveActor *, const char *, float);
60 bool isShadowProjected(const LiveActor *, const char *);
61 void getShadowProjectionPos(const LiveActor *, const char *, TVec3f *);
62 void getShadowProjectionNormal(const LiveActor *, const char *, TVec3f *);
63};
The basis of a drawable actor that can contain states (see: Nerve)
Definition LiveActor.hpp:24