A retro gaming programme, designed for use on a portable embedded system. Incorporates power saving techniques.
Dependencies: ConfigFile N5110 PowerControl beep mbed
Diff: tower.h
- Revision:
- 72:ade25d595dc9
- Parent:
- 68:e978b6bccff8
- Child:
- 73:1b03202c987a
--- a/tower.h Fri May 08 09:02:06 2015 +0000 +++ b/tower.h Fri May 08 12:42:59 2015 +0000 @@ -134,9 +134,9 @@ int score = 0;/*!< Integer to show and print Scores. */ //stored high score variables -int highScore1; -int highScore2; -int highScore3; +int highScore1;/*!< Integer to store Score 1. */ +int highScore2;/*!< Integer to store Score 2. */ +int highScore3;/*!< Integer to store Score 3. */ //global char arrays to store initials/score char player1initials[14] = {"1.AAA.....0"};/*!< Buffer for printing Initials and Top Score 1.*/ @@ -186,17 +186,54 @@ int state3 = 0;/*!< State number for output 3.*/ //prototypes + + +/** +*/ void calibrateJoystick(); + +/** +*/ void updateJoystick(); + +/** +*/ void timerExpiredA(); + +/** +*/ void timerExpiredB(); + +/** +*/ void actionButton(); + +/** +*/ void randomise(); + +/** +*/ void resetGame(); + +/** +*/ void startrek(); + +/** +*/ void refreshCursor1(); + +/** +*/ void refreshCursor2(); + +/** +*/ void refreshCursor3(); + +/** +*/ void ninjaBoundaries(); /**