cursor.h
432 Bytes
#ifndef __cursor__
#define __cursor__
#include <sp.h>
#include "gfx.h"
#define kCursorOrigin_x 50
#define kCursorOrigin_y 50
#define kCursorMaxZero 7
typedef struct
{
Sprite * sprite;
int x;
int y;
} CrsrObj;
void Crsr_Init (void);
void Crsr_Draw (Dynamic *pDynamic);
void Crsr_SetDeltaCoords (int dX, int dY);
void Crsr_GetCoords (int *pX, int *pY);
#endif /* __cursor__ */