mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-09-30 02:07:23 +02:00
6c85fae339
This removes around megabyte from the binary, so a stripped -Og binary went from 4.0 megabytes to 2.9 megabytes, and an unstripped -O0 binary went from 8.1 megabytes to 7.1 megabytes, which means I can now finally upload an unstripped -O0 binary to Discord without having to give money to Discord for their dumb Nitro thing or whatever.
35 lines
475 B
C++
35 lines
475 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();
|
|
|
|
short back[40 * 120];
|
|
short contents[40 * 700];
|
|
short minitower[40 * 100];
|
|
int vmult[40 * 700];
|
|
|
|
bool minitowermode;
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* TOWER_H */
|