ps2 hud, restore original code

This commit is contained in:
Fire-Head
2020-12-07 21:12:13 +03:00
parent 0fbf624623
commit c5fbb594a5
17 changed files with 954 additions and 358 deletions

View File

@ -42,13 +42,30 @@ public:
bottom += y;
top += y;
}
void Grow(float r){
void Grow(float r) {
left -= r;
right += r;
top -= r;
bottom += r;
}
void Grow(float l, float r)
{
left -= l;
top -= l;
right += r;
bottom += r;
}
void Grow(float l, float r, float t, float b)
{
left -= l;
top -= t;
right += r;
bottom += b;
}
float GetWidth(void) { return right - left; }
float GetHeight(void) { return bottom - top; }
};