Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
shadow.h
Go to the documentation of this file.
1 #ifndef _SHADOW_H
2 #define _SHADOW_H
3 
4 #include <ultra64.h>
5 #include "types.h"
6 
12 {
25 };
26 
31 
36 
41 
45 extern s8 gMarioOnIceOrCarpet;
46 
52  f32 xPos, f32 yPos, f32 zPos, s16 shadowScale, u8 shadowSolidity, s8 shadowType);
53 
54 #endif /* _SHADOW_H */
Definition: shadow.h:14
Definition: shadow.h:24
Definition: shadow.h:18
Definition: shadow.h:17
signed char s8
Definition: ultratypes.h:11
Definition: shadow.h:15
s8 sMarioOnFlyingCarpet
Flag for if Mario is on a flying carpet.
Definition: shadow.c:108
signed short int s16
Definition: ultratypes.h:13
Definition: shadow.h:16
Definition: gbi_old.h:59
float f32
Definition: ultratypes.h:29
s8 gMarioOnIceOrCarpet
Flag for if Mario is on ice or a flying carpet.
Definition: shadow.c:111
s16 sSurfaceTypeBelowShadow
The surface type below the current shadow.
Definition: shadow.c:109
ShadowType
Shadow types.
Definition: shadow.h:11
unsigned char u8
Definition: ultratypes.h:12
s8 gShadowAboveWaterOrLava
Flag for if the current shadow is above water or lava.
Definition: shadow.c:110
This defines an offset after which rectangular shadows with custom widths and heights can be defined...
Definition: shadow.h:23
Definition: shadow.h:13
Gfx * create_shadow_below_xyz(f32 xPos, f32 yPos, f32 zPos, s16 shadowScale, u8 shadowSolidity, s8 shadowType)
Given the (x, y, z) location of an object, create a shadow below that object with the given initial s...
Definition: shadow.c:853