Version of Robotron arcade game using LPC1768, a Gameduino shield, a serial EEPROM (for high scores), two microswitch joysticks and two buttons plus a box to put it in. 20 levels of mayhem.

Dependencies:   25LCxxx_SPI CommonTypes Gameduino mbed

Animations.cpp

Committer:
RichardE
Date:
2013-06-17
Revision:
18:70190f956a24
Parent:
7:e72691603fd3

File content as of revision 18:70190f956a24:

/*
 * SOURCE FILE : Animations.cpp
 *
 * Animations consisting of arrays of sprite image numbers in program memory.
 *
 */

#include "Animations.h"
#include "SpriteImageId.h"

const UInt8 Animations::WomanAnimation[] = { Woman0Image, Woman1Image, Woman2Image, Woman1Image };
const UInt8 Animations::ManAnimation[] = { Man0Image, Man1Image, Man2Image, Man1Image };

// Array containing addresses of all the human animations.
const UInt8 *Animations::HumanAnimations[ HumanAnimationCount ] = {
  WomanAnimation,
  ManAnimation,
};

const UInt8 Animations::CrusherAnimation[] = { Crusher0Image, Crusher1Image, Crusher2Image, Crusher1Image };