forked from mirror/OpenTTD
Feature: Framerate display window (#6822)
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.
This commit is contained in:
committed by
Patric Stout
parent
a3d1950b65
commit
2a868b9f3b
@@ -681,6 +681,18 @@ enum WindowClass {
|
||||
*/
|
||||
WC_SAVE_PRESET,
|
||||
|
||||
/**
|
||||
* Framerate display; %Window numbers:
|
||||
* - 0 = #FramerateDisplayWidgets
|
||||
*/
|
||||
WC_FRAMERATE_DISPLAY,
|
||||
|
||||
/**
|
||||
* Frame time graph; %Window numbers:
|
||||
* - 0 = #FramerateDisplayWidgets
|
||||
*/
|
||||
WC_FRAMETIME_GRAPH,
|
||||
|
||||
WC_INVALID = 0xFFFF, ///< Invalid window.
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user