2003-11-20 17:26:35 +01:00
|
|
|
/* -*-mode: C; fill-column: 77; c-basic-offset: 4; -*- */
|
|
|
|
/*
|
2006-01-08 02:25:02 +01:00
|
|
|
* Copyright 2002 by Eric House (xwords@eehouse.org). All rights reserved.
|
2003-11-20 17:26:35 +01:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _CEGINFO_H_
|
|
|
|
#define _CEGINFO_H_
|
|
|
|
|
|
|
|
#include "stdafx.h"
|
|
|
|
#include "cemain.h"
|
|
|
|
#include "ceprefs.h"
|
2006-04-19 06:56:00 +02:00
|
|
|
#include "cedict.h"
|
2008-06-05 06:29:28 +02:00
|
|
|
#include "ceutil.h"
|
2006-06-08 03:35:20 +02:00
|
|
|
#include "nwgamest.h"
|
2003-11-20 17:26:35 +01:00
|
|
|
|
|
|
|
typedef struct GameInfoState {
|
2008-06-05 06:29:28 +02:00
|
|
|
CeDlgHdr dlgHdr;
|
2006-06-08 03:35:20 +02:00
|
|
|
NewGameCtx* newGameCtx;
|
2006-04-19 06:57:51 +02:00
|
|
|
XP_UCHAR newDictName[CE_MAX_PATH_LEN+1];
|
2003-11-20 17:26:35 +01:00
|
|
|
|
2006-04-20 06:39:46 +02:00
|
|
|
XP_U16 capMenuDicts;
|
|
|
|
XP_U16 nMenuDicts;
|
|
|
|
wchar_t** menuDicts;
|
2008-09-18 05:48:29 +02:00
|
|
|
XP_U16 nPlayersId;
|
2008-08-27 14:16:33 +02:00
|
|
|
XP_U16 dictListId;
|
2006-04-20 06:39:46 +02:00
|
|
|
|
2003-11-20 17:26:35 +01:00
|
|
|
XP_Bool isNewGame; /* newGame or GameInfo */
|
|
|
|
XP_Bool userCancelled; /* OUT param */
|
|
|
|
|
|
|
|
XP_Bool prefsChanged;
|
2004-04-14 05:57:59 +02:00
|
|
|
XP_Bool colorsChanged;
|
2005-07-23 17:31:21 +02:00
|
|
|
XP_Bool addrChanged;
|
2004-04-14 05:57:59 +02:00
|
|
|
CePrefsPrefs prefsPrefs;
|
2003-11-20 17:26:35 +01:00
|
|
|
} GameInfoState;
|
|
|
|
|
|
|
|
|
|
|
|
LRESULT CALLBACK GameInfo(HWND, UINT, WPARAM, LPARAM);
|
|
|
|
|
|
|
|
#endif
|