00001
00002
00003 #ifndef CONFIGURATION_H
00004 #define CONFIGURATION_H
00005
00006
00007 #include "Renderer.h"
00008
00009 #include <string>
00010
00011
00012
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
00022
00023
00024
00025
00026
00027
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
00041 #define ALPHA_COLOR_R 0
00042 #define ALPHA_COLOR_G 0
00043 #define ALPHA_COLOR_B 0
00044
00045
00046
00047
00048
00049 #define DEFAULT_FONT_FILE std::string("font.bmp")
00050
00051
00052
00053 #define FONT_COMPACT_FACTOR 3
00054
00055
00056 #define FONT_ALPHA_RED 0
00057 #define FONT_ALPHA_GREEN 0
00058 #define FONT_ALPHA_BLUE 0
00059
00060 #endif