Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
sparkle_script.h File Reference

Go to the source code of this file.

Macros

#define sp_End   SPARKLE_OP_End,
 
#define sp_SetGfx(time, gfx)   SPARKLE_OP_SetGfx, time, (s32)gfx,
 
#define sp_Restart   SPARKLE_OP_Restart,
 
#define sp_Jump(dest)   SPARKLE_OP_Jump, (s32)dest,
 
#define sp_Break(unk)   SPARKLE_OP_Break, unk,
 Purpose unknown; arg is not read.
 
#define sp_SetCI(time, name, width, height)   SPARKLE_OP_SetCI, time, (s32)name##_png, (s32)name##_pal, width, height,
 

Typedefs

typedef s32 SparkleScript[]
 

Enumerations

enum  {
  SPARKLE_OP_End = 0 , SPARKLE_OP_SetGfx = 1 , SPARKLE_OP_Restart = 2 , SPARKLE_OP_Jump = 3 ,
  SPARKLE_OP_Break = 4 , SPARKLE_OP_SetCI = 7
}
 

Macro Definition Documentation

◆ sp_End

#define sp_End   SPARKLE_OP_End,

Definition at line 14 of file sparkle_script.h.

◆ sp_SetGfx

#define sp_SetGfx ( time,
gfx )   SPARKLE_OP_SetGfx, time, (s32)gfx,

Definition at line 15 of file sparkle_script.h.

◆ sp_Restart

#define sp_Restart   SPARKLE_OP_Restart,

Definition at line 16 of file sparkle_script.h.

◆ sp_Jump

#define sp_Jump ( dest)    SPARKLE_OP_Jump, (s32)dest,

Definition at line 17 of file sparkle_script.h.

◆ sp_Break

#define sp_Break ( unk)    SPARKLE_OP_Break, unk,

Purpose unknown; arg is not read.

Definition at line 19 of file sparkle_script.h.

◆ sp_SetCI

#define sp_SetCI ( time,
name,
width,
height )   SPARKLE_OP_SetCI, time, (s32)name##_png, (s32)name##_pal, width, height,

Definition at line 20 of file sparkle_script.h.

Typedef Documentation

◆ SparkleScript

typedef s32 SparkleScript[]

Definition at line 3 of file sparkle_script.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
SPARKLE_OP_End 
SPARKLE_OP_SetGfx 
SPARKLE_OP_Restart 
SPARKLE_OP_Jump 
SPARKLE_OP_Break 
SPARKLE_OP_SetCI 

Definition at line 5 of file sparkle_script.h.

5 {
12};
@ SPARKLE_OP_SetCI
@ SPARKLE_OP_End
@ SPARKLE_OP_Jump
@ SPARKLE_OP_Restart
@ SPARKLE_OP_Break
@ SPARKLE_OP_SetGfx