X-Git-Url: https://git.ucc.asn.au/?p=progcomp2012.git;a=blobdiff_plain;f=judge%2Fmanager%2Fgraphics.h;h=89a44df1d02456d444e9b543c44cd9f921e483e4;hp=2a969327d8a14790564067c76e9426ce8ee76083;hb=ac335e7c423d067effae82cc80db518f896271b9;hpb=78293905481ab7a67e773d05350da29940a58ea6 diff --git a/judge/manager/graphics.h b/judge/manager/graphics.h index 2a96932..89a44df 100644 --- a/judge/manager/graphics.h +++ b/judge/manager/graphics.h @@ -1,4 +1,4 @@ -//#define BUILD_GRAPHICS +#define BUILD_GRAPHICS #ifdef BUILD_GRAPHICS #ifndef GRAPHICS_H @@ -18,6 +18,7 @@ typedef unsigned char Uint8; +#include @@ -93,7 +94,7 @@ class Graphics }; static bool Initialised() {return initialised;} - + static void ScreenShot(const char * fileName); protected: static void DrawColourData(SDL_Surface * dest, int destX, int destY, std::vector * R, std::vector * G, std::vector * B, std::vector * A = NULL); static void DrawColourData(SDL_Surface * dest, int destX, int destY, std::vector > * R, std::vector > * G, std::vector > * B, std::vector > * A = NULL); @@ -151,6 +152,8 @@ class Font : private Texture }; + + #endif //GRAPHICS_H #endif //BUILD_GRAPHICS