SSBM Decomp
Loading...
Searching...
No Matches
DEMOPuts.c File Reference
#include <dolphin.h>
#include "__demo.h"
#include <dolphin/demo.h>
#include <dolphin/gx.h>
#include <dolphin/mtx.h>

Functions

static void DrawFontChar (int x, int y, int z, int xChar, int yChar)
static void LoadSheet (void *image, enum _GXTexMapID texMapID)
void DEMOSetFontType (DMFontType attr)
void DEMOLoadFont (enum _GXTexMapID texMap, enum _GXTexMtx texMtx, DMTexFlt texFlt)
void DEMOSetupScrnSpc (long width, long height, float depth)
void DEMOInitCaption (long font_type, long width, long height)
void DEMOPuts (s16 x, s16 y, s16 z, char *string)
void DEMOPrintf (s16 x, s16 y, s16 z, char *fmt,...)
struct OSFontHeaderDEMOInitROMFont ()
void DEMOSetROMFontSize (s16 size, s16 space)
int DEMORFPuts (s16 x, s16 y, s16 z, char *string)
int DEMORFPutsEx (s16 x, s16 y, s16 z, char *string, s16 maxWidth, int length)
int DEMORFPrintf (s16 x, s16 y, s16 z, char *fmt,...)
char * DEMODumpROMFont (char *string)
int DEMOGetRFTextWidth (char *string)

Variables

unsigned long DEMOFontBitmap []
static struct _GXTexObj fontTexObj
static long fontShift
static struct OSFontHeaderFontData
static void * LastSheet
static s16 FontSize
static s16 FontSpace

Function Documentation

◆ DrawFontChar()

void DrawFontChar ( int x,
int y,
int z,
int xChar,
int yChar )
static

◆ LoadSheet()

void LoadSheet ( void * image,
enum _GXTexMapID texMapID )
static

◆ DEMOSetFontType()

void DEMOSetFontType ( DMFontType attr)

◆ DEMOLoadFont()

void DEMOLoadFont ( enum _GXTexMapID texMap,
enum _GXTexMtx texMtx,
DMTexFlt texFlt )

◆ DEMOSetupScrnSpc()

void DEMOSetupScrnSpc ( long width,
long height,
float depth )

◆ DEMOInitCaption()

void DEMOInitCaption ( long font_type,
long width,
long height )

◆ DEMOPuts()

void DEMOPuts ( s16 x,
s16 y,
s16 z,
char * string )

◆ DEMOPrintf()

void DEMOPrintf ( s16 x,
s16 y,
s16 z,
char * fmt,
... )

◆ DEMOInitROMFont()

struct OSFontHeader * DEMOInitROMFont ( )

◆ DEMOSetROMFontSize()

void DEMOSetROMFontSize ( s16 size,
s16 space )

◆ DEMORFPuts()

int DEMORFPuts ( s16 x,
s16 y,
s16 z,
char * string )

◆ DEMORFPutsEx()

int DEMORFPutsEx ( s16 x,
s16 y,
s16 z,
char * string,
s16 maxWidth,
int length )

◆ DEMORFPrintf()

int DEMORFPrintf ( s16 x,
s16 y,
s16 z,
char * fmt,
... )

◆ DEMODumpROMFont()

char * DEMODumpROMFont ( char * string)

◆ DEMOGetRFTextWidth()

int DEMOGetRFTextWidth ( char * string)

Variable Documentation

◆ DEMOFontBitmap

unsigned long DEMOFontBitmap[]
extern

◆ fontTexObj

struct _GXTexObj fontTexObj
static

◆ fontShift

long fontShift
static

◆ FontData

struct OSFontHeader* FontData
static

◆ LastSheet

void* LastSheet
static

◆ FontSize

s16 FontSize
static

◆ FontSpace

s16 FontSpace
static