Mario Kart 64
Loading...
Searching...
No Matches
common_structs.h File Reference
#include <ultra64.h>
Include dependency graph for common_structs.h:

Go to the source code of this file.

Data Structures

struct  Vec3fs
 
struct  KartAIBehaviour
 
struct  SPTask
 
struct  VblankHandler
 
struct  D_80150158
 
struct  Controller
 
struct  UnkStruct_80287500
 
struct  UnkStruct_800DDB40
 
struct  UnkStruct_802B53C8
 
struct  UnkStruct_800DDB68
 
struct  StaffGhost
 
struct  Collision
 
struct  UnkPlayerStruct258
 
struct  CourseVtx
 
struct  CollisionTriangle
 
struct  KartTyre
 
struct  UnkPlayerInner
 
struct  Player
 
struct  struct_8018EE10_entry
 
struct  RGBA16
 
struct  hud_player
 

Macros

#define FRONT_LEFT   0
 
#define FRONT_RIGHT   1
 
#define BACK_LEFT   2
 
#define BACK_RIGHT   3
 
#define HUD_PLAYERS_SIZE   4
 

Typedefs

typedef f32 Vec3f[3]
 
typedef f32 Vec4f[4]
 
typedef s32 Vec3iu[3]
 
typedef s16 Vec3s[3]
 
typedef u16 Vec3su[3]
 
typedef s16 Vec4s[4]
 
typedef f32 Mat3[3][3]
 
typedef f32 Mat4[4][4]
 

Enumerations

enum  GhostController { A = 0x80 , B = 0x40 , Z = 0x20 , R = 0x10 }
 
enum  SpTaskState {
  SPTASK_STATE_NOT_STARTED , SPTASK_STATE_RUNNING , SPTASK_STATE_INTERRUPTED , SPTASK_STATE_FINISHED ,
  SPTASK_STATE_FINISHED_DP
}
 

Macro Definition Documentation

◆ BACK_LEFT

#define BACK_LEFT   2

◆ BACK_RIGHT

#define BACK_RIGHT   3

◆ FRONT_LEFT

#define FRONT_LEFT   0

◆ FRONT_RIGHT

#define FRONT_RIGHT   1

◆ HUD_PLAYERS_SIZE

#define HUD_PLAYERS_SIZE   4

Typedef Documentation

◆ Mat3

typedef f32 Mat3[3][3]

◆ Mat4

typedef f32 Mat4[4][4]

◆ Vec3f

typedef f32 Vec3f[3]

◆ Vec3iu

typedef s32 Vec3iu[3]

◆ Vec3s

typedef s16 Vec3s[3]

◆ Vec3su

typedef u16 Vec3su[3]

◆ Vec4f

typedef f32 Vec4f[4]

◆ Vec4s

typedef s16 Vec4s[4]

Enumeration Type Documentation

◆ GhostController

Enumerator

◆ SpTaskState

Enumerator
SPTASK_STATE_NOT_STARTED 
SPTASK_STATE_RUNNING 
SPTASK_STATE_INTERRUPTED 
SPTASK_STATE_FINISHED 
SPTASK_STATE_FINISHED_DP