coastline 0.0.4
Loading...
Searching...
No Matches
framestatistics.h File Reference
Include dependency graph for framestatistics.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define GAME_FPS_FRAME_TIME_SAMPLE_COUNT   5
 The number of game-loop durations in the native averaging window.
#define FPS_FRAME_TIME_SAMPLE_COUNT   120
 The number of entries of g_adwFpsFrameTimeSamples.

Variables

unsigned g_adwGameFpsFrameTimeSamples [GAME_FPS_FRAME_TIME_SAMPLE_COUNT]
 Recent game-loop durations in milliseconds.
int g_dwFpsSampleFrames
 The number of frames the frame rate is averaged over.
int g_dwFpsFrameCountdown
 The entry of g_adwFpsFrameTimeSamples written last, negative before the first frame.
unsigned g_adwFpsFrameTimeSamples [FPS_FRAME_TIME_SAMPLE_COUNT]
 The times of the last frames, in milliseconds.

Macro Definition Documentation

◆ GAME_FPS_FRAME_TIME_SAMPLE_COUNT

#define GAME_FPS_FRAME_TIME_SAMPLE_COUNT   5

The number of game-loop durations in the native averaging window.

◆ FPS_FRAME_TIME_SAMPLE_COUNT

#define FPS_FRAME_TIME_SAMPLE_COUNT   120

The number of entries of g_adwFpsFrameTimeSamples.

Variable Documentation

◆ g_adwGameFpsFrameTimeSamples

unsigned g_adwGameFpsFrameTimeSamples[GAME_FPS_FRAME_TIME_SAMPLE_COUNT]
extern

Recent game-loop durations in milliseconds.

Ghidra address:
BRD3D: 0x10680758
Ghidra address:
BRGlide: 0x105bc900

◆ g_dwFpsSampleFrames

int g_dwFpsSampleFrames
extern

The number of frames the frame rate is averaged over.

Ghidra address:
BRD3D: 0x100b5420
Ghidra address:
BRGlide: 0x100b4c28

◆ g_dwFpsFrameCountdown

int g_dwFpsFrameCountdown
extern

The entry of g_adwFpsFrameTimeSamples written last, negative before the first frame.

Ghidra address:
BRD3D: 0x100b5424
Ghidra address:
BRGlide: 0x100b4c2c

◆ g_adwFpsFrameTimeSamples

unsigned g_adwFpsFrameTimeSamples[FPS_FRAME_TIME_SAMPLE_COUNT]
extern

The times of the last frames, in milliseconds.

Ghidra address:
BRD3D: 0x10b4ffe8
Ghidra address:
BRGlide: 0x10b73348