Skip to content
  • This project
    • Loading...
  • Sign in

Barry / rf-depot

Go to a project
Toggle navigation
Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Graphs
  • Network
  • Create a new issue
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • rf-depot
  • ..
  • music
  • cursor.h
  • root's avatar
    added the rest · 5fa3b884
    5fa3b884
    root committed 2020-05-02 06:11:47 +0000
cursor.h 432 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27

#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__ */