summaryrefslogtreecommitdiff
path: root/src/game.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.c')
-rw-r--r--src/game.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game.c b/src/game.c
index 63f61a3..a51b015 100644
--- a/src/game.c
+++ b/src/game.c
@@ -4,12 +4,12 @@
#include "game.h"
#include "utils.h"
-void play(tick_t tick, int *dirtRectsCount, SDL_Rect **directRects ) {
+void play(tick_t tick, gameObjectsState_t *objStates) {
if (tick%100==0) { } //printf("tick==%i\n",tick); }
//TODO : boucle de jeu principale ici (maj état de jeu)
- printf("%p - %i\n", (void *) *directRects, *dirtRectsCount);
+ printf("%p\r", (void *) objStates);
SDL_Delay(rand()%8);
}