mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-20 08:09:23 +00:00
ps2 hud, restore original code
This commit is contained in:
parent
0fbf624623
commit
c5fbb594a5
17 changed files with 954 additions and 358 deletions
|
@ -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; }
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue