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

globals.h

Committer:
eriklomas
Date:
2016-11-01
Revision:
28:fdaa7ecfbd80
Parent:
27:bd55ab4d137c

File content as of revision 28:fdaa7ecfbd80:

#ifndef GLOBAL_H__
#define GLOBAL_H__

#define SKY_COLOR  0x7EC0EE
#define GND_COLOR  0x66CD00
#define TANK_RED   0xCD0000
#define TANK_BLUE  0x000080
#define LAVA_COLOR 0xFF0000
#define YELLOW  0xFFF200
#define TREE_COLOR 0x008000
#define BULLET_COLOR 0X666666
#define STONE_COLOR  0xc0c0c0
#define LIGHTBLACK  0x404040

#define ex1 0xff3030
#define ex2 0xee2c2c    //explosion colors
#define ex3 0xcd2626
#define ex4 0x8b1a1a

#define U_BUTTON 0
#define R_BUTTON 1
#define D_BUTTON 2
#define L_BUTTON 3

#define TURN_P1 0
#define TURN_P2 1

#define ACC_THRESHOLD 0.25

#define PI  3.1415926535797



#endif //GLOBAL_H__