The classic dueling tanks game for mbed.
Dependencies: 4DGL-uLCD-SE DRV2605 EthernetInterface Game_Synchronizer MMA8452 SDFileSystem SparkfunAnalogJoystick mbed-rtos mbed wave_player
Fork of 2035_Tanks_Shell by
globals.h@10:5da9b27e050e, 2015-10-23 (annotated)
- Committer:
- jford38
- Date:
- Fri Oct 23 03:33:35 2015 +0000
- Revision:
- 10:5da9b27e050e
Draws tanks! And terrain and junk. Idk. I'm tired.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jford38 | 10:5da9b27e050e | 1 | #ifndef GLOBAL_H |
jford38 | 10:5da9b27e050e | 2 | #define GLOBAL_H |
jford38 | 10:5da9b27e050e | 3 | |
jford38 | 10:5da9b27e050e | 4 | #ifndef ULCD_4DGL_H_ |
jford38 | 10:5da9b27e050e | 5 | #define ULCD_4DGL_H_ |
jford38 | 10:5da9b27e050e | 6 | #include "uLCD_4DGL.h" |
jford38 | 10:5da9b27e050e | 7 | #endif |
jford38 | 10:5da9b27e050e | 8 | |
jford38 | 10:5da9b27e050e | 9 | // === [global object] === |
jford38 | 10:5da9b27e050e | 10 | extern uLCD_4DGL uLCD; |
jford38 | 10:5da9b27e050e | 11 | |
jford38 | 10:5da9b27e050e | 12 | |
jford38 | 10:5da9b27e050e | 13 | // === [global settings] === |
jford38 | 10:5da9b27e050e | 14 | #define BACKGROUND_COLOR 0x000000 |
jford38 | 10:5da9b27e050e | 15 | #define GRID_RADIUS 3 |
jford38 | 10:5da9b27e050e | 16 | //I changed this |
jford38 | 10:5da9b27e050e | 17 | #define GRID_SIZE 8 //(GRID_RADIUS*2+1) |
jford38 | 10:5da9b27e050e | 18 | #define NUM_GRID_X 15 |
jford38 | 10:5da9b27e050e | 19 | #define NUM_GRID_Y 14 |
jford38 | 10:5da9b27e050e | 20 | #define NUM_GRID 210 //(NUM_GRID_X*NUM_GRID_Y) |
jford38 | 10:5da9b27e050e | 21 | //end of change |
jford38 | 10:5da9b27e050e | 22 | |
jford38 | 10:5da9b27e050e | 23 | |
jford38 | 10:5da9b27e050e | 24 | |
jford38 | 10:5da9b27e050e | 25 | #endif //GLOBAL_H |