Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
Data Structures | Macros | Typedefs | Enumerations
types.h File Reference
#include <ultra64.h>

Go to the source code of this file.

Data Structures

struct  Controller
 
struct  SPTask
 
struct  VblankHandler
 
struct  Animation
 
struct  GraphNode
 
struct  GraphNodeObject_sub
 
struct  GraphNodeObject
 
struct  ObjectNode
 
struct  Object
 
struct  ObjectHitbox
 
struct  Waypoint
 
struct  Surface
 
struct  MarioBodyState
 
struct  MarioAnimDmaRelatedThing
 
struct  MarioAnimation
 
struct  MarioState
 
struct  StructGeo802D2360
 

Macros

#define ANIM_FLAG_NOLOOP   (1 << 0)
 
#define ANIM_FLAG_FORWARD   (1 << 1)
 
#define ANIM_FLAG_2   (1 << 2)
 
#define ANIM_FLAG_HOR_TRANS   (1 << 3)
 
#define ANIM_FLAG_VERT_TRANS   (1 << 4)
 
#define ANIM_FLAG_5   (1 << 5)
 
#define ANIM_FLAG_6   (1 << 6)
 
#define ANIM_FLAG_7   (1 << 7)
 

Typedefs

typedef f32 Vec2f[2]
 
typedef f32 Vec3f[3]
 
typedef s16 Vec3s[3]
 
typedef s32 Vec3i[3]
 
typedef f32 Vec4f[4]
 
typedef s16 Vec4s[4]
 
typedef f32 Mat4[4][4]
 

Enumerations

enum  SpTaskState {
  SPTASK_STATE_NOT_STARTED, SPTASK_STATE_RUNNING, SPTASK_STATE_INTERRUPTED, SPTASK_STATE_FINISHED,
  SPTASK_STATE_FINISHED_DP
}
 

Macro Definition Documentation

◆ ANIM_FLAG_2

#define ANIM_FLAG_2   (1 << 2)

◆ ANIM_FLAG_5

#define ANIM_FLAG_5   (1 << 5)

◆ ANIM_FLAG_6

#define ANIM_FLAG_6   (1 << 6)

◆ ANIM_FLAG_7

#define ANIM_FLAG_7   (1 << 7)

◆ ANIM_FLAG_FORWARD

#define ANIM_FLAG_FORWARD   (1 << 1)

◆ ANIM_FLAG_HOR_TRANS

#define ANIM_FLAG_HOR_TRANS   (1 << 3)

◆ ANIM_FLAG_NOLOOP

#define ANIM_FLAG_NOLOOP   (1 << 0)

◆ ANIM_FLAG_VERT_TRANS

#define ANIM_FLAG_VERT_TRANS   (1 << 4)

Typedef Documentation

◆ Mat4

typedef f32 Mat4[4][4]

◆ Vec2f

typedef f32 Vec2f[2]

◆ Vec3f

typedef f32 Vec3f[3]

◆ Vec3i

typedef s32 Vec3i[3]

◆ Vec3s

typedef s16 Vec3s[3]

◆ Vec4f

typedef f32 Vec4f[4]

◆ Vec4s

typedef s16 Vec4s[4]

Enumeration Type Documentation

◆ SpTaskState

Enumerator
SPTASK_STATE_NOT_STARTED 
SPTASK_STATE_RUNNING 
SPTASK_STATE_INTERRUPTED 
SPTASK_STATE_FINISHED 
SPTASK_STATE_FINISHED_DP