Mercurial > hg > beaglert
comparison projects/tank_wars/game.h @ 268:8d80eda512cd prerelease
Added new overlay for using PRU0 or PRU1, a script to halt board on button press, and several example projects
author | andrewm |
---|---|
date | Tue, 17 May 2016 14:46:26 +0100 |
parents | fbfeb5895efd |
children |
comparison
equal
deleted
inserted
replaced
267:247a182adb6d | 268:8d80eda512cd |
---|---|
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 |