color.h

Go to the documentation of this file.
00001 
00025 #include <SDL.h>
00026 
00030 enum {
00034     COLOR_RED,
00038     COLOR_BLUE,
00042     COLOR_GREEN,
00046     COLOR_PURPLE,
00050     COLOR_BLACK,
00054     COLOR_WHITE,
00058     COLOR_REGBACK,
00062     COLOR_PONGBACK,
00066     COLOR_BACK,
00070     COLOR_OBSTACLE,
00074     COLOR_TEXT,
00075     COLOR_MAX
00076 };
00077 
00081 extern SDL_Color colorFmtInd[COLOR_MAX];
00082 
00086 extern Uint32 colorVals[COLOR_MAX];
00087 
00094 void SetupColorVals();
00095 
00109 Uint32 ColorBlend(SDL_Color a, SDL_Color b, int partsA, int partsB);
00110 

Generated on Mon May 28 04:41:38 2007 for Retro Tank Super Attack by  doxygen 1.5.2