Revenge of the Mouse
Dependencies: 4DGL-uLCD-SE EthernetInterface Game_Synchronizer LCD_fonts MMA8452 SDFileSystem mbed-rtos mbed wave_player
Fork of 2035_Tanks_Shell by
misc/misc.h@22:3c68eea5a609, 2015-10-29 (annotated)
- Committer:
- jford38
- Date:
- Thu Oct 29 05:14:49 2015 +0000
- Revision:
- 22:3c68eea5a609
- Parent:
- 20:6a58052b0140
- Child:
- 23:77049670cae6
The Shell for students to fill in to play their tanks game.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jford38 | 14:36c306e26317 | 1 | #ifndef GLOBAL_H__ |
jford38 | 14:36c306e26317 | 2 | #define GLOBAL_H__ |
jford38 | 14:36c306e26317 | 3 | |
jford38 | 14:36c306e26317 | 4 | #define SKY_COLOR 0x7EC0EE |
jford38 | 14:36c306e26317 | 5 | #define GND_COLOR 0x66CD00 |
jford38 | 14:36c306e26317 | 6 | #define TANK_RED 0xCD0000 |
jford38 | 14:36c306e26317 | 7 | #define TANK_BLUE 0x000080 |
jford38 | 18:18dfc9fb33b5 | 8 | |
jford38 | 18:18dfc9fb33b5 | 9 | #define U_BUTTON 0 |
jford38 | 18:18dfc9fb33b5 | 10 | #define R_BUTTON 1 |
jford38 | 18:18dfc9fb33b5 | 11 | #define D_BUTTON 2 |
jford38 | 18:18dfc9fb33b5 | 12 | #define L_BUTTON 3 |
jford38 | 18:18dfc9fb33b5 | 13 | |
jford38 | 18:18dfc9fb33b5 | 14 | #define TURN_P1 0 |
jford38 | 18:18dfc9fb33b5 | 15 | #define TURN_P2 1 |
jford38 | 18:18dfc9fb33b5 | 16 | |
jford38 | 18:18dfc9fb33b5 | 17 | |
jford38 | 18:18dfc9fb33b5 | 18 | |
jford38 | 18:18dfc9fb33b5 | 19 | #define ACC_THRESHOLD 0.25 |
jford38 | 18:18dfc9fb33b5 | 20 | |
jford38 | 14:36c306e26317 | 21 | #define PI 3.1415926535797 |
jford38 | 14:36c306e26317 | 22 | |
jford38 | 14:36c306e26317 | 23 | int CONVERT_24_TO_16_BPP(int col_24); |
jford38 | 22:3c68eea5a609 | 24 | void playSound(char * wav); |
jford38 | 14:36c306e26317 | 25 | |
jford38 | 14:36c306e26317 | 26 | #endif //GLOBAL_H__ |