X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=course%2Fsemester2%2Fpprog%2Fassignment1%2Fgraphics.h;h=b437c143d41a4f2bc6cf1063d22cd2bcfbdcce89;hb=8050cacaa489292c82977b3d87971eaf9ca3c39b;hp=01ca839a27312ef99a1d57ae25b71768d9411e3d;hpb=1612d2449b7c9e4fa202adac00cda23700df44c7;p=matches%2Fhonours.git diff --git a/course/semester2/pprog/assignment1/graphics.h b/course/semester2/pprog/assignment1/graphics.h index 01ca839a..b437c143 100644 --- a/course/semester2/pprog/assignment1/graphics.h +++ b/course/semester2/pprog/assignment1/graphics.h @@ -13,8 +13,8 @@ #include "nbody.h" -#define SCREEN_WIDTH 800 -#define SCREEN_HEIGHT 800 +#define WIDTH 800 +#define HEIGHT 800 #define POINT_SIZE 1 #define POSITION_X 112 #define POSITION_Y 20 @@ -34,6 +34,7 @@ void Graphics_Init(void); void Graphics_Display(System * s); void Graphics_Keyboard(unsigned char key, int mouse_x, int mouse_y); void Graphics_Reshape(int width, int height); +void Graphics_Animate(void); #endif //_GRAPHICS_H