DrawProgressBar
function · loadingscreen · primitive
- Address
0x407150· 347 bytes, up to0x4072aa- Signature
void __cdecl (void)- Meaning
- Draws the fill quad and the border quad of the bar from the table at 0x7ffd34
- Confidence
- verified, proof one
- Finding
- loadingscreen/screen#progress-bar
- Test
loadingscreen::progress_bar_quad_difftest
Finding: Progress bar in loadingscreen: screen
The bar draws the fill quad, then the border quad, each from a 24-byte entry of the table 0x7ffd34
(path, fill flag, centre x and y, width, height): the fill Interface\Glues\LoadingBar\Loading-BarFill
(0.5, 0.075, 0.525, 0.025) and the border Loading-BarBorder (0.5, 0.075, 0.6, 0.05). A quad spans
centre ∓ size·0.5, and the fill's right edge is fraction·width + left; the texture coordinates
do not change. An entry with a null handle is skipped, and render state 7 is set to 2.
The derivation is in the doc.
Callers 1
- PaintLoadingScreen loadingscreen
Callees 7
- _atexit crt
- GetTextureDeviceObject gx
- GxRsSet gx
- GxRsSetObject gx
- GxBuildVerticesCounted gx
- GxDrawCounted gx
- 0x58a340 gx
Calls and jumps by a bare address, from tables/calls.tsv.