X-Git-Url: https://git.ucc.asn.au/?p=progcomp2012.git;a=blobdiff_plain;f=judge%2Fmanager%2Fgraphics.h;h=41dd7dea25f01f20f9438bdc2ce0ddc496da71f0;hp=caa57c69e49c3df05631a792c4bbff060aa3e1e9;hb=b1c6f5bee1c544be8b04d16d1bce9a66688df0c3;hpb=341297b4dce9528d54fe9dceeff0d6dc33f70abe diff --git a/judge/manager/graphics.h b/judge/manager/graphics.h index caa57c6..41dd7de 100644 --- a/judge/manager/graphics.h +++ b/judge/manager/graphics.h @@ -8,6 +8,8 @@ #include #include +#define GRID_SIZE 64.0 + typedef SDL_Surface Screen; typedef SDL_Rect Rectangle; typedef short unsigned int SUint; @@ -18,6 +20,7 @@ typedef unsigned char Uint8; +#include @@ -93,7 +96,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 +154,8 @@ class Font : private Texture }; + + #endif //GRAPHICS_H #endif //BUILD_GRAPHICS