Skip to content

Commit

Permalink
Add stats
Browse files Browse the repository at this point in the history
  • Loading branch information
fazelukario committed Nov 13, 2023
1 parent f68371c commit 1a019a0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Pseudo3DCLIGame/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,9 @@ int main()
}
}

// Display Stats
swprintf(screen, 40, L"X=%3.2f, Y=%3.2f, A=%3.2f FPS=%3.2f ", PlayerX, PlayerY, PlayerA, 1.0f / fElapsedTime);

// Display Map
for (int nx = 0; nx < MapWidth; nx++)
{
Expand Down

0 comments on commit 1a019a0

Please sign in to comment.