diff options
Diffstat (limited to 'src/simulator/main.c')
-rw-r--r-- | src/simulator/main.c | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/src/simulator/main.c b/src/simulator/main.c index 5c875fe..45b2420 100644 --- a/src/simulator/main.c +++ b/src/simulator/main.c @@ -3,7 +3,6 @@ #include <assert.h> #include <SDL2/SDL.h> -#include "SDL_events.h" #include "./rendering.h" #include "../game.h" @@ -37,10 +36,6 @@ int main(int argc, char *argv[]) { load_game(input_filepath, &games[current]); } - - - - //print_chromo(stdout, game.chromos); scc(SDL_Init(SDL_INIT_VIDEO)); @@ -118,6 +113,18 @@ int main(int argc, char *argv[]) { // Render Agents render_game(renderer, &games[current]); + //TODO: Zoom + + //SDL_Rect rect_a = { + // 0, 0, + // SCREEN_WIDTH, SCREEN_HEIGHT + //}; + + + //char a[10]; + //a[10] = 0; + + //SDL_RenderCopy(renderer, NULL, &rect_a, &rect_b); // Render SDL_RenderPresent(renderer); |