From: Holger Schemel Date: Mon, 18 Mar 2002 03:16:30 +0000 (+0100) Subject: rnd-20020318-4-src X-Git-Tag: 2.0.1^2~2 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=e20a5f598ac5ef3280c4a881fe63e44463dff086;p=rocksndiamonds.git rnd-20020318-4-src --- diff --git a/src/files.c b/src/files.c index 9b5b73f5..cbf242ca 100644 --- a/src/files.c +++ b/src/files.c @@ -1504,12 +1504,7 @@ void SaveScore(int level_nr) static struct SetupInfo si; static struct SetupInputInfo sii; static struct LevelDirInfo ldi; -static struct -{ - int type; - void *value; - char *text; -} token_info[] = +static struct TokenInfo token_info[] = { /* global setup */ { TYPE_STRING, &si.player_name, "player_name" }, diff --git a/src/libgame/misc.h b/src/libgame/misc.h index 978cb23b..6213ae1b 100644 --- a/src/libgame/misc.h +++ b/src/libgame/misc.h @@ -77,6 +77,13 @@ struct SetupFileList struct SetupFileList *next; }; +struct TokenInfo +{ + int type; + void *value; + char *text; +}; + void InitCounter(void); unsigned long Counter(void); void Delay(unsigned long);