Annwvyn.h
Go to the documentation of this file.
1 #pragma once
2 
67 namespace Annwvyn
69 {}
70 
71 //Some C++ misc utils
72 #include <iostream>
73 #include <string>
74 #include <sstream>
75 #include <vector>
76 #include <list>
77 #include <unordered_map>
78 #include <cstring>
79 #include <chrono>
80 #include <ctime>
81 
82 #include <Ogre.h>
83 
84 //Annwvyn classes
85 #include <AnnEngine.hpp>
86 #include <AnnGameObjectManager.hpp>
87 #include <AnnGameObject.hpp>
88 #include <AnnTriggerObject.hpp>
89 #include <AnnAudioEngine.hpp>
90 #include <AnnEventManager.hpp>
91 #include <AnnLogger.hpp>
92 #include <AnnLevel.hpp>
93 #include <AnnSplashLevel.hpp>
94 #include <AnnFilesystem.hpp>
95 #include <AnnResourceManager.hpp>
96 #include <Ann3DTextPlane.hpp>
98 #include <AnnUserSpaceEvent.hpp>
99 #include <AnnException.hpp>
100 #include <AnnStringUtility.hpp>
101 #include <AnnScriptManager.hpp>
102 
103 //Other Annwvyn
104 #include <AnnTypes.h>
105 #include <AnnVect3.hpp>
106 #include <AnnQuaternion.hpp>
107 #include <AnnGetter.hpp>
108 #include <AnnOgreVRRenderer.hpp>
109 
110 /*Main definition :
111  *
112  * For more simplicity, Program start by a "AnnMain" function at the library
113  * user side. This allow to select proper entry point for the application, and
114  * maybe add pre-starting treatments here.
115  */
116 
117 #ifdef _WIN32
118 #define WIN32_LEAN_AND_MEAN
119 #include "windows.h"
121 #define AnnMain() \
122  int AnnwvynStart(); \
123  INT WINAPI WinMain(HINSTANCE hInst, HINSTANCE, LPSTR strCmdLine, INT) \
124  { \
125  return AnnwvynStart(); \
126  } \
127  int AnnwvynStart()
128 
129 #else
130 
132 #define AnnMain() \
133  int AnnwvynStart(); \
134  int main(int argc, char** argv) \
135  { \
136  Annwvyn::preStart(); \
137  return AnnwvynStart(); \
138  } \
139  int AnnwvynStart()
140 
141 #endif
A 3D Vector.
Namespace containing the totality of Annwvyn components.
Definition: AnnGetter.cpp:8
Implement file I/O for saving game data.
Pure virtual class that represent a level AnnLevelManager class only handle object that derive from t...
OpenAL audio handling for Annwvyn handle the OpenAL context creation and the loading of sound files h...
Create a ostream to the Ogre logger.
A Quaternion.
Scene (level) to put a splashing logo.
Main Annwvyn Engine class Initialize the renderer and all subsystem. Provide access to all of the eng...
event management for Annwvyn
Object for representing a volume that trigger an event.
Data types definition for Annwvyn.
Game Object class.