27 #ifndef AVALANCHE_SHOOTEMUP_H 28 #define AVALANCHE_SHOOTEMUP_H 31 class AvalancheEngine;
60 static const byte kStocks;
61 static const byte kAvvyShoots;
62 static const byte kFacingRight;
63 static const byte kFacingLeft;
64 static const long int kFlag;
65 static const byte kFrameDelayMax;
66 static const byte kAvvyY;
67 static const byte kShooting[7];
68 static const byte kTimesASecond;
69 static const byte kFlashTime;
70 static const byte kLeftMargin;
71 static const int16 kRightMargin;
85 bool _altWasPressedBefore;
91 byte _howManyHaveEscaped;
100 bool overlap(uint16 a1x, uint16 a1y, uint16 a2x, uint16 a2y, uint16 b1x, uint16 b1y, uint16 b2x, uint16 b2y);
101 byte getStockNumber(byte index);
106 void define(int16 x, int16 y, int8 p, int8 ix, int8 iy, int16 time,
bool isAMissile,
bool doWeWipe);
107 void defineCameo(int16 x, int16 y, int8 p, int16 time);
108 void showStock(byte index);
109 void drawNumber(
int number,
int size,
int x);
112 void gain(int8 howMuch);
117 void initRunner(int16 xx, int16 yy, byte f1, byte f2, int8 ixx, int8 iyy);
121 void collisionCheck();
122 void turnAround(byte who,
bool randomX);
124 void peopleRunning();
133 #endif // AVALANCHE_SHOOTEMUP_H Definition: animation.h:32
Definition: avalanche.h:74
Definition: shootemup.h:33