mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
Completely remove Graphics::PrintAlpha and Graphics::bprintalpha
Only four deprecated functions remain: - Graphics::Print - Graphics::PrintWrap - Graphics::bigprint - Graphics::bprint Graphics::bprint is the least-used one of them, and after that, the other functions are used a LOT, but it'll be a lot faster to go through them, since I have less and less flags to worry about. I'll probably start using Vim macros again like I did for loc::gettext()ing strings, or maybe I'll automate this completely.
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
9749858365
commit
d784f7f61a
@@ -345,15 +345,6 @@ void Graphics::Print( int x, int y, const std::string& text, int r, int g, int b
|
||||
font::print(0, x, y, text, r, g, b);
|
||||
}
|
||||
|
||||
void Graphics::PrintAlpha( int x, int y, const std::string& text, int r, int g, int b, int a, bool cen /*= false*/ )
|
||||
{
|
||||
// DEPRECATED
|
||||
if (cen)
|
||||
font::print(PR_ALPHA(a) | PR_CEN, -1, y, text, r, g, b);
|
||||
else
|
||||
font::print(PR_ALPHA(a), x, y, text, r, g, b);
|
||||
}
|
||||
|
||||
int Graphics::PrintWrap(
|
||||
const int x,
|
||||
int y,
|
||||
@@ -391,15 +382,6 @@ void Graphics::bprint( int x, int y, const std::string& text, int r, int g, int
|
||||
font::print(PR_BOR, x, y, text, r, g, b);
|
||||
}
|
||||
|
||||
void Graphics::bprintalpha( int x, int y, const std::string& text, int r, int g, int b, int a, bool cen /*= false*/ )
|
||||
{
|
||||
// DEPRECATED
|
||||
if (cen)
|
||||
font::print(PR_ALPHA(a) | PR_CEN | PR_BOR, -1, y, text, r, g, b);
|
||||
else
|
||||
font::print(PR_ALPHA(a) | PR_BOR, x, y, text, r, g, b);
|
||||
}
|
||||
|
||||
void Graphics::printcrewname( int x, int y, int t )
|
||||
{
|
||||
//Print the name of crew member t in the right colour
|
||||
|
||||
Reference in New Issue
Block a user