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

Remove now-unused function mapclass::fillcontent()

Previously, it was used to parse 30 strings whenever loading a room. But
now it's no longer used since we just assign the tilemap to the vector
directly.
This commit is contained in:
Misa 2020-05-17 16:45:57 -07:00 committed by Ethan Lee
parent ec72031cfd
commit aed7b220c7
2 changed files with 0 additions and 16 deletions

View File

@ -745,20 +745,6 @@ void mapclass::settile(int xp, int yp, int t)
} }
} }
void mapclass::fillcontent(std::vector<std::string>& tmap)
{
for (j = 0; j < 29+extrarow; j++)
{
std::vector<std::string> maprow = split(tmap[j], ',');
for(int i = 0; i < 40; i++)
{
contents[i + vmult[j]] = atoi(maprow[i].c_str());
}
}
}
int mapclass::area(int _rx, int _ry) int mapclass::area(int _rx, int _ry)
{ {

View File

@ -62,8 +62,6 @@ public:
void settile(int xp, int yp, int t); void settile(int xp, int yp, int t);
void fillcontent(std::vector<std::string>& tmap);
int area(int _rx, int _ry); int area(int _rx, int _ry);