C++ Game Framework  2013-06-04
CGF is a DirectX 11 game framework, built in C++ and DirectX 11. This is used to contain many to the DirectX functionality and wrap them into a framework to make game development easier.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
CGFInclude.h
Go to the documentation of this file.
1 // Filename: CGFInclude.h
4 
5 //Preprocessor directive designed to cause the current source file to be included only once in a single compilation
6 #pragma once
7 
8 //Defined to allow for exporting class/methods as a class library
9 #ifdef CGAMEFRAMEWORK_EXPORTS
10  #define CGF_API __declspec(dllexport)
11 #else
12  #define CGF_API __declspec(dllimport)
13 #endif
14 
15 //Disable the dll-interface warnign for XMMATRIX as we are only exposing this through methods, not the matrix struct itself.
16 // Thus, we can ignore the warning: http://www.cplusplus.com/forum/beginner/13928/
17 #pragma warning (disable : 4251)