Niotso  git revision 558726a9f13d7c3423a683dd2f4323589b66c310
The New Implementation of The Sims Online
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
EngineInterface.hpp
Go to the documentation of this file.
1 /*
2  Niotso - The New Implementation of The Sims Online
3  EngineInterface.hpp
4  Copyright (c) 2012 Niotso Project <http://niotso.org/>
5  Author(s): Fatbag <X-Fi6@phppoll.org>
6 
7  This program is free software: you can redistribute it and/or modify
8  it under the terms of the GNU General Public License as published by
9  the Free Software Foundation, either version 3 of the License, or
10  (at your option) any later version.
11 
12  This program is distributed in the hope that it will be useful,
13  but WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  GNU General Public License for more details.
16 
17  You should have received a copy of the GNU General Public License
18  along with this program. If not, see <http://www.gnu.org/licenses/>.
19 */
20 
21 //Compiler/platform constants
22 #ifdef _WIN32
23  #define WINVER 0x0502
24  #define _WIN32_WINNT 0x0502
25  #define _CRT_SECURE_NO_WARNINGS
26 #endif
27 
28 //Standard libraries
29 #include <stdint.h>
30 #include <stdlib.h>
31 #include <string.h>
32 #include <stdio.h>
33 #ifdef _WIN32
34  #define WIN32_LEAN_AND_MEAN
35  #include <windows.h>
36  #undef NULL
37  #define NULL 0
38 #endif
39 
40 //Codebase libraries
41 #include "FileHandler.hpp"
42 #include "ft2build.h"
43 #include FT_FREETYPE_H
44 
45 //Macro definitions
46 #ifndef min
47  #define min(x,y) ((x)<(y)?(x):(y))
48 #endif
49 #ifndef max
50  #define max(x,y) ((x)>(y)?(x):(y))
51 #endif
52 
53 //Codebase version, branding, linker resources
54 #include "version.h"
55 #include "Resources/Resource.h"
56 
57 //Components
58 #include "Audio/Audio.hpp"
59 #include "Graphics/Graphics.hpp"
60 #include "System/System.hpp"
61 #include "Window/Window.hpp"
62 
63 #include "Scene/Scene.hpp"