The code now properly updates and writes to the console.
This commit is contained in:
10
game.h
10
game.h
@@ -12,14 +12,14 @@
|
||||
#include "console_function.h"
|
||||
#include "player_functions.c"
|
||||
|
||||
typedef struct Game
|
||||
typedef struct ConsoleApp
|
||||
{
|
||||
int id;
|
||||
HANDLE hConsole;
|
||||
CONSOLE_SCREEN_BUFFER_INFO csbi;
|
||||
HANDLE *hConsole;
|
||||
CONSOLE_SCREEN_BUFFER_INFO *csbi;
|
||||
DWORD *charsWritten;
|
||||
} Game;
|
||||
} ConsoleApp;
|
||||
|
||||
void gameINIT(Game *pGame);
|
||||
void consoleInit(ConsoleApp *pGame);
|
||||
|
||||
#endif //CONSOLEMENU_GAME_H
|
||||
|
||||
Reference in New Issue
Block a user