- made SPROFS a more usable feature.
This was originally invented to fix the sprite offsets for the hardware renderer. Changed it so that it doesn't override the original offsets but acts as a second set. A new CVAR has been added to allow controlling the behavior per renderer.
This commit is contained in:
parent
5bdea6278c
commit
6d6196388e
35 changed files with 322 additions and 274 deletions
|
|
@ -228,8 +228,8 @@ private:
|
|||
|
||||
right = c[i]->GetScaledWidth();
|
||||
bottom = c[i]->GetScaledHeight();
|
||||
left = lnodes[n].x - c[i]->GetScaledLeftOffset();
|
||||
top = lnodes[n].y - c[i]->GetScaledTopOffset();
|
||||
left = lnodes[n].x - c[i]->GetScaledLeftOffset(0);
|
||||
top = lnodes[n].y - c[i]->GetScaledTopOffset(0);
|
||||
right += left;
|
||||
bottom += top;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue