Mario Kart 64
Loading...
Searching...
No Matches
camera.h File Reference
#include <common_structs.h>
Include dependency graph for camera.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  UnkCameraInner
 
struct  Camera
 

Macros

#define BAD_RETURN(cmd)   cmd
 

Functions

void camera_init (f32, f32, f32, s16, u32, s32)
 
void func_8001CA10 (Camera *)
 
void func_8001CA24 (Player *, f32)
 
void func_8001CA78 (Player *, Camera *, Vec3f, f32 *, f32 *, f32 *, s32, s32)
 
void func_8001CCEC (Player *, Camera *, Vec3f, f32 *, f32 *, f32 *, s32 *, s16, s16)
 
void func_8001D53C (Player *, Camera *, Vec3f, f32 *, f32 *, f32 *, s16, s16)
 
void func_8001D794 (Player *, Camera *, Vec3f, f32 *, f32 *, f32 *, s16)
 
void func_8001D944 (Player *, Camera *, Vec3f, f32 *, f32 *, f32 *, s32 *, s16, s16)
 
void func_8001E0C4 (Camera *, Player *, s8)
 
void func_8001E45C (Camera *, Player *, s8)
 
void func_8001E8E8 (Camera *, Player *, s8)
 
void func_8001EA0C (Camera *, Player *, s8)
 
void func_8001EE98 (Player *, Camera *, s8)
 
void func_8001F394 (Player *, f32 *)
 
void func_8001F87C (s32)
 

Variables

f32 D_800DDB30 []
 
Camera cameras []
 
Cameracamera1
 
Cameracamera2
 
Cameracamera3
 
Cameracamera4
 
s8 D_80164A89
 
s32 D_80164A08 [4]
 
s32 D_80164A28
 
s32 D_80164A2C
 
f32 D_80164A30
 
f32 D_80164A90 []
 
f32 D_80164AA0 []
 

Macro Definition Documentation

◆ BAD_RETURN

#define BAD_RETURN ( cmd)    cmd
Todo
put this define in types.h or similar. Certain functions are marked as having return values, but do not actually return a value. This causes undefined behavior, which we'd rather avoid on modern GCC. This only impacts -O2 and can matter for both the function itself and functions that call it.

Function Documentation

◆ camera_init()

void camera_init ( f32 ,
f32 ,
f32 ,
s16 ,
u32 ,
s32  )

◆ func_8001CA10()

void func_8001CA10 ( Camera * camera)
Here is the caller graph for this function:

◆ func_8001CA24()

void func_8001CA24 ( Player * player,
f32 arg1 )
Here is the caller graph for this function:

◆ func_8001CA78()

void func_8001CA78 ( Player * ,
Camera * ,
Vec3f ,
f32 * ,
f32 * ,
f32 * ,
s32 ,
s32  )

◆ func_8001CCEC()

void func_8001CCEC ( Player * ,
Camera * ,
Vec3f ,
f32 * ,
f32 * ,
f32 * ,
s32 * ,
s16 ,
s16  )

◆ func_8001D53C()

void func_8001D53C ( Player * player,
Camera * camera,
Vec3f arg2,
f32 * arg3,
f32 * arg4,
f32 * arg5,
s16 arg6,
s16 arg7 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8001D794()

void func_8001D794 ( Player * player,
Camera * camera,
Vec3f arg2,
f32 * arg3,
f32 * arg4,
f32 * arg5,
s16 arg6 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8001D944()

void func_8001D944 ( Player * ,
Camera * ,
Vec3f ,
f32 * ,
f32 * ,
f32 * ,
s32 * ,
s16 ,
s16  )

◆ func_8001E0C4()

void func_8001E0C4 ( Camera * camera,
Player * player,
s8 arg2 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8001E45C()

void func_8001E45C ( Camera * camera,
Player * player,
s8 arg2 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8001E8E8()

void func_8001E8E8 ( Camera * camera,
Player * player,
s8 arg2 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8001EA0C()

void func_8001EA0C ( Camera * camera,
Player * player,
s8 arg2 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8001EE98()

void func_8001EE98 ( Player * player,
Camera * camera,
s8 index )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8001F394()

void func_8001F394 ( Player * player,
f32 * arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8001F87C()

void func_8001F87C ( s32 cameraId)
Here is the caller graph for this function:

Variable Documentation

◆ camera1

Camera* camera1
extern

◆ camera2

Camera* camera2
extern

◆ camera3

Camera* camera3
extern

◆ camera4

Camera* camera4
extern

◆ cameras

Camera cameras[]
extern

◆ D_800DDB30

f32 D_800DDB30[]
extern

◆ D_80164A08

s32 D_80164A08[4]
extern

◆ D_80164A28

s32 D_80164A28
extern

◆ D_80164A2C

s32 D_80164A2C
extern

◆ D_80164A30

f32 D_80164A30
extern

◆ D_80164A89

s8 D_80164A89
extern

◆ D_80164A90

f32 D_80164A90[]
extern

◆ D_80164AA0

f32 D_80164AA0[]
extern