Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
demo.c File Reference
#include "engine/game.h"
#include <libpad.h>
Include dependency graph for demo.c:

Go to the source code of this file.

Functions

s32 startDemoRecording (void)
 Demo recording was left out of the release: it never starts.
 
void stopDemoRecording (void)
 Does nothing: demo recording was left out.
 
s32 isDemoRecording (s32 pad)
 1 while pad pad records a demo, -1 while another pad does, 0 otherwise (never set)
 
s32 startDemoPlayback (s16 pad, PadBuffer *data)
 Replays data (one raw buffer a frame) as the input of pad.
 
void stopDemoPlayback (void)
 Gives the pads back to the players.
 
s32 isDemoPlaying (s32 pad)
 1 while pad pad replays a demo, -1 while another pad does, 0 otherwise
 

Function Documentation

◆ startDemoRecording()

s32 startDemoRecording ( void  )

Demo recording was left out of the release: it never starts.

Definition at line 5 of file demo.c.

◆ stopDemoRecording()

void stopDemoRecording ( void  )

Does nothing: demo recording was left out.

Definition at line 10 of file demo.c.

Referenced by updatePad().

Here is the caller graph for this function:

◆ isDemoRecording()

s32 isDemoRecording ( s32  pad)

1 while pad pad records a demo, -1 while another pad does, 0 otherwise (never set)

Definition at line 14 of file demo.c.

Referenced by updatePad().

Here is the caller graph for this function:

◆ startDemoPlayback()

s32 startDemoPlayback ( s16  pad,
PadBuffer *  data 
)

Replays data (one raw buffer a frame) as the input of pad.

Definition at line 25 of file demo.c.

Here is the call graph for this function:

◆ stopDemoPlayback()

void stopDemoPlayback ( void  )

Gives the pads back to the players.

Definition at line 40 of file demo.c.

◆ isDemoPlaying()

s32 isDemoPlaying ( s32  pad)

1 while pad pad replays a demo, -1 while another pad does, 0 otherwise

Definition at line 50 of file demo.c.