23 #include "logmanager.h"
25 #define OPEN_POLY_VERSION 0.30
38 typedef unsigned int uint;
39 typedef unsigned char uchar;
40 typedef unsigned short ushort;
54 RESET_VERTEX_ARRAY = 0x0 ,
55 RESET_ARRAY_BUFFER = 0x0 ,
59 ATTR_BUFFER_VERTICES = 0x0 ,
60 ATTR_BUFFER_TEXCOORD = 0x1 ,
61 ATTR_BUFFER_COLOR = 0x2 ,
62 ATTR_BUFFER_NORMAL = 0x3 ,
63 ATTR_BUFFER_TEXTURE = 0x4 ,
64 ATTR_BUFFER_INDICES = 0x5 ,
65 ATTR_BUFFER_DRAW_ID = 0x6 ,
66 ATTR_BUFFER_GROUP = 0x7 ,
67 ATTR_BUFFER_CUSTOM = 0x8 ,
85 SHADER_COMPILE_ERROR = 0x0 ,
91 static const std::string MAIN_CAMERA =
"Main";
92 static const std::string MAIN_LIGHT =
"Main";
93 static const std::string SHADER_SOURCE_PATH =
"./Shaders/v3/";
95 static boost::mutex thread_mutex;
96 static boost::mutex editor_update_mutex;
97 static boost::mutex thread_ticks;
111 class DeferredScreen;
122 class TechniqueManager;
123 class RenderEntityManager;
125 class AnimationManager;
128 class OverlayManager;
130 class ComponentManager;
141 using VertexGroups = std::vector< VertexGroup *>;
142 using Textures = std::vector< Texture * >;
143 using Shaders = std::vector< Shader * >;
144 using Numbers = std::vector< int >;
146 using Bones = std::list< Bone * >;
147 using TransformMap = std::map < int , Bones >;
155 typedef std::vector< int > Indices;
161 typedef std::vector< std::string> Strings;
167 typedef std::vector< Vector2f > Vector2fv;
173 typedef std::vector< Vector3f > Vector3fv;
179 typedef std::vector< Vector4f > Vector4fv;
185 typedef std::vector< Vector4i > Vector4iv;