26 lines
445 B
C
26 lines
445 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_function.h"
|
|
#include "player_functions.c"
|
|
|
|
typedef struct ConsoleApp
|
|
{
|
|
int id;
|
|
HANDLE *hConsole;
|
|
CONSOLE_SCREEN_BUFFER_INFO *csbi;
|
|
DWORD *charsWritten;
|
|
} ConsoleApp;
|
|
|
|
void consoleInit(ConsoleApp *pGame);
|
|
|
|
#endif //CONSOLEMENU_GAME_H
|