mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +01:00
de98a70b9f
Staring to hack stuff: I need an alert mechanism already to confirm a move.
26 lines
423 B
C
26 lines
423 B
C
|
|
#ifndef _MAIN_H_
|
|
#define _MAIN_H_
|
|
|
|
#include <SDL2/SDL.h>
|
|
#include <SDL2/SDL_ttf.h>
|
|
|
|
#include "game.h"
|
|
|
|
typedef struct _Globals {
|
|
SDL_Window* window;
|
|
SDL_Renderer* renderer;
|
|
XWGame game;
|
|
CurGameInfo gi;
|
|
VTableMgr* vtMgr;
|
|
XW_DUtilCtxt* dutil;
|
|
XW_UtilCtxt* util;
|
|
DrawCtx* draw;
|
|
DictionaryCtxt* dict;
|
|
TransportProcs procs;
|
|
CommonPrefs cp;
|
|
|
|
MemPoolCtx* mpool;
|
|
} Globals;
|
|
|
|
#endif
|