I see a possible miscommunication.
So in order to be sure everyone is talking about the same thing, try these.
The archive contains three things.
All compiled from the same copy of the 5547 sourcecode.
The previous QT version of celestia which uses QT 5.13.0, for continuity testing.
A recompile of that with a hard coded FPS counter added.
A recompiled VS static linked version as well.
The new FPS counter is yellow and located in the lower left a ways above the corner.
I added this to celestiacore.cpp:3464
Code: Select all
glTranslatef(0.0f, (float)(fontHeight * 7 + 5), 0.0f);
glColor4f(1.0f, 1.0f, 0.0f, 0.75f);
*overlay << '\n';
fmt::fprintf(*overlay, _("Current FPS: %.1f\n"), fps);
Yes, this is copied and modified from the regular FPS display code.
The color can be changed quite easily if needed, I chose yellow since it contrasted.
The regular FPS display is undisturbed.