mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-30 08:34:16 +01:00
add callback for most recent score
This commit is contained in:
parent
646076b6bb
commit
7482c07ba5
1 changed files with 6 additions and 1 deletions
|
@ -26,8 +26,13 @@
|
||||||
|
|
||||||
/* typedef struct DrawCtx DrawCtx; */
|
/* typedef struct DrawCtx DrawCtx; */
|
||||||
|
|
||||||
|
|
||||||
|
typedef XP_Bool (*LastScoreCallback)( void* closure, XP_S16 player,
|
||||||
|
XP_UCHAR* expl, XP_U16* explLen );
|
||||||
|
|
||||||
typedef struct DrawScoreInfo {
|
typedef struct DrawScoreInfo {
|
||||||
void* closure;
|
LastScoreCallback lsc;
|
||||||
|
void* lscClosure;
|
||||||
XP_UCHAR* name;
|
XP_UCHAR* name;
|
||||||
XP_S16 score;
|
XP_S16 score;
|
||||||
XP_S16 nTilesLeft; /* < 0 means don't use */
|
XP_S16 nTilesLeft; /* < 0 means don't use */
|
||||||
|
|
Loading…
Add table
Reference in a new issue