mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 10:09:43 +01: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:
parent
ec72031cfd
commit
aed7b220c7
2 changed files with 0 additions and 16 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue