Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
Macros | Functions | Variables
record_demo.inc.c File Reference
#include "../src/game/mario.h"

Macros

#define DEMOREC_STATUS_NOT_RECORDING   0
 
#define DEMOREC_STATUS_PREPARING   1
 
#define DEMOREC_STATUS_RECORDING   2
 
#define DEMOREC_STATUS_STOPPING   3
 
#define DEMOREC_STATUS_DONE   4
 
#define DEMOREC_PRINT_X   10
 
#define DEMOREC_PRINT_Y   10
 
#define DEMOREC_DONE_DELAY   60
 
#define DEMOREC_MAX_INPUTS   1025
 

Functions

void record_new_demo_input (void)
 
void copy_gRecordedDemoInput (void)
 
void recording (void)
 
void record_cleanup (void)
 
void record_run (void)
 
void print_status (void)
 
void recordingDemo (void)
 

Variables

char gDemoRecTag [] = "DEMORECVARS"
 
u32 gRecordingStatus = DEMOREC_STATUS_NOT_RECORDING
 
u32 gDoneDelay = 0
 
u32 gNumOfRecordedInputs = 0
 
struct DemoInput gRecordedInputs [DEMOREC_MAX_INPUTS]
 
struct DemoInputgRecordedInputsPtr = (struct DemoInput*)gRecordedInputs
 
struct DemoInput gRecordedDemoInputCopy
 

Macro Definition Documentation

◆ DEMOREC_DONE_DELAY

#define DEMOREC_DONE_DELAY   60

◆ DEMOREC_MAX_INPUTS

#define DEMOREC_MAX_INPUTS   1025

◆ DEMOREC_PRINT_X

#define DEMOREC_PRINT_X   10

◆ DEMOREC_PRINT_Y

#define DEMOREC_PRINT_Y   10

◆ DEMOREC_STATUS_DONE

#define DEMOREC_STATUS_DONE   4

◆ DEMOREC_STATUS_NOT_RECORDING

#define DEMOREC_STATUS_NOT_RECORDING   0

◆ DEMOREC_STATUS_PREPARING

#define DEMOREC_STATUS_PREPARING   1

◆ DEMOREC_STATUS_RECORDING

#define DEMOREC_STATUS_RECORDING   2

◆ DEMOREC_STATUS_STOPPING

#define DEMOREC_STATUS_STOPPING   3

Function Documentation

◆ copy_gRecordedDemoInput()

void copy_gRecordedDemoInput ( void  )

◆ print_status()

void print_status ( void  )

◆ record_cleanup()

void record_cleanup ( void  )

◆ record_new_demo_input()

void record_new_demo_input ( void  )

◆ record_run()

void record_run ( void  )

◆ recording()

void recording ( void  )

◆ recordingDemo()

void recordingDemo ( void  )

Variable Documentation

◆ gDemoRecTag

char gDemoRecTag[] = "DEMORECVARS"

◆ gDoneDelay

u32 gDoneDelay = 0

◆ gNumOfRecordedInputs

u32 gNumOfRecordedInputs = 0

◆ gRecordedDemoInputCopy

struct DemoInput gRecordedDemoInputCopy

◆ gRecordedInputs

◆ gRecordedInputsPtr

struct DemoInput* gRecordedInputsPtr = (struct DemoInput*)gRecordedInputs

◆ gRecordingStatus

u32 gRecordingStatus = DEMOREC_STATUS_NOT_RECORDING