- switched the entire status bar code to use FGameTexture.
- scale the automap parchment to clean 320x200 dimensions.
This commit is contained in:
parent
5d8adb90c4
commit
c7db5b932e
16 changed files with 129 additions and 105 deletions
|
|
@ -105,8 +105,8 @@ namespace swrenderer
|
|||
// but right now, I just want to get them drawing.
|
||||
tz = (pos.X - thread->Viewport->viewpoint.Pos.X) * thread->Viewport->viewpoint.TanCos + (pos.Y - thread->Viewport->viewpoint.Pos.Y) * thread->Viewport->viewpoint.TanSin;
|
||||
|
||||
int scaled_to = pic->GetScaledTopOffsetSW();
|
||||
int scaled_bo = scaled_to - pic->GetScaledHeight();
|
||||
double scaled_to = pic->GetScaledTopOffsetSW();
|
||||
double scaled_bo = scaled_to - pic->GetScaledHeight();
|
||||
gzt = pos.Z + scale.Y * scaled_to;
|
||||
gzb = pos.Z + scale.Y * scaled_bo;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue