Go to the documentation of this file.00001 #pragma once
00002
00003 #define CG_SEM_POSITION 0
00004 #define CG_SEM_NORMAL 2
00005 #define CG_SEM_TEXCOORD0 8
00006 #define CG_SEM_TEXCOORD1 9
00007 #define CG_SEM_TEXCOORD2 10
00008 #define CG_SEM_TEXCOORD3 11
00009 #define CG_SEM_TEXCOORD4 12
00010 #define CG_SEM_TEXCOORD5 13
00011 #define CG_SEM_TEXCOORD6 14
00012 #define CG_SEM_TANGENT 14
00013 #define CG_SEM_TEXCOORD7 15
00014 #define CG_SEM_BINORMAL 15
00015
00016 #define CONST_SUCCESS 0x0
00017 #define CONST_FAILURE 0x1
00018 #define CONST_GENERAL_ERROR 0x1
00019 #define CONST_PASSED_NULLPOINTER 0x2
00020 #define CONST_PROPERTY_NOT_FOUND 0x4
00021 #define CONST_SKELETON_UNDEFINED 0x8
00022 #define CONST_FILE_NOT_FOUND 0x10
00023 #define CONST_MATERIAL_NOT_FOUND 0x20
00024 #define CONST_TEXTURE_NOT_FOUND 0x40
00025
00026 #define CONST_ANIMATION_DONE 0x1
00027 #define CONST_END_OF_EDGE 0x2
00028
00029 #define CONST_NO_BOUNDINGBOX_SET 600
00030 #define CONST_NO_COLLISION_DETECTED 650
00031 #define CONST_COLLISION_DETECTED 651
00032
00033 #define CONST_UNHOLY_ERROR 999
00034
00035 #define CONST_DRAW_WIREFRAME 0x1
00036 #define CONST_DRAW_TRIANGLES 0x2
00037 #define CONST_OUTLINE_VERTICES 0x4
00038 #define CONST_SHOW_NORMALS 0x8
00039 #define CONST_SKIN_MESH 0x10
00040 #define CONST_DRAW_MESH 0x20
00041 #define CONST_OUTLINE_MAPPED_VERTICES 0x40
00042 #define CONST_DRAW_BOUNDING_BOXES 0x80
00043 #define CONST_DRAW_SKELETON 0x100
00044 #define CONST_REBOUND_MODEL 0x200
00045 #define CONST_RECALCULATE_BOUNDINGSPHERE 0x400
00046 #define CONST_DRAW_BOUNDINGSPHERE 0x800
00047 #define CONST_DRAW_COORDINATE_SYSTEM 0x1000
00048 #define CONST_USE_CPU 0x2000
00049 #define CONST_DRAW_SKYBOX 0x4000
00050 #define CALCULATE_ABSOLUTE 0x8000
00051 #define CALCULATE_RELATIVE 0x10000
00052 #define CONST_DRAW_BOUNDING_BOX 0x20000
00053 #define CONST_USE_VBA 0x40000
00054 #define CONST_SHOW_LOOKDIR 0x80000
00055
00056 #define CONST_CG 0x01
00057 #define CONST_GLSL 0x02
00058 #define CONST_PIXELSHADER 0x10
00059 #define CONST_VERTEXSHADER 0x20
00060 #define CONST_EFFECT 0x40
00061
00062 #define CONST_TRANSLATIONMATRIX_ONLY 0x1
00063 #define CONST_ROTATIONMATRIX_ONLY 0x2
00064 #define CONST_INVERSE 0x4
00065
00066 #define CONST_CHECK 0x1
00067
00068 #define CONST_FOUND_VALUE 0x1
00069 #define CONST_VALUE_NOT_FOUND 0x0
00070 #define CONST_GUN_NOT_READY 0x2
00071
00072 #define SCENE GSceneManager::GetInstance()
00073 #define PHYSICS GPhysicsManager::GetInstance()