diff options
author | venomade <venomade@venomade.com> | 2025-02-27 17:30:36 +0000 |
---|---|---|
committer | venomade <venomade@venomade.com> | 2025-02-27 17:30:36 +0000 |
commit | 2155be63d154d7d613c6227cc0376144fa254c03 (patch) | |
tree | 6b6255af5987a921577157f7396d2deaf45ce150 /src/simulator/main.c | |
parent | 259c727658485ea00d6ef8617ecab579be871470 (diff) |
Add experimental branch experimental
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); |