name changes

This commit is contained in:
ehouse 2004-04-14 04:03:46 +00:00
parent c53a37ea8e
commit b870dabedd

View file

@ -35,30 +35,38 @@ typedef struct CeGamePrefs {
/* phonies something */ /* phonies something */
} CeGamePrefs; } CeGamePrefs;
typedef struct PrefsPrefs { typedef struct CePrefsPrefs {
/* per-game */ /* per-game */
CeGamePrefs gp; CeGamePrefs gp;
/* global */ /* global */
XP_Bool showColors;
CommonPrefs cp; CommonPrefs cp;
} PrefsPrefs; XP_Bool showColors;
typedef struct PrefsDlgState { #ifdef XWFEATURE_CE_EDITCOLORS
COLORREF colors[NUM_EDITABLE_COLORS];
#endif
} CePrefsPrefs;
typedef struct CePrefsDlgState {
CEAppGlobals* globals; CEAppGlobals* globals;
CePrefsPrefs prefsPrefs;
XP_Bool userCancelled; XP_Bool userCancelled;
//XP_Bool doGlobalPrefs; /* state of the radio */ //XP_Bool doGlobalPrefs; /* state of the radio */
XP_Bool isNewGame; XP_Bool isNewGame;
PrefsPrefs prefsPrefs; #ifdef XWFEATURE_CE_EDITCOLORS
} PrefsDlgState; XP_Bool colorsChanged;
#endif
} CePrefsDlgState;
XP_Bool WrapPrefsDialog( HWND hDlg, CEAppGlobals* globals, XP_Bool WrapPrefsDialog( HWND hDlg, CEAppGlobals* globals,
PrefsDlgState* state, PrefsPrefs* prefsPrefs, CePrefsDlgState* state, CePrefsPrefs* prefsPrefs,
XP_Bool isNewGame ); XP_Bool isNewGame );
void loadStateFromCurPrefs( const CEAppPrefs* appPrefs, const CurGameInfo* gi, void loadStateFromCurPrefs( const CEAppPrefs* appPrefs, const CurGameInfo* gi,
PrefsPrefs* prefsPrefs ); CePrefsPrefs* prefsPrefs );
void loadCurPrefsFromState( CEAppPrefs* appPrefs, CurGameInfo* gi, void loadCurPrefsFromState( CEAppPrefs* appPrefs, CurGameInfo* gi,
const PrefsPrefs* prefsPrefs ); const CePrefsPrefs* prefsPrefs );
LRESULT CALLBACK PrefsDlg(HWND, UINT, WPARAM, LPARAM); LRESULT CALLBACK PrefsDlg(HWND, UINT, WPARAM, LPARAM);