Mercurial > hg > beaglert
comparison projects/tank_wars/game.h @ 67:472e892c6e41
Merge newapi into default
author | Andrew McPherson <a.mcpherson@qmul.ac.uk> |
---|---|
date | Fri, 17 Jul 2015 15:28:18 +0100 |
parents | fbfeb5895efd |
children | 8d80eda512cd |
comparison
equal
deleted
inserted
replaced
21:0d80ff9e2227 | 67:472e892c6e41 |
---|---|
24 | 24 |
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(); | |
30 float gameStatusProjectileHeight(); | |
29 | 31 |
30 // Render screen; returns length of buffer used | 32 // Render screen; returns length of buffer used |
31 int drawGame(float *buffer, int bufferSize); | 33 int drawGame(float *buffer, int bufferSize); |
32 | 34 |
33 // Cleanup and memory release | 35 // Cleanup and memory release |