Skip to content

Commit

Permalink
Small adjustments to layout and updated the screenshot.
Browse files Browse the repository at this point in the history
  • Loading branch information
MaikelChan committed Oct 31, 2021
1 parent bf57fa1 commit 7ebec4f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions SpaceCadetPinball/winmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ int winmain::WinMain(LPCSTR lpCmdLine)

float tableQuadWidth = GSP_SCREEN_WIDTH * (360.0f / render::vscreen->Height);
float infoQuadWidth = GSP_SCREEN_HEIGHT_TOP - tableQuadWidth - 6.0f;
float infoQuadHeight = infoQuadWidth / (203.0f / 219.0f);
float logoQuadWidth = GSP_SCREEN_WIDTH * (181.0f / 160.0f);

n3ds_graphics::DrawTopRenderTarget(0x000000ff);
Expand All @@ -230,13 +231,13 @@ int winmain::WinMain(LPCSTR lpCmdLine)

n3ds_graphics::DrawQuad( // Info
GSP_SCREEN_HEIGHT_TOP - infoQuadWidth,
0,
GSP_SCREEN_WIDTH - infoQuadHeight,
infoQuadWidth,
GSP_SCREEN_WIDTH,
infoQuadHeight,
386.0f / renderTextureWidth,
111.0f / renderTextureHeight,
106.0f / renderTextureHeight,
203.0f / renderTextureWidth,
214.0f / renderTextureHeight);
219.0f / renderTextureHeight);

// Render bottom screen

Expand Down
Binary file modified screenshot00.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7ebec4f

Please sign in to comment.