Hrvoje Abramovic avatar Hrvoje Abramovic committed 8b9e79b

Added credits layer and temporarly credits png. Tried to make credits move on several ways but with no effect.

Comments (0)

Files changed (2)

 extern bool gRunning;
 extern SDL_Surface * gScreen;
     Layer *layer(new Layer("background.png", gScreen->w / 2,gScreen->h / 2));
-    Button *exitButton(new ExitButton("exit.png", 130, 335));
+    Layer *layer2(new Layer("credits.png",gScreen->w / 2,gScreen->h / 2));
+    this->layer.push_back(layer2);
+    Button *exitButton(new ExitButton("exitbutton.png", 130, 335));
     for(std::vector<Button*>::iterator it = this->buttons.begin();
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.