mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-23 18:19:43 +01: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:
parent
e938bfdb57
commit
664bf8ca6c
2 changed files with 0 additions and 15 deletions
|
@ -726,19 +726,6 @@ bool mapclass::collide(int x, int y)
|
||||||
return false;
|
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)
|
void mapclass::settile(int xp, int yp, int t)
|
||||||
{
|
{
|
||||||
if (xp >= 0 && xp < 40 && yp >= 0 && yp < 29+extrarow)
|
if (xp >= 0 && xp < 40 && yp >= 0 && yp < 29+extrarow)
|
||||||
|
|
|
@ -58,8 +58,6 @@ public:
|
||||||
|
|
||||||
bool collide(int x, int y);
|
bool collide(int x, int y);
|
||||||
|
|
||||||
void fillareamap(std::vector<std::string>& tmap);
|
|
||||||
|
|
||||||
void settile(int xp, int yp, int t);
|
void settile(int xp, int yp, int t);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue