gfxrenderer.h
356 Bytes
#ifndef _GFXRENDERER_H_
#define _GFXRENDERER_H_
#include <ultra64.h>
#include <PR/sched.h>
/*
* Messages used for Renderer thread
*/
#define GFX_NEW_FRAME (OS_SC_LAST_MSG+1)
typedef union {
struct {
u16 type;
Sprite **spList;
} gfx;
OSScMsg sched;
} GFXMsg;
OSMesgQueue *initGfxRenderer(OSSched *sc, OSPri pri);
#endif