1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-26 06:28:30 +02:00

Remove now-unused function mapclass::fillareamap()

This is no longer needed since we load the areamap directly, instead of
having strings as unnecessary middlemen for our tilemap.
This commit is contained in:
Misa 2020-05-17 17:07:08 -07:00 committed by Ethan Lee
parent e938bfdb57
commit 664bf8ca6c
2 changed files with 0 additions and 15 deletions

View File

@ -726,19 +726,6 @@ bool mapclass::collide(int x, int y)
return false;
}
void mapclass::fillareamap(std::vector<std::string>& tmap)
{
for (j = 0; j < 20; j++)
{
std::vector<std::string> maprow = split(tmap[j], ',');
for (int i = 0; i < 20; i++)
{
areamap[i + (j * 20)] = atoi(maprow[i].c_str());
}
}
}
void mapclass::settile(int xp, int yp, int t)
{
if (xp >= 0 && xp < 40 && yp >= 0 && yp < 29+extrarow)

View File

@ -58,8 +58,6 @@ public:
bool collide(int x, int y);
void fillareamap(std::vector<std::string>& tmap);
void settile(int xp, int yp, int t);