comparison projects/tank_wars/game.h @ 278:3c3d042dad12 prerelease

merge
author Giulio Moro <giuliomoro@yahoo.it>
date Tue, 17 May 2016 16:07:45 +0100
parents 8d80eda512cd
children
comparison
equal deleted inserted replaced
277:4b3ae93ab102 278:3c3d042dad12
25 // State queries 25 // State queries
26 bool gameStatusPlayer1Turn(); 26 bool gameStatusPlayer1Turn();
27 bool gameStatusProjectileInMotion(); 27 bool gameStatusProjectileInMotion();
28 int gameStatusWinner(); 28 int gameStatusWinner();
29 bool gameStatusCollisionOccurred(); 29 bool gameStatusCollisionOccurred();
30 bool gameStatusTankHitOccurred();
30 float gameStatusProjectileHeight(); 31 float gameStatusProjectileHeight();
31 32
32 // Render screen; returns length of buffer used 33 // Render screen; returns length of buffer used
33 int drawGame(float *buffer, int bufferSize); 34 int drawGame(float *buffer, int bufferSize);
34 35