Main Page | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals

/Users/blackie/Documents/myRepository/phobosengine-vc2005/phobosengine/phobosengine/Configuration.h

Go to the documentation of this file.
00001 
00002 
00003 #ifndef CONFIGURATION_H
00004 #define CONFIGURATION_H
00005 
00006 
00007 #include "Renderer.h"
00008 
00009 #include <string>
00010 
00011 
00012 // Types
00013 typedef unsigned int    uint32;
00014 typedef unsigned short  uint16;
00015 typedef unsigned char   uint8;
00016 typedef int    int32;
00017 typedef short  int16;
00018 typedef char   int8;
00019 
00020 
00021 // Field of view / planes.
00022 //#define                       NEAR_PLANE                                      0.1f
00023 //#define                       FAR_PLANE                                       1500.0f
00024 //#define                       FIELD_OF_VIEW                           45.0f
00025 
00026 
00027 // Texture file prefix
00028 #define                 TEXTURE_PREFIX                          std::string("../data/textures/")
00029 
00030 #define                 DEFAULT_TEXTURE_FILE            std::string("default.jpg")
00031 
00032 #define                 TEXTURE_RESOURCE_FILE           std::string("../textures.xml")
00033 
00034 #define                 TEXTURE_MINFILTER                       GL_LINEAR
00035 #define                 TEXTURE_MAGFILTER                       GL_LINEAR
00036 #define                 TEXTURE_MINFILTER_MIPMAP        GL_LINEAR_MIPMAP_LINEAR
00037 #define                 TEXTURE_WRAPS                           GL_REPEAT
00038 #define                 TEXTURE_WRAPT                           GL_REPEAT
00039 
00040 // Default alpha channel color (decimal value for color, i.e. 0 for black, 255 for white)
00041 #define                 ALPHA_COLOR_R                           0
00042 #define                 ALPHA_COLOR_G                           0
00043 #define                 ALPHA_COLOR_B                           0
00044 
00045 
00046 // ///////////////////////////////////////////////////
00047 // Font configuration
00048 // ///////////////////////////////////////////////////
00049 #define                 DEFAULT_FONT_FILE                       std::string("font.bmp")
00050 
00051 // If this value is higher, the single characters will be closer to each
00052 // other, else they will be more space between them.
00053 #define                 FONT_COMPACT_FACTOR                     3
00054 
00055 // Alpha values for fonttexture.
00056 #define                 FONT_ALPHA_RED                          0
00057 #define                 FONT_ALPHA_GREEN                        0
00058 #define                 FONT_ALPHA_BLUE                         0
00059 
00060 #endif

Generated on Mon Oct 16 12:08:10 2006 for Phobosengine by doxygen 1.3.4