• Main Page
  • Classes
  • Files
  • File List

Engine/TextureDefinitions.h

00001 /*
00002  * TextureDefinitions.h
00003  *
00004  *  Created on: 30-11-2010
00005  *      Author: Marcin Ciechowicz
00006  */
00007 
00008 #ifndef TEXTURE_DEFINITIONS_H
00009 #define TEXTURE_DEFINITIONS_H
00010 
00011 #include <string>
00012 using namespace std;
00013 
00014 /*
00015  *      if you want add new texture, increase TEXTURECOUNTER, and name of texture, and file with texture
00016  *  TextureManager will do the rest;
00017  *  If you want to get use texture in the code, checkout TextureManager.h file.
00018  */
00019 
00020 const int TEXTURECOUNT = 5;
00021 
00022 enum GameTexture
00023 {
00024         STICK = 0 ,
00025         TABLE_CLOTH,
00026         TABLE_FRAME,
00027         FLOOR,
00028         WALL
00029 };
00030 
00031 static std::string textureFolder="Data/";
00032 static std::string textureFileN[TEXTURECOUNT]={"stick.bmp","cloth.bmp","table-frame.bmp", "wood-floor.bmp", "wall.bmp"};
00033 #endif

Generated on Sun Dec 5 2010 19:03:32 for Snook3d by  doxygen 1.7.2