add callback for most recent score

This commit is contained in:
ehouse 2005-01-22 19:49:19 +00:00
parent 646076b6bb
commit 7482c07ba5

View file

@ -26,8 +26,13 @@
/* typedef struct DrawCtx DrawCtx; */
typedef XP_Bool (*LastScoreCallback)( void* closure, XP_S16 player,
XP_UCHAR* expl, XP_U16* explLen );
typedef struct DrawScoreInfo {
void* closure;
LastScoreCallback lsc;
void* lscClosure;
XP_UCHAR* name;
XP_S16 score;
XP_S16 nTilesLeft; /* < 0 means don't use */