mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-30 10:26:58 +01:00
version now part of stream; fix VERSION defines
This commit is contained in:
parent
ebef9abf74
commit
56a0763da1
1 changed files with 6 additions and 5 deletions
|
@ -30,10 +30,12 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifdef FEATURE_TRAY_EDIT
|
||||
# define CUR_STREAM_VERS 0x02
|
||||
#elif defined XWFEATURE_SEARCHLIMIT
|
||||
/* WARNING: the following assumes that FEATURE_TRAY_EDIT is defined if
|
||||
XWFEATURE_SEARCHLIMIT is*/
|
||||
#if defined XWFEATURE_SEARCHLIMIT
|
||||
# define CUR_STREAM_VERS 0x03
|
||||
#elif defined FEATURE_TRAY_EDIT
|
||||
# define CUR_STREAM_VERS 0x02
|
||||
#else
|
||||
# define CUR_STREAM_VERS 0x01
|
||||
#endif
|
||||
|
@ -97,8 +99,7 @@ void game_dispose( XWGame* game );
|
|||
void gi_initPlayerInfo( MPFORMAL CurGameInfo* gi, XP_UCHAR* nameTemplate );
|
||||
void gi_disposePlayerInfo( MPFORMAL CurGameInfo* gi );
|
||||
void gi_writeToStream( XWStreamCtxt* stream, CurGameInfo* gi );
|
||||
void gi_readFromStream( MPFORMAL XWStreamCtxt* stream, XP_U16 strVersion,
|
||||
CurGameInfo* gi );
|
||||
void gi_readFromStream( MPFORMAL XWStreamCtxt* stream, CurGameInfo* gi );
|
||||
void gi_copy( MPFORMAL CurGameInfo* destGI, CurGameInfo* srcGi );
|
||||
|
||||
XP_Bool player_hasPasswd( LocalPlayer* player );
|
||||
|
|
Loading…
Reference in a new issue