mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +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" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef FEATURE_TRAY_EDIT
|
/* WARNING: the following assumes that FEATURE_TRAY_EDIT is defined if
|
||||||
# define CUR_STREAM_VERS 0x02
|
XWFEATURE_SEARCHLIMIT is*/
|
||||||
#elif defined XWFEATURE_SEARCHLIMIT
|
#if defined XWFEATURE_SEARCHLIMIT
|
||||||
# define CUR_STREAM_VERS 0x03
|
# define CUR_STREAM_VERS 0x03
|
||||||
|
#elif defined FEATURE_TRAY_EDIT
|
||||||
|
# define CUR_STREAM_VERS 0x02
|
||||||
#else
|
#else
|
||||||
# define CUR_STREAM_VERS 0x01
|
# define CUR_STREAM_VERS 0x01
|
||||||
#endif
|
#endif
|
||||||
|
@ -97,8 +99,7 @@ void game_dispose( XWGame* game );
|
||||||
void gi_initPlayerInfo( MPFORMAL CurGameInfo* gi, XP_UCHAR* nameTemplate );
|
void gi_initPlayerInfo( MPFORMAL CurGameInfo* gi, XP_UCHAR* nameTemplate );
|
||||||
void gi_disposePlayerInfo( MPFORMAL CurGameInfo* gi );
|
void gi_disposePlayerInfo( MPFORMAL CurGameInfo* gi );
|
||||||
void gi_writeToStream( XWStreamCtxt* stream, CurGameInfo* gi );
|
void gi_writeToStream( XWStreamCtxt* stream, CurGameInfo* gi );
|
||||||
void gi_readFromStream( MPFORMAL XWStreamCtxt* stream, XP_U16 strVersion,
|
void gi_readFromStream( MPFORMAL XWStreamCtxt* stream, CurGameInfo* gi );
|
||||||
CurGameInfo* gi );
|
|
||||||
void gi_copy( MPFORMAL CurGameInfo* destGI, CurGameInfo* srcGi );
|
void gi_copy( MPFORMAL CurGameInfo* destGI, CurGameInfo* srcGi );
|
||||||
|
|
||||||
XP_Bool player_hasPasswd( LocalPlayer* player );
|
XP_Bool player_hasPasswd( LocalPlayer* player );
|
||||||
|
|
Loading…
Reference in a new issue