The code now properly updates and writes to the console.

This commit is contained in:
felicianoa237
2025-03-24 19:11:24 -05:00
parent 806041eaaa
commit 30dc582241
16 changed files with 220 additions and 1346 deletions

10
game.h
View File

@@ -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