mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-16 15:41:16 +01:00
track whether running on POSE to work around NetLibSelect bug; track
whether addr needs re-resolving.
This commit is contained in:
parent
b485deb357
commit
62b994e32e
1 changed files with 3 additions and 2 deletions
|
@ -206,6 +206,7 @@ typedef struct PalmDictList PalmDictList;
|
||||||
typedef struct NetLibStuff {
|
typedef struct NetLibStuff {
|
||||||
UInt16 netLibRef;
|
UInt16 netLibRef;
|
||||||
NetSocketRef socket;
|
NetSocketRef socket;
|
||||||
|
XP_Bool ipAddrInval;
|
||||||
} NetLibStuff;
|
} NetLibStuff;
|
||||||
#define socketIsOpen(g) ((g)->nlStuff.socket != -1)
|
#define socketIsOpen(g) ((g)->nlStuff.socket != -1)
|
||||||
#endif
|
#endif
|
||||||
|
@ -257,6 +258,7 @@ struct PalmAppGlobals {
|
||||||
Boolean isFirstLaunch;
|
Boolean isFirstLaunch;
|
||||||
Boolean menuIsDown;
|
Boolean menuIsDown;
|
||||||
XP_Bool newGameIsNew;
|
XP_Bool newGameIsNew;
|
||||||
|
XP_Bool runningOnPOSE; /* Needed for NetLibSelect */
|
||||||
|
|
||||||
GraphicsAbility able;
|
GraphicsAbility able;
|
||||||
XP_U32 penTimerFireAt;
|
XP_U32 penTimerFireAt;
|
||||||
|
@ -365,8 +367,7 @@ void writeNameToGameRecord( PalmAppGlobals* globals, XP_S16 index,
|
||||||
XP_UCHAR* getResString( PalmAppGlobals* globals, XP_U16 strID );
|
XP_UCHAR* getResString( PalmAppGlobals* globals, XP_U16 strID );
|
||||||
Boolean palmask( PalmAppGlobals* globals, XP_UCHAR* str, XP_UCHAR* altButton,
|
Boolean palmask( PalmAppGlobals* globals, XP_UCHAR* str, XP_UCHAR* altButton,
|
||||||
XP_S16 titleID );
|
XP_S16 titleID );
|
||||||
void checkAndDeliver( PalmAppGlobals* globals, XWStreamCtxt* instream,
|
void checkAndDeliver( PalmAppGlobals* globals, XWStreamCtxt* instream );
|
||||||
CommsAddrRec* addr );
|
|
||||||
|
|
||||||
#ifdef XW_TARGET_PNO
|
#ifdef XW_TARGET_PNO
|
||||||
# define READ_UNALIGNED16(n) read_unaligned16((unsigned char*)(n))
|
# define READ_UNALIGNED16(n) read_unaligned16((unsigned char*)(n))
|
||||||
|
|
Loading…
Reference in a new issue