summaryrefslogtreecommitdiff
path: root/src/framerate_gui.cpp
AgeCommit message (Collapse)Author
2021-04-21Cleanup: Remove unnecessary parameter of GetScrolledRowFromWidget()Peter Nelson
Line height defaults to the resize height of the relevant widget, which is set in all cases. Therefore it is not necessary to specify this value every time. Additionally fixes scrolled padding for the framerate window.
2021-03-01Change: Zero out the gameloop timers when the game is pausedCharles Pigott
2021-03-01Change: De-limit framerate window's framerateCharles Pigott
2021-02-19Feature: configurable refresh-rate and change default to 60fpsPatric Stout
Most modern games run on 60 fps, and for good reason. This gives a much smoother experiences. As some people have monitors that can do 144Hz or even 240Hz, allow people to configure the refresh rate. Of course, the higher you set the value, the more time the game spends on drawing pixels instead of simulating the game, which has an effect on simulation speed. The simulation will still always run at 33.33 fps, and is not influences by this setting.
2021-02-16Fix: framerate window showed a slightly higher rate than actually measured ↵Patric Stout
(#8682) The first point was counted, but also initialized as "last". As such, it didn't add to "total", but did add to "count", which made the "count" 1 more than the total actually represents.
2021-01-08Codechange: Remove min/max functions in favour of STL variants (#8502)Charles Pigott
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-09-29Fix: Some typos found using codespellJMcKiern
2019-05-11Add: Show memory allocations by GS and AI in framerate windowNiels Martin Hansen
2019-03-24Codechange: Use override specifier in Window-derived classes.peter1138
2019-02-23Change: Framerate window can now scroll and resizeNiels Martin Hansen
2019-02-23Add: Show performance of AI and GS in framerate windowNiels Martin Hansen
2019-01-12Fix #6780: Some windows didn't get updated from OnTick() (#7048)PeterN
2018-11-25Fix #6864: Normalise colour use in Frame rate windowNiels Martin Hansen
2018-11-25Doc: More notes for developers adding new PerformanceElementsNiels Martin Hansen
2018-07-23Fix 2a868b9f3b8e3b5f8b9e5f728f628ec88fd5e3ad: Expose widgets and windows to ↵J0an Josep
scripts and fix documentation.
2018-07-19Feature: Framerate display window (#6822)Niels Martin Hansen
Frame rate and various game loop/graphics timing measurements and graphs. Accessible via the Help menu, and can print some stats in the console via the fps command.