diff --git a/src/monocoque/gameloop/gameloop.c b/src/monocoque/gameloop/gameloop.c index b67d7ac..c4cade9 100644 --- a/src/monocoque/gameloop/gameloop.c +++ b/src/monocoque/gameloop/gameloop.c @@ -698,6 +698,9 @@ int tester(SimDevice* devices, int numdevices) } sleep(3); + fprintf(stdout, "Green Flag!\n"); + simdata->playerflag = 0; + fprintf(stdout, "Shifting into first gear\n"); simdata->gear = 2; for (int x = 0; x < numdevices; x++) @@ -813,6 +816,9 @@ int tester(SimDevice* devices, int numdevices) } sleep(3); + fprintf(stdout, "Yellow Flag!\n"); + simdata->playerflag = 1; + fprintf(stdout, "Shifting into third gear\n"); simdata->gear = 4; for (int x = 0; x < numdevices; x++) @@ -835,6 +841,9 @@ int tester(SimDevice* devices, int numdevices) } sleep(3); + fprintf(stdout, "Blue Flag!\n"); + simdata->playerflag = 4; + fprintf(stdout, "Setting rpms to 4000\n"); simdata->rpms = 4000; for (int x = 0; x < numdevices; x++) @@ -879,6 +888,9 @@ int tester(SimDevice* devices, int numdevices) } sleep(3); + fprintf(stdout, "Red Flag!\n"); + simdata->playerflag = 2; + fprintf(stdout, "Setting rpms to 8000\n"); simdata->rpms = 8000; for (int x = 0; x < numdevices; x++)