loadingscreen
| rows | named | verified | proof two | tested | |
|---|---|---|---|---|---|
| functions | 144 | 144 (100%) | 144 (100%) | 0 (0%) | 7 (4%) |
| globals | 32 | 32 (100%) | 32 (100%) | 0 (0%) | – |
| structs | 3 | 3 (100%) | 3 (100%) | 0 (0%) | – |
| fields | 12 | 12 (100%) | 12 (100%) | 0 (0%) | – |
| all | 191 | 191 (100%) | 191 (100%) | 0 (0%) | 7 (4%) |
Docs
loadingscreen: overview
The loading screen the client raises while a world loads: a layer above the interface that covers the frame with the map's art, or with the world map and an animated transport route, fills a progress bar from three load fractions, swallows the player's input, and ends when the player object arrives. The glue's world entry, the transfer packets and the transport tick raise it; the loaders feed its progress.
The system is one object file, LoadingScreen.cpp, with the container templates it instantiates and
the initializers of its run. The docs split by topic: screen (raising and ending the layer, the
input veto, the progress, the paint, the plain screen, the bar and the tip) and route (the transfer
entries, the taxi tables, the route ribbon and the world map tiles). This doc holds the object file,
its static objects and its containers. It draws through gx; the tip text is chosen in
glue/flow#game-tip-choice.
loadingscreen: route
The transport route a transfer or a leg change shows: the entries that find the transport's taxi path and leg, the leg table built from the TaxiPathNode store at start-up, the spline ribbon and its marker quads, their drawing over the 12 world map tiles, and the tiles' geometry. A built route makes the screen a world map instead of the map's art.
loadingscreen: screen
The layer and what it shows besides a route: raising it, the input veto while it is up, the three
load fractions and the bar they fill, the paint pass, the plain screen with the map's art, and the
tip text. The raise creates the layer with the paint callback 0x406a60; the loaders report
progress through 0x407f70, 0x407fa0 and 0x407fd0; the dismiss ends it.
Closure
58 roots. A walk of direct calls and jumps from them reaches 132 of the 144 functions the system owns, and stops at 54 functions of other systems. Vtable slots and stored addresses are not followed, so a function reached only that way is not counted.
Roots
- SplatVector3 loadingscreen
- FreeVector3Buffer loadingscreen
- FreeFloatBuffer loadingscreen
- LsDwordArrayDeletingDtor loadingscreen
- FreeDwordBuffer loadingscreen
- ConstructDwordArray loadingscreen
- DwordArrayReserve loadingscreen
- InitLsInfinityThunk loadingscreen
- InitLsTwoPiThunk loadingscreen
- InitLsInvTwoPiThunk loadingscreen
- InitLsNegTwentyOneOverThirtySixThunk loadingscreen
- InitLsScaledNeg255Thunk loadingscreen
- InitLsEighteenOverThirtySixThunk loadingscreen
- InitLsScaled256Thunk loadingscreen
- InitLsInvFourPointOneThunk loadingscreen
- InitLsRouteColor loadingscreen
- InitLsQuadUvs loadingscreen
- InitLsTilePositions loadingscreen
- InitLsTileUvs loadingscreen
- InitLsRouteVertices loadingscreen
- InitLsTaxiTables loadingscreen
- InitLsShipQuad loadingscreen
- InitLsShipQuadUvs loadingscreen
- InitLsTenSquaredThunk loadingscreen
- InitLsElevenSquaredThunk loadingscreen
- InitLsFivePointFiveSquaredThunk loadingscreen
- InitLsTenSquaredBThunk loadingscreen
- InitLsFiveSquaredThunk loadingscreen
- InitLsTenSquaredCThunk loadingscreen
- InitLsThirtySquaredThunk loadingscreen
- InitLsHundredTwentySquaredThunk loadingscreen
- InitLsTwentySquaredThunk loadingscreen
- InitLsTenSquaredDThunk loadingscreen
- InitLsHalfSquaredThunk loadingscreen
- InitLsThreeSquaredThunk loadingscreen
- InitLsHundredSquaredThunk loadingscreen
- InitLsFiveThunk loadingscreen
- InitLsFiftySquaredThunk loadingscreen
- InitLsHundredSquaredBThunk loadingscreen
- InitLsFortySquaredThunk loadingscreen
- InitLsOnePointFiveSquaredThunk loadingscreen
- InitLsTenSquaredEThunk loadingscreen
- InitLsHalfOverTenThunk loadingscreen
- InitLsCounter loadingscreen
- BeginTransferLoading loadingscreen
- BeginLegLoading loadingscreen
- BuildTaxiLegTable loadingscreen
- SetLoadingScreenTip loadingscreen
- BeginLoadingScreen loadingscreen
- IsLoadingScreenUp loadingscreen
- EndLoadingScreen loadingscreen
- EndLoadingScreenThunk loadingscreen
- SetLoadingLayerBit loadingscreen
- OnAsyncLoadProgress loadingscreen
- OnMapLoadProgress loadingscreen
- OnUiLoadProgress loadingscreen
- LoadingInputVeto loadingscreen
- PaintLoadingScreen loadingscreen
Boundary
- _atexit crt
- __alloca_probe crt
- __ftol crt
- CStatus::~CStatus client
- GetScaledScreenAspect screencoord
- DivideByScreenScaleX screencoord
- MultiplyByScreenScaleX screencoord
- MultiplyByScreenScaleY screencoord
- HandleClose base
- EventRegisterEx core
- EventUnregister core
- ScrnLayerCreate unassigned
- 0x4429e0 unassigned
- StoreDwordAt2c unassigned
- TextureCreate gx
- GetTextureDeviceObject gx
- TextBlockGenerateFont unassigned
- TextBlockGetFontPtr unassigned
- SetSplinePath spline
- EvaluateSplinePoint spline
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- WorldPositionToMapView ui
- GxRsSet gx
- GxRsSetObject gx
- GxRsPush gx
- GxRsPop gx
- GxBuildVerticesCounted gx
- GxDrawCounted gx
- 0x58a340 gx
- PresentDevice gx
- ClearDevice gx
- CGxTexFlags::CGxTexFlags gx
- SetDeviceViewport gx
- SetDeviceProjection gx
- SetDeviceView gx
- GetDeviceViewport gx
- EmptyStaticInit net
- GxuFontCreateString unassigned
- GxuFontDestroyString unassigned
- GxuFontCreateBatch unassigned
- GxuFontBatchAdd unassigned
- GxuFontBatchDraw unassigned
- GxuFontDestroyBatch unassigned
- GxuStringSetShadow unassigned
- BuildOrthoMatrix gxumath
- CGGameObject_C::GetDataColumn objectlayer
- FindGameObjectTypeColumn objectlayer
- SMemAlloc storm
- SMemReAlloc storm
- SMemFree storm
- SStrLen storm
- SStrPrintf storm
- 0x6548b0 storm
Functions 144
| address | name | class | confidence | test | closure |
|---|---|---|---|---|---|
0x4060d0 | InitLsInfinityThunk | orchestration | verified, proof one | ✓ | |
0x4060e0 | InitLsInfinity | orchestration | verified, proof one | ✓ | |
0x4060f0 | InitLsTwoPiThunk | orchestration | verified, proof one | ✓ | |
0x406100 | InitLsTwoPi | primitive | verified, proof one | ✓ | |
0x406110 | InitLsInvTwoPiThunk | orchestration | verified, proof one | ✓ | |
0x406120 | InitLsInvTwoPi | primitive | verified, proof one | ✓ | |
0x406140 | InitLsNegTwentyOneOverThirtySixThunk | orchestration | verified, proof one | ✓ | |
0x406150 | InitLsNegTwentyOneOverThirtySix | primitive | verified, proof one | ✓ | |
0x406170 | InitLsScaledNeg255Thunk | orchestration | verified, proof one | ✓ | |
0x406180 | InitLsScaledNeg255 | primitive | verified, proof one | ✓ | |
0x4061a0 | InitLsEighteenOverThirtySixThunk | orchestration | verified, proof one | ✓ | |
0x4061b0 | InitLsEighteenOverThirtySix | primitive | verified, proof one | ✓ | |
0x4061d0 | InitLsScaled256Thunk | orchestration | verified, proof one | ✓ | |
0x4061e0 | InitLsScaled256 | primitive | verified, proof one | ✓ | |
0x406200 | InitLsInvFourPointOneThunk | orchestration | verified, proof one | ✓ | |
0x406210 | InitLsInvFourPointOne | primitive | verified, proof one | ✓ | |
0x406230 | InitLsRouteColor | orchestration | verified, proof one | ✓ | |
0x406240 | InitLsRouteColorBody | orchestration | verified, proof one | ✓ | |
0x406250 | InitLsRouteColorAtExit | orchestration | verified, proof one | ✓ | |
0x406260 | InitLsRouteColorDtor | orchestration | verified, proof one | ||
0x406270 | InitLsQuadUvs | orchestration | verified, proof one | ✓ | |
0x406280 | InitLsQuadUvsBody | orchestration | verified, proof one | ✓ | |
0x4062e0 | InitLsQuadUvsAtExit | orchestration | verified, proof one | ✓ | |
0x4062f0 | InitLsQuadUvsDtor | orchestration | verified, proof one | ||
0x406300 | InitLsTilePositions | orchestration | verified, proof one | ✓ | |
0x406310 | InitLsTilePositionsBody | orchestration | verified, proof one | ✓ | |
0x406330 | InitLsTilePositionsAtExit | orchestration | verified, proof one | ✓ | |
0x406340 | InitLsTilePositionsDtor | orchestration | verified, proof one | ||
0x406350 | InitLsTileUvs | orchestration | verified, proof one | ✓ | |
0x406360 | InitLsTileUvsBody | orchestration | verified, proof one | ✓ | |
0x406380 | InitLsTileUvsAtExit | orchestration | verified, proof one | ✓ | |
0x406390 | InitLsTileUvsDtor | orchestration | verified, proof one | ||
0x4063a0 | InitLsRouteVertices | orchestration | verified, proof one | ✓ | |
0x4063b0 | InitLsRouteVerticesBody | orchestration | verified, proof one | ✓ | |
0x4063d0 | InitLsRouteVerticesAtExit | orchestration | verified, proof one | ✓ | |
0x4063e0 | InitLsRouteVerticesDtor | orchestration | verified, proof one | ||
0x406400 | InitLsTaxiTables | orchestration | verified, proof one | ✓ | |
0x406410 | InitLsTaxiTablesBody | orchestration | verified, proof one | ✓ | |
0x406440 | InitLsTaxiTablesAtExit | orchestration | verified, proof one | ✓ | |
0x406450 | InitLsTaxiTablesDtor | orchestration | verified, proof one | ||
0x4064f0 | InitLsShipQuad | orchestration | verified, proof one | ✓ | |
0x406500 | InitLsShipQuadBody | orchestration | verified, proof one | ✓ | |
0x406580 | InitLsShipQuadAtExit | orchestration | verified, proof one | ✓ | |
0x406590 | InitLsShipQuadDtor | orchestration | verified, proof one | ||
0x4065a0 | InitLsShipQuadUvs | orchestration | verified, proof one | ✓ | |
0x4065b0 | InitLsShipQuadUvsBody | orchestration | verified, proof one | ✓ | |
0x406610 | InitLsShipQuadUvsAtExit | orchestration | verified, proof one | ✓ | |
0x406620 | InitLsShipQuadUvsDtor | orchestration | verified, proof one | ||
0x406630 | SetLoadingScreenTip | orchestration | verified, proof one | ✓ | |
0x406640 | BeginLoadingScreen | primitive | verified, proof one | ✓ | |
0x406800 | CreateLoadingScreen | orchestration | verified, proof one | ✓ | |
0x406900 | RepaintLoadingScreen | orchestration | verified, proof one | ✓ | |
0x406920 | ComputeLoadingFraction | primitive | verified, proof one | ✓ | ✓ |
0x4069e0 | InstallLoadingInputVeto | orchestration | verified, proof one | ✓ | |
0x406a50 | LoadingInputVeto | orchestration | verified, proof one | ✓ | |
0x406a60 | PaintLoadingScreen | primitive | verified, proof one | ✓ | ✓ |
0x406cd0 | DrawLoadingScreen | orchestration | verified, proof one | ✓ | |
0x406cf0 | DrawPlainScreen | orchestration | verified, proof one | ✓ | |
0x406e20 | ResolveLoadingArt | orchestration | verified, proof one | ✓ | |
0x406f10 | PlainQuadDtor | orchestration | verified, proof one | ||
0x406f20 | DrawTaxiScreen | orchestration | verified, proof one | ✓ | |
0x406fb0 | DrawRoute | primitive | verified, proof one | ✓ | |
0x407150 | DrawProgressBar | primitive | verified, proof one | ✓ | ✓ |
0x4072b0 | ProgressBarDtor | orchestration | verified, proof one | ||
0x4072c0 | BeginTransferLoading | orchestration | verified, proof one | ✓ | |
0x4073f0 | BuildRoute | orchestration | verified, proof one | ✓ | |
0x407410 | ClearRoute | orchestration | verified, proof one | ✓ | |
0x4074b0 | LoadRouteTextures | orchestration | verified, proof one | ✓ | |
0x4075a0 | BuildRouteVertices | primitive | verified, proof one | ✓ | ✓ |
0x4078e0 | SplatVector3 | orchestration | verified, proof one | ✓ | ✓ |
0x407900 | FillRouteEndpoints | primitive | verified, proof one | ✓ | ✓ |
0x407c80 | FillRouteRibbon | primitive | verified, proof one | ✓ | |
0x407da0 | FindShipInfo | orchestration | verified, proof one | ✓ | |
0x407de0 | BeginLegLoading | orchestration | verified, proof one | ✓ | |
0x407e70 | IsLoadingScreenUp | orchestration | verified, proof one | ✓ | |
0x407e80 | EndLoadingScreen | orchestration | verified, proof one | ✓ | |
0x407f70 | OnAsyncLoadProgress | orchestration | verified, proof one | ✓ | |
0x407fa0 | OnMapLoadProgress | orchestration | verified, proof one | ✓ | |
0x407fd0 | OnUiLoadProgress | orchestration | verified, proof one | ✓ | |
0x408000 | BuildTaxiLegTable | orchestration | verified, proof one | ✓ | |
0x4081e0 | BuildWorldMapTiles | primitive | verified, proof one | ✓ | ✓ |
0x4083b0 | EndLoadingScreenThunk | orchestration | verified, proof one | ✓ | |
0x4083c0 | SetLoadingLayerBit | primitive | verified, proof one | ✓ | |
0x408400 | FreeVector3Buffer | orchestration | verified, proof one | ✓ | |
0x408420 | FreeFloatBuffer | orchestration | verified, proof one | ✓ | |
0x408440 | DestroyPathInfoArray | orchestration | verified, proof one | ||
0x4084b0 | LsDwordArrayDeletingDtor | orchestration | verified, proof one | ✓ | |
0x4084f0 | ConstructRouteVertex | orchestration | verified, proof one | ✓ | |
0x408510 | LsDwordArrayDestroy | orchestration | verified, proof one | ✓ | |
0x408560 | DestroyRouteVertex | orchestration | verified, proof one | ✓ | |
0x408570 | InitLsTenSquaredThunk | orchestration | verified, proof one | ✓ | |
0x408580 | InitLsTenSquared | primitive | verified, proof one | ✓ | |
0x4085a0 | InitLsElevenSquaredThunk | orchestration | verified, proof one | ✓ | |
0x4085b0 | InitLsElevenSquared | primitive | verified, proof one | ✓ | |
0x4085d0 | InitLsFivePointFiveSquaredThunk | orchestration | verified, proof one | ✓ | |
0x4085e0 | InitLsFivePointFiveSquared | primitive | verified, proof one | ✓ | |
0x408600 | InitLsTenSquaredBThunk | orchestration | verified, proof one | ✓ | |
0x408610 | InitLsTenSquaredB | primitive | verified, proof one | ✓ | |
0x408630 | InitLsFiveSquaredThunk | orchestration | verified, proof one | ✓ | |
0x408640 | InitLsFiveSquared | primitive | verified, proof one | ✓ | |
0x408660 | InitLsTenSquaredCThunk | orchestration | verified, proof one | ✓ | |
0x408670 | InitLsTenSquaredC | primitive | verified, proof one | ✓ | |
0x408690 | InitLsThirtySquaredThunk | orchestration | verified, proof one | ✓ | |
0x4086a0 | InitLsThirtySquared | primitive | verified, proof one | ✓ | |
0x4086c0 | InitLsHundredTwentySquaredThunk | orchestration | verified, proof one | ✓ | |
0x4086d0 | InitLsHundredTwentySquared | primitive | verified, proof one | ✓ | |
0x4086f0 | InitLsTwentySquaredThunk | orchestration | verified, proof one | ✓ | |
0x408700 | InitLsTwentySquared | primitive | verified, proof one | ✓ | |
0x408720 | InitLsTenSquaredDThunk | orchestration | verified, proof one | ✓ | |
0x408730 | InitLsTenSquaredD | primitive | verified, proof one | ✓ | |
0x408750 | InitLsHalfSquaredThunk | orchestration | verified, proof one | ✓ | |
0x408760 | InitLsHalfSquared | primitive | verified, proof one | ✓ | |
0x408780 | InitLsThreeSquaredThunk | orchestration | verified, proof one | ✓ | |
0x408790 | InitLsThreeSquared | primitive | verified, proof one | ✓ | |
0x4087b0 | InitLsHundredSquaredThunk | orchestration | verified, proof one | ✓ | |
0x4087c0 | InitLsHundredSquared | primitive | verified, proof one | ✓ | |
0x4087e0 | InitLsFiveThunk | orchestration | verified, proof one | ✓ | |
0x4087f0 | InitLsFive | orchestration | verified, proof one | ✓ | |
0x408800 | InitLsFiftySquaredThunk | orchestration | verified, proof one | ✓ | |
0x408810 | InitLsFiftySquared | primitive | verified, proof one | ✓ | |
0x408830 | InitLsHundredSquaredBThunk | orchestration | verified, proof one | ✓ | |
0x408840 | InitLsHundredSquaredB | primitive | verified, proof one | ✓ | |
0x408860 | InitLsFortySquaredThunk | orchestration | verified, proof one | ✓ | |
0x408870 | InitLsFortySquared | primitive | verified, proof one | ✓ | |
0x408890 | InitLsOnePointFiveSquaredThunk | orchestration | verified, proof one | ✓ | |
0x4088a0 | InitLsOnePointFiveSquared | primitive | verified, proof one | ✓ | |
0x4088c0 | ConstructRouteSpline | orchestration | verified, proof one | ✓ | |
0x4088f0 | FreeDwordBuffer | orchestration | verified, proof one | ✓ | |
0x408910 | ReserveRouteVertices | primitive | verified, proof one | ✓ | |
0x408a30 | ConstructDwordArray | orchestration | verified, proof one | ✓ | |
0x408a40 | DwordArrayPush | primitive | verified, proof one | ✓ | |
0x408b40 | ReservePathInfoArray | primitive | verified, proof one | ✓ | |
0x408ca0 | InitLsTenSquaredEThunk | orchestration | verified, proof one | ✓ | |
0x408cb0 | InitLsTenSquaredE | primitive | verified, proof one | ✓ | |
0x408cd0 | InitLsHalfOverTenThunk | orchestration | verified, proof one | ✓ | |
0x408ce0 | InitLsHalfOverTen | primitive | verified, proof one | ✓ | |
0x408d00 | PairArrayAppend | primitive | verified, proof one | ✓ | |
0x408d80 | DwordArrayReserve | primitive | verified, proof one | ✓ | |
0x408e70 | InitLsCounter | orchestration | verified, proof one | ✓ | |
0x408e80 | InitLsCounterBody | orchestration | verified, proof one | ✓ | |
0x408ea0 | InitLsCounterAtExit | orchestration | verified, proof one | ✓ | |
0x408eb0 | InitLsCounterDtor | orchestration | verified, proof one | ||
0x408ec0 | LsCopyDwordArray | orchestration | verified, proof one | ✓ | |
0x408f30 | ResizePairArray | orchestration | verified, proof one | ✓ |
Globals 32
| address | name | type | confidence |
|---|---|---|---|
0x7ffd34 | s_loadingBarTable | const uint32_t[12] | verified, proof one |
0x7ffdbc | s_routeSplineBaseVtable | void *[7] | verified, proof one |
0x82f00c | s_loadingMapId | int32_t | verified, proof one |
0x82f010 | s_loadingQuadIndices | const uint16_t[4] | verified, proof one |
0x82f018 | s_loadingFontPaths | const char *[8] | verified, proof one |
0x82f1a4 | s_pathLoadingScreen | char[47] | verified, proof one |
0x882894 | s_progressUi | float | verified, proof one |
0x8828a4 | s_routeColor | uint32_t | verified, proof one |
0x8828b0 | s_shipQuadOffsets | float[12] | verified, proof one |
0x8828e0 | s_routeVertices | uint32_t[4] | verified, proof one |
0x8828f8 | s_tilePositions | float[144] | verified, proof one |
0x882b48 | s_barStaticInit | uint8_t | verified, proof one |
0x882b50 | s_taxiPaths | uint32_t[4] | verified, proof one |
0x882b60 | s_taxiLegPairs | uint32_t[4] | verified, proof one |
0x882b70 | s_routeTexture | uint32_t | verified, proof one |
0x882b8c | s_quadUvs | float[8] | verified, proof one |
0x882bac | s_shipQuadUvs | float[8] | verified, proof one |
0x882bd0 | s_progressAsync | float | verified, proof one |
0x882bd4 | s_barStaticVector | float[3] | verified, proof one |
0x882be0 | s_loadingScreen | uint32_t | verified, proof one |
0x882be4 | s_loadingFraction | float | verified, proof one |
0x882be8 | s_tileUvs | float[96] | verified, proof one |
0x882d70 | s_tileTextures | uint32_t[12] | verified, proof one |
0x882da8 | s_barTextures | uint32_t[2] | verified, proof one |
0x882db0 | s_plainQuadInit | uint8_t | verified, proof one |
0x882dc0 | s_plainQuadCorners | float[12] | verified, proof one |
0x882df4 | s_progressMap | float | verified, proof one |
0x882e04 | s_loadingArt | uint32_t | verified, proof one |
0x882e08 | s_tipFont | uint32_t | verified, proof one |
0x882e0c | s_tipString | uint32_t | verified, proof one |
0x882e10 | s_tipText | const char * | verified, proof one |
0x882e14 | s_tipBatch | uint32_t | verified, proof one |