26 lines
423 B
C
26 lines
423 B
C
//
|
|
// Created by tony on 11/28/2024.
|
|
//
|
|
|
|
#ifndef CONSOLEMENU_GAME_H
|
|
#define CONSOLEMENU_GAME_H
|
|
|
|
#include <windows.h>
|
|
#include <time.h>
|
|
#include <stdbool.h>
|
|
#include "entities.h"
|
|
#include "console_functions.c"
|
|
#include "player_functions.c"
|
|
|
|
typedef struct Game
|
|
{
|
|
int id;
|
|
HANDLE hConsole;
|
|
CONSOLE_SCREEN_BUFFER_INFO csbi;
|
|
DWORD *charsWritten;
|
|
} Game;
|
|
|
|
void gameINIT(Game *pGame);
|
|
|
|
#endif //CONSOLEMENU_GAME_H
|