mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-11-16 16:09:42 +01:00
adca6a122a
Also, the arrays are statically allocated. I forgot to do this when we were statically allocating things earlier, but better late than never.
35 lines
469 B
C++
35 lines
469 B
C++
#ifndef TOWER_H
|
|
#define TOWER_H
|
|
|
|
class towerclass
|
|
{
|
|
public:
|
|
towerclass();
|
|
|
|
int backat(int xp, int yp, int yoff);
|
|
|
|
int at(int xp, int yp, int yoff);
|
|
|
|
int miniat(int xp, int yp, int yoff);
|
|
|
|
void loadminitower1();
|
|
|
|
void loadminitower2();
|
|
|
|
void loadbackground();
|
|
|
|
void loadmap();
|
|
|
|
int back[40 * 120];
|
|
int contents[40 * 700];
|
|
int minitower[40 * 100];
|
|
int vmult[40 * 700];
|
|
|
|
bool minitowermode;
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* TOWER_H */
|