mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +03: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:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -62,8 +62,6 @@ public:
|
||||
|
||||
void settile(int xp, int yp, int t);
|
||||
|
||||
void fillcontent(std::vector<std::string>& tmap);
|
||||
|
||||
|
||||
int area(int _rx, int _ry);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user