After decimating the enemy forces that have attacked your ship, you are charged with taking out as many of the remaining enemy fighters as possible. 3d space fighter game was initially written while I was testing some 3d routines I was implementing for a flight simulator, but my daughter started playing it and seemed to enjoy it so I added a few sound effects, explosions etc. and so this little game was born.

Dependencies:   mbed

Committer:
taylorza
Date:
Sun Feb 08 01:38:18 2015 +0000
Revision:
4:b857db213f10
Parent:
0:01829868570e
Removed duty lookup table

Who changed what in which revision?

UserRevisionLine numberNew contents of line
taylorza 0:01829868570e 1 ///////////////////////////////////////////////////////////////////////////////
taylorza 0:01829868570e 2 // LCD_ST7735 - Driver for ST7735 LCD display controller
taylorza 0:01829868570e 3 // Author: Chris Taylor (taylorza)
taylorza 0:01829868570e 4 #include "mbed.h"
taylorza 0:01829868570e 5 #include "Color565.h"
taylorza 0:01829868570e 6
taylorza 0:01829868570e 7 const uint16_t Color565::White = Color565::fromRGB(0xff, 0xff, 0xff);
taylorza 0:01829868570e 8 const uint16_t Color565::Silver = Color565::fromRGB(0xc0, 0xc0, 0xc0);
taylorza 0:01829868570e 9 const uint16_t Color565::Gray = Color565::fromRGB(0x80, 0x80, 0x80);
taylorza 0:01829868570e 10 const uint16_t Color565::Black = Color565::fromRGB(0x00, 0x00, 0x00);
taylorza 0:01829868570e 11 const uint16_t Color565::Red = Color565::fromRGB(0xff, 0x00, 0x00);
taylorza 0:01829868570e 12 const uint16_t Color565::Maroon = Color565::fromRGB(0x80, 0x00, 0x00);
taylorza 0:01829868570e 13 const uint16_t Color565::Yellow = Color565::fromRGB(0xff, 0xff, 0x00);
taylorza 0:01829868570e 14 const uint16_t Color565::Olive = Color565::fromRGB(0x80, 0x80, 0x00);
taylorza 0:01829868570e 15 const uint16_t Color565::Lime = Color565::fromRGB(0x00, 0xff, 0x00);
taylorza 0:01829868570e 16 const uint16_t Color565::Green = Color565::fromRGB(0x00, 0x80, 0x00);
taylorza 0:01829868570e 17 const uint16_t Color565::Aqua = Color565::fromRGB(0x00, 0xff, 0xff);
taylorza 0:01829868570e 18 const uint16_t Color565::Teal = Color565::fromRGB(0x00, 0x80, 0x80);
taylorza 0:01829868570e 19 const uint16_t Color565::Blue = Color565::fromRGB(0x00, 0x00, 0xff);
taylorza 0:01829868570e 20 const uint16_t Color565::Navy = Color565::fromRGB(0x00, 0x00, 0x80);
taylorza 0:01829868570e 21 const uint16_t Color565::Fuchsia = Color565::fromRGB(0xff, 0x00, 0xff);
taylorza 0:01829868570e 22 const uint16_t Color565::Purple = Color565::fromRGB(0x80, 0x00, 0x80);