mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-18 22:26:30 +01:00
Use new xplatform newgame logic to replace palm's in newgame.c, and make other
changes (shifting util functions around) that follow from that. Back version number down to 4.1.5 since that'll be the next shipped from this branch. Add juggle button to newgame -- the whole point of this.
This commit is contained in:
parent
f4659b73b0
commit
8277d3736a
1 changed files with 4 additions and 5 deletions
|
@ -37,6 +37,7 @@
|
||||||
#include "game.h"
|
#include "game.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
#include "mempool.h"
|
#include "mempool.h"
|
||||||
|
#include "nwgamest.h"
|
||||||
|
|
||||||
/* #include "prefsdlg.h" */
|
/* #include "prefsdlg.h" */
|
||||||
#include "xwcolors.h"
|
#include "xwcolors.h"
|
||||||
|
@ -192,14 +193,12 @@ typedef struct DictState {
|
||||||
} DictState;
|
} DictState;
|
||||||
|
|
||||||
typedef struct PalmNewGameState {
|
typedef struct PalmNewGameState {
|
||||||
|
FormPtr form;
|
||||||
ListPtr playerNumList;
|
ListPtr playerNumList;
|
||||||
XP_UCHAR* passwds[MAX_NUM_PLAYERS];
|
NewGameCtx* ngc;
|
||||||
|
XP_UCHAR passwds[MAX_PASSWORD_LENGTH+1][MAX_NUM_PLAYERS];
|
||||||
XP_UCHAR* dictName;
|
XP_UCHAR* dictName;
|
||||||
XP_Bool isLocal[MAX_NUM_PLAYERS];
|
|
||||||
XP_Bool isRobot[MAX_NUM_PLAYERS];
|
|
||||||
XP_UCHAR shortDictName[32]; /* as long as a dict name can be */
|
XP_UCHAR shortDictName[32]; /* as long as a dict name can be */
|
||||||
XP_U8 curNPlayersLocal;
|
|
||||||
XP_U8 curNPlayersTotal;
|
|
||||||
XP_Bool forwardChange;
|
XP_Bool forwardChange;
|
||||||
Connectedness curServerHilite;
|
Connectedness curServerHilite;
|
||||||
#ifdef BEYOND_IR
|
#ifdef BEYOND_IR
|
||||||
|
|
Loading…
Reference in a new issue