mirror of
https://github.com/Tha14/toxic.git
synced 2025-07-05 02:56:46 +02:00
Add game module (WIP)
This commit is contained in:
@ -55,6 +55,8 @@ typedef enum {
|
||||
BLACK,
|
||||
BLUE_BLACK,
|
||||
BLACK_WHITE,
|
||||
WHITE_BLACK,
|
||||
WHITE_BLUE,
|
||||
BAR_TEXT,
|
||||
STATUS_ONLINE,
|
||||
BAR_ACCENT,
|
||||
@ -78,6 +80,7 @@ typedef enum {
|
||||
WINDOW_TYPE_CHAT,
|
||||
WINDOW_TYPE_CONFERENCE,
|
||||
WINDOW_TYPE_FRIEND_LIST,
|
||||
WINDOW_TYPE_GAME,
|
||||
} WINDOW_TYPE;
|
||||
|
||||
/* Fixes text color problem on some terminals.
|
||||
@ -129,6 +132,7 @@ typedef struct StatusBar StatusBar;
|
||||
typedef struct PromptBuf PromptBuf;
|
||||
typedef struct ChatContext ChatContext;
|
||||
typedef struct Help Help;
|
||||
typedef struct GameData GameData;
|
||||
|
||||
struct ToxWindow {
|
||||
/* ncurses */
|
||||
@ -193,6 +197,8 @@ struct ToxWindow {
|
||||
StatusBar *stb;
|
||||
Help *help;
|
||||
|
||||
GameData *game;
|
||||
|
||||
WINDOW *window;
|
||||
WINDOW *window_bar;
|
||||
};
|
||||
|
Reference in New Issue
Block a user