1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 01:59:43 +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:
Misa 2020-11-02 12:16:36 -08:00 committed by Ethan Lee
parent 9a9f3f57d5
commit 06103cc4ca
2 changed files with 0 additions and 7 deletions

View file

@ -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,
};
int mapclass::RGB(int red,int green,int blue)
{
return (blue | (green << 8) | (red << 16));
}
int mapclass::intpol(int a, int b, float c)
{
return static_cast<int>(a + ((b - a) * c));

View file

@ -22,8 +22,6 @@ class mapclass
public:
mapclass();
int RGB(int red,int green,int blue);
int intpol(int a, int b, float c);
void setteleporter(int x, int y);