Correct field's initialization
This commit is contained in:
31
include/stdafx.h
Normal file
31
include/stdafx.h
Normal file
@@ -0,0 +1,31 @@
|
||||
#pragma once
|
||||
#include <iostream>
|
||||
#include <cstdbool>
|
||||
|
||||
#ifdef WINDOWS
|
||||
#include <conio.h>
|
||||
#else
|
||||
#include "curses.h"
|
||||
#endif // WINDOWS
|
||||
|
||||
#include "Soldier.h"
|
||||
#include "Infantry.h"
|
||||
#include "Game.h"
|
||||
#include "Player.h"
|
||||
|
||||
enum KEY_CODES
|
||||
{
|
||||
ESC_KEY = 27,
|
||||
UP_KEY = 119,
|
||||
DOWN_KEY = 115,
|
||||
LEFT_KEY = 97,
|
||||
RIGHT_KEY = 100,
|
||||
ENTER = 13
|
||||
};
|
||||
|
||||
enum CELL_CHARS {
|
||||
EMPTY_CELL = '*',
|
||||
CURSOR_CELL = '?',
|
||||
ENEMY_CELL = 'E',
|
||||
PLAYER_CELL = 'I'
|
||||
};
|
||||
Reference in New Issue
Block a user