1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-01 18:43:33 +02:00
VVVVVV/desktop_version/src/Tower.h
Misa 6c85fae339 Change all tilemaps to be short[1200] instead of int[1200]
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.
2020-07-19 16:25:53 -04:00

36 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 */