| 1 | #ifndef DRAW_HEADER_FILE__ |
| 2 | #define DRAW_HEADER_FILE__ |
| 3 | |
| 4 | #include <SDL.h> |
| 5 | #include <SDL/SDL.h> |
| 6 | #include <SDL/SDL_image.h> |
| 7 | // #include "SDL/SDL_image.h" |
| 8 | #include <SDL/SDL_thread.h> |
| 9 | |
| 10 | #define SCREEN_NAV 2 |
| 11 | #define SCREEN_HELM 4 |
| 12 | |
| 13 | |
| 14 | void DrawPixel(SDL_Surface *screen, int x, int y, Uint32 color); |
| 15 | |
| 16 | void DrawLine(SDL_Surface *screen, int X1, int Y1, int X2, int Y2, Uint32 Color); |
| 17 | |
| 18 | void DrawArc(SDL_Surface *screen, int X1, int Y1, int Radius, int Theta1, int Theta2, Uint32 Color); |
| 19 | |
| 20 | void DrawCircle(SDL_Surface *screen, int X1, int Y1, int Radius, Uint32 Color); |
| 21 | |
| 22 | void FillCircle(SDL_Surface *screen, int X1, int Y1, int Radius, Uint32 Color); |
| 23 | |
| 24 | void DrawDiamond(SDL_Surface *screen, int X1, int Y1, int Size, char Direction, Uint32 Color); |
| 25 | |
| 26 | void DrawBox(SDL_Surface *screen, int X1, int Y1, int Size, char Direction, Uint32 Color); |
| 27 | |
| 28 | void DrawRectangle(SDL_Surface *screen, int x1, int y1, int x2, int y2, Uint32 color); |
| 29 | |
| 30 | void FillRectangle(SDL_Surface *screen, int x1, int y1, int x2, int y2, Uint32 color); |
| 31 | |
| 32 | void DrawCross(SDL_Surface *screen, int X1, int Y1, int Size, char Direction, Uint32 Color); |
| 33 | |
| 34 | #endif |