]> git.localhorst.tv Git - sdl-test7.git/blob - src/sdl-test7.cpp
imported current version
[sdl-test7.git] / src / sdl-test7.cpp
1 //============================================================================
2 // Name        : sdl-test7.cpp
3 // Author      : HolySmoke
4 // Version     :
5 // Copyright   :
6 // Description : Hello World in C++, Ansi-style
7 //============================================================================
8
9 #include "app/Application.h"
10 #include "pong/Match.h"
11 #include "sdl/InitScreen.h"
12 #include "sdl/InitSDL.h"
13 #include "sdl/InitTTF.h"
14
15 int main(int argc, char *argv[]) {
16         const int width(800);
17         const int height(480);
18
19         sdl::InitSDL initSDL;
20         sdl::InitTTF initTTF;
21         sdl::InitScreen initScreen(width, height);
22
23         app::Application a(&initScreen, new pong::Match);
24         a.Run();
25         return 0;
26 }