mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2025-01-10 19:09:45 +01:00
Remove now-unused function mapclass::RGB()
This function was only used in assigments to mapclass::towercol. But that variable is unused, and has been removed, so after removing that variable, this one is unused, too.
This commit is contained in:
parent
9a9f3f57d5
commit
06103cc4ca
2 changed files with 0 additions and 7 deletions
|
@ -123,11 +123,6 @@ const int mapclass::areamap[] = {
|
||||||
2,2,2,2,2,0,0,2,0,3,0,0,0,0,0,0,0,0,0,0,
|
2,2,2,2,2,0,0,2,0,3,0,0,0,0,0,0,0,0,0,0,
|
||||||
};
|
};
|
||||||
|
|
||||||
int mapclass::RGB(int red,int green,int blue)
|
|
||||||
{
|
|
||||||
return (blue | (green << 8) | (red << 16));
|
|
||||||
}
|
|
||||||
|
|
||||||
int mapclass::intpol(int a, int b, float c)
|
int mapclass::intpol(int a, int b, float c)
|
||||||
{
|
{
|
||||||
return static_cast<int>(a + ((b - a) * c));
|
return static_cast<int>(a + ((b - a) * c));
|
||||||
|
|
|
@ -22,8 +22,6 @@ class mapclass
|
||||||
public:
|
public:
|
||||||
mapclass();
|
mapclass();
|
||||||
|
|
||||||
int RGB(int red,int green,int blue);
|
|
||||||
|
|
||||||
int intpol(int a, int b, float c);
|
int intpol(int a, int b, float c);
|
||||||
|
|
||||||
void setteleporter(int x, int y);
|
void setteleporter(int x, int y);
|
||||||
|
|
Loading…
Reference in a new issue