UpdateArrowModels
function · ui · orchestration
- Address
0x4a7c20· 189 bytes, up to0x4a7cdc- Meaning
- Centres both arrow models and copies the camera followed object's facing into them
- Confidence
- verified, proof one
- Finding
- ui/worldmapmarkers#updating-and-showing-the-arrows
Finding: Updating and showing the arrows in ui: world map arrows and battleground markers
UpdateWorldMapArrowFrames() does two things for each arrow whose model is loaded: it centres the model in its own rectangle (0x4a7b20 stores half the width, half the height and 0 at +0x390), and it copies the facing of the camera's followed object into the model at +0x39c. With no object the facing is unchanged.
ShowWorldMapArrowFrame([shown]) and the mini form show or hide the model exactly as Frame:Show and Frame:Hide do, with no argument meaning show; with no arrow they do nothing. None of the functions pushes a value.
The derivation is in the doc.
Callers 1
Callees 4
- ClntObjMgrObjectPtr objectlayer
- GetActiveCamera ui
- CenterArrowModel ui
- CM2Model::IsLoaded models
Calls and jumps by a bare address, from tables/calls.tsv.