First commit

This commit is contained in:
2017-10-13 08:11:07 +02:00
commit a51ea64692
28 changed files with 7990 additions and 0 deletions

21
main.cpp Normal file
View File

@@ -0,0 +1,21 @@
#include "api.h"
#include <time.h>
#include <stdlib.h>
#include "keyHandlers.h"
#include "StarField.h"
#include "Menu.h"
int main(int argc, char* argv[]) {
srand(time(NULL));
Init();
LoadImage("gfx.png");
RegisterSystem(new StarField());
RegisterSystem(new Menu());
RegisterKeyboardHandler(&menuKeyHandler);
while (!Update()) {}
Quit();
return 0;
}