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 ECE2035 Spring 2015 TA

Committer:
jford38
Date:
Wed Oct 28 06:36:24 2015 +0000
Revision:
18:18dfc9fb33b5
Parent:
14:36c306e26317
Most things working! Multi-player and single-player working with accelerometer x controlling the tanks and y controlling the gun. Uses the down button to fire.

Who changed what in which revision?

UserRevisionLine numberNew 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 14:36c306e26317 24
jford38 14:36c306e26317 25 #endif //GLOBAL_H__