Rev 1 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 10 | tom | 1 | #include "SDL/SDL.h" |
| 2 | #include "SDL/SDL_image.h" |
||
| 3 | #include "SDL/SDL_opengl.h" |
||
| 4 | |||
| 5 | #include <dirent.h> |
||
| 6 | #include <iostream> |
||
| 7 | #include <vector> |
||
| 8 | #include <map> |
||
| 9 | |||
| 10 | using namespace std; |
||
| 11 | |||
| 12 | #include "point.hpp" |
||
| 13 | #include "snake.hpp" |
||
| 14 | #include "texture.hpp" |
||
| 1 | tom | 15 | #include "sssnakesss.hpp" |
| 16 | |||
| 17 | int main(int argc, char *argv[]) |
||
| 18 | { |
||
| 19 | SSSNAKESSS game; |
||
| 20 | if (game.init()) |
||
| 21 | { |
||
| 22 | game.run(); |
||
| 23 | game.end(); |
||
| 24 | } |
||
| 25 | |||
| 26 | return 0; |
||
| 27 | } |