[go: up one dir, main page]

Menu

[r22]: / main.h  Maximize  Restore  History

Download this file

43 lines (33 with data), 897 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#ifndef _MAIN_H_
#define _MAIN_H_
#include <irrlicht.h>
#include <driverChoice.h>
using namespace irr;
using namespace core;
using namespace scene;
using namespace video;
using namespace io;
using namespace gui;
#include <iostream>
#include <time.h>
using namespace std;
#define PROJECT_NAME "Colonization"
//TODO: In-game config menu and config file
#define CONFIG_KEY_SCREENSHOT KEY_F11
#define CONFIG_SCREENSHOT_EXT ".jpg"
#define CONFIG_ANAGLYPH_EYE_DIST 0.01f
#define CONFIG_CAMERA_DRAW_DISTANCE_MIN 0.5f
#define CONFIG_CAMERA_DRAW_DISTANCE_MAX 5000.f
//#define CONFIG_FULLSCREEN
//#define CONFIG_WIDESCREEN
#define CONFIG_DEBUG_MODE
#include "CDeviceInfo.h"
#include "CLog.h"
#include "CSettings.h"
#include "CObjLoader.h"
#include "CMapLoader.h"
#include "CLevelLoader.h"
#include "MainMenu.h"
#include "Game.h"
#include "Editor.h"
#endif