benilla-re systems structs docs

minimap

rowsnamedverifiedproof twotested
functions112112 (100%)112 (100%)0 (0%)8 (7%)
globals5050 (100%)50 (100%)0 (0%)–
structs0––––
fields0––––
all162162 (100%)162 (100%)0 (0%)8 (7%)

Docs

minimap: coordinates

The maps between world positions and map tiles, the scale that places the tile block on the disc, and the orientation the interior tiles are drawn in. The zoom radius is ui/minimap#the-zoom-radius.

minimap: draw

How the interface frame draws the minimap tiles. Outdoors the four tile records are drawn straight to the frame, each through the tile texture and the circular mask. Indoors the interior tiles are first composited into a 256 by 256 texture, and one quad shows the middle of that texture through the mask. The tile records, the interior window and the indoor byte are the update and tiles docs; the mask and icon textures, the blips and the arrows are ui/minimap and ui/minimapblips; the render states and matrix stacks the draw calls set are gx/renderstate.

minimap: interior

How the interior tiles are chosen: the query the update makes of the map object, the flood through its portals, and the grid of tile boxes each group emits. The functions belong to the map object code; the minimap is their one caller. The tile records they fill are tiles, the window that bounds the query is update, and the draw is draw.

minimap: overview

The minimap engine of Minimap.cpp: the map tiles that fill the disc, the maps between world and tile, the catalog of tile names, the interior tiles, the per-frame update that picks between them and the blip lists the widget draws. The widget, its Lua methods, the zoom radius and the ping are ui/minimap; the blips and arrows are ui/minimapblips; the tile draw of the interface frame is draw.

The docs split by topic: coordinates (the tile grid, the world and tile maps, the screen scale and the orientation), tiles (the catalog, the names, the outdoor window, the interior tiles and the tile records), update (the per-frame driver and the reset), interior (the query, the portal flood and the tile grid of a group) and draw (the tile quads, the interior target and its blit, and the tint). This doc holds the object file, its static objects and its containers.

minimap: tiles

How the minimap finds and loads its tile textures: the catalog that turns a logical tile name into a file, the two name forms, the outdoor block of four tiles, the interior tiles and the records that hold them.

minimap: update

The per-frame driver UpdateMinimap and the reset. The frame code calls the driver once a frame with the tracked object's light node, the map and the player's position; it chooses the outdoor or the interior tiles, keeps the interior window and the zoom state, expires the gossip marker and runs the blip pass.

Closure

34 roots. A walk of direct calls and jumps from them reaches 78 of the 112 functions the system owns, and stops at 43 functions of other systems. Vtable slots and stored addresses are not followed, so a function reached only that way is not counted.

Roots

Boundary

Functions 112

addressnameclassconfidencetestclosure
0x6d85d0InitMmUseCountorchestrationverified, proof one✓
0x6d85e0InitMmUseCountBodyorchestrationverified, proof one✓
0x6d8600InitMmUseCountAtExitorchestrationverified, proof one✓
0x6d8610InitMmUseCountDtororchestrationverified, proof one
0x6d8620InitMmHalfTileXThunkorchestrationverified, proof one✓
0x6d8630InitMmHalfTileXprimitiveverified, proof one✓
0x6d8650InitMmHalfTileYThunkorchestrationverified, proof one✓
0x6d8660InitMmHalfTileYprimitiveverified, proof one✓
0x6d8680InitMmOriginXThunkorchestrationverified, proof one✓
0x6d8690InitMmOriginXprimitiveverified, proof one✓
0x6d86b0InitMmOriginYThunkorchestrationverified, proof one✓
0x6d86c0InitMmOriginYprimitiveverified, proof one✓
0x6d86e0InitMmPositionorchestrationverified, proof one✓
0x6d86f0InitMmPositionBodyorchestrationverified, proof one✓
0x6d8710InitMmPositionAtExitorchestrationverified, proof one✓
0x6d8720InitMmPositionDtororchestrationverified, proof one
0x6d8730InitMmTileFirstorchestrationverified, proof one✓
0x6d8740InitMmTileFirstBodyorchestrationverified, proof one✓
0x6d8750InitMmTileFirstAtExitorchestrationverified, proof one✓
0x6d8760InitMmTileFirstDtororchestrationverified, proof one
0x6d8770InitMmTileLastorchestrationverified, proof one✓
0x6d8780InitMmTileLastBodyorchestrationverified, proof one✓
0x6d8790InitMmTileLastAtExitorchestrationverified, proof one✓
0x6d87a0InitMmTileLastDtororchestrationverified, proof one
0x6d87b0InitMmOrientationorchestrationverified, proof one✓
0x6d87c0InitMmOrientationBodyorchestrationverified, proof one✓
0x6d8870InitMmOrientationAtExitorchestrationverified, proof one✓
0x6d8880InitMmOrientationDtororchestrationverified, proof one
0x6d8890InitMmSecondMatrixorchestrationverified, proof one✓
0x6d88a0InitMmSecondMatrixBodyorchestrationverified, proof one✓
0x6d8950InitMmSecondMatrixAtExitorchestrationverified, proof one✓
0x6d8960InitMmSecondMatrixDtororchestrationverified, proof one
0x6d8970InitMmWindowBoundsorchestrationverified, proof one✓
0x6d8980InitMmWindowBoundsBodyorchestrationverified, proof one✓
0x6d89c0InitMmWindowBoundsAtExitorchestrationverified, proof one✓
0x6d89d0InitMmWindowBoundsDtororchestrationverified, proof one
0x6d89e0InitMmStaticBlipsorchestrationverified, proof one✓
0x6d89f0InitMmStaticBlipsBodyorchestrationverified, proof one✓
0x6d8a10InitMmStaticBlipsAtExitorchestrationverified, proof one✓
0x6d8a20InitMmStaticBlipsDtororchestrationverified, proof one
0x6d8a40InitMmCandidateArrayorchestrationverified, proof one✓
0x6d8a50InitMmCandidateArrayBodyorchestrationverified, proof one✓
0x6d8a70InitMmCandidateArrayAtExitorchestrationverified, proof one✓
0x6d8a80InitMmCandidateArrayDtororchestrationverified, proof one
0x6d8aa0InitMmFlagArrayAorchestrationverified, proof one✓
0x6d8ab0InitMmFlagArrayABodyorchestrationverified, proof one✓
0x6d8ad0InitMmFlagArrayAAtExitorchestrationverified, proof one✓
0x6d8ae0InitMmFlagArrayADtororchestrationverified, proof one
0x6d8b00InitMmFlagArrayBorchestrationverified, proof one✓
0x6d8b10InitMmFlagArrayBBodyorchestrationverified, proof one✓
0x6d8b30InitMmFlagArrayBAtExitorchestrationverified, proof one✓
0x6d8b40InitMmFlagArrayBDtororchestrationverified, proof one
0x6d8b60InitMmInRangeArrayorchestrationverified, proof one✓
0x6d8b70InitMmInRangeArrayBodyorchestrationverified, proof one✓
0x6d8b90InitMmInRangeArrayAtExitorchestrationverified, proof one✓
0x6d8ba0InitMmInRangeArrayDtororchestrationverified, proof one
0x6d8bc0InitMmCatalogorchestrationverified, proof one✓
0x6d8bd0InitMmCatalogBodyorchestrationverified, proof one✓
0x6d8c90InitMmCatalogAtExitorchestrationverified, proof one✓
0x6d8ca0InitMmCatalogDtororchestrationverified, proof one
0x6d8e10BuildBlipCandidatesorchestrationverified, proof one
0x6d9040LoadMd5Catalogorchestrationverified, proof one✓
0x6d92c0ResetMinimaporchestrationverified, proof one✓
0x6d93a0UpdateMinimapprimitiveverified, proof one✓✓
0x6d9a90PlaceBlipsprimitiveverified, proof one✓
0x6d9e10ClearTileKeysorchestrationverified, proof one✓
0x6d9e30TileLodDistanceprimitiveverified, proof one✓✓
0x6d9ed0LoadInteriorTileprimitiveverified, proof one✓
0x6da150ClaimTileSlotorchestrationverified, proof one✓
0x6da180UpdateOrientationprimitiveverified, proof one✓✓
0x6da330BuildInteriorNameorchestrationverified, proof one✓
0x6da380WorldToScreenScaleprimitiveverified, proof one✓✓
0x6da540WorldToTileprimitiveverified, proof one✓✓
0x6da5b0TileToWorldprimitiveverified, proof one✓✓
0x6da5e0LoadOutdoorTilesorchestrationverified, proof one✓
0x6da7b0BuildTilePathorchestrationverified, proof one✓
0x6da8e0SetZoomIndexprimitiveverified, proof one
0x6da980GetZoomIndexorchestrationverified, proof one
0x6da9a0GetZoomLevelCountorchestrationverified, proof one
0x6da9b0GetZoomRadiusprimitiveverified, proof one✓✓
0x6daa00TakeIconListorchestrationverified, proof one✓
0x6daa20BuildArrowListorchestrationverified, proof one
0x6dab70GetZoomRadiusDrawprimitiveverified, proof one✓
0x6dabc0PlaceBlipsForWorldStateorchestrationverified, proof one✓
0x6dac10SetStaticBliporchestrationverified, proof one
0x6dacb0SetQuestBliporchestrationverified, proof one
0x6dacd0SetCorpseBliporchestrationverified, proof one
0x6dad00GetGossipBliporchestrationverified, proof one✓
0x6dad10PlacePartyBlipsprimitiveverified, proof one
0x6dafd0Md5NameFreeNodeorchestrationverified, proof one
0x6db040Md5NameAllocNodeorchestrationverified, proof one
0x6db100Md5NameTableClearorchestrationverified, proof one
0x6db1c0Md5NameTableDeletingDtororchestrationverified, proof one
0x6db280PoiArraySetCapacityorchestrationverified, proof one
0x6db310PoiArrayGrowprimitiveverified, proof one✓
0x6db400Md5BucketDrainorchestrationverified, proof one
0x6db490Md5ListSetLinkOffsetorchestrationverified, proof one✓
0x6db500Md5BucketsFreeorchestrationverified, proof one
0x6db590PoiDirArrayDtororchestrationverified, proof one
0x6db5d0Md5LinkUnlinkorchestrationverified, proof one✓
0x6db610Md5LinkGetorchestrationverified, proof one✓
0x6db630Md5LinkNodeorchestrationverified, proof one✓
0x6db6f0Md5Granularityprimitiveverified, proof one
0x6db730RoundUpToUnitBprimitiveverified, proof one
0x6db750PoiDirArraySetCapacityorchestrationverified, proof one
0x6db7f0Md5LinkBackSlotorchestrationverified, proof one✓
0x6db820Md5TableRehashprimitiveverified, proof one✓
0x6dba10Md5ListInitorchestrationverified, proof one✓
0x6dba40Md5BucketChainDrainorchestrationverified, proof one✓
0x6dba90Md5ListResetorchestrationverified, proof one✓
0x6dbaa0Md5BucketsResizeprimitiveverified, proof one✓
0x6dbbe0Md5BucketsReallocprimitiveverified, proof one✓

Globals 50

addressnametypeconfidence
0x8116c4s_tileWidthconst floatverified, proof one
0x8116c8s_tileHeightconst floatverified, proof one
0x8116d0s_outdoorChunkCountsconst uint32_t[6]verified, proof one
0x8116e8s_indoorZoomWidthsconst float[6]verified, proof one
0x811700s_blockOffsetsint32_t[8]verified, proof one
0x811720s_md5TableVtablevoid *[4]verified, proof one
0x811734s_tileScaleconst floatverified, proof one
0x86f690s_gridBiasfloatverified, proof one
0x86f694s_minimapMapint32_tverified, proof one
0x86f698s_zoomOutdooruint32_tverified, proof one
0x86f69cs_zoomIndooruint32_tverified, proof one
0x86f6a0s_interiorIdint32_tverified, proof one
0x86f6a4s_tileStringsconst char *[3]verified, proof one
0x86f6b4s_quarterTurnfloatverified, proof one
0x86f6b8s_screenDenomAfloatverified, proof one
0x86f6bcs_screenDenomBfloatverified, proof one
0x86f7d4s_pathMinimapchar[58]verified, proof one
0xcea628s_md5Tableuint32_t[10]verified, proof one
0xcea650s_arrowBearingsfloat[3]verified, proof one
0xcea65cs_arrowCandidateIndicesuint32_t[3]verified, proof one
0xcea668s_inRangeBlipsHeaderuint32_t[2]verified, proof one
0xcea670s_inRangeBlipsvoid **verified, proof one
0xcea67cs_arrowCandidateFlagsHeaderuint32_t[2]verified, proof one
0xcea684s_arrowCandidateFlagsuint32_t *verified, proof one
0xcea688s_inRangeFlagsHeaderuint32_t[2]verified, proof one
0xcea690s_inRangeFlagsuint32_t *verified, proof one
0xcea694s_blipCandidatesHeaderuint32_t[2]verified, proof one
0xcea69cs_blipCandidatesvoid **verified, proof one
0xcea6a0s_staticBlipNameschar[192]verified, proof one
0xcea760s_staticBlipQuestuint8_t[116]verified, proof one
0xcea7d4s_staticBlipGossipuint8_t[116]verified, proof one
0xcea848s_staticBlipCorpseuint8_t[116]verified, proof one
0xcea8bcs_updateDirtyMaskuint32_tverified, proof one
0xcea8c0s_interiorNamechar[260]verified, proof one
0xcea9c4s_interiorWindowfloat[6]verified, proof one
0xcea9e0s_secondMatrixfloat[16]verified, proof one
0xceaa20s_orientationfloat[16]verified, proof one
0xceaa60s_interiorFlaguint8_tverified, proof one
0xceaa64s_cachedGroupWordsuint32_t[2]verified, proof one
0xceaa6cs_tileLastIndicesint32_t[2]verified, proof one
0xceaa74s_tileFirstIndicesint32_t[2]verified, proof one
0xceaa7cs_cachedPositionfloat[3]verified, proof one
0xceaa88s_originYfloatverified, proof one
0xceaa8cs_originXfloatverified, proof one
0xceaa90s_halfTileYfloatverified, proof one
0xceaa94s_halfTileXfloatverified, proof one
0xceaaa4s_gossipBlipExpiryuint32_tverified, proof one
0xceaaa8s_blipCandidateCountuint32_tverified, proof one
0xceaaacs_arrowCountuint32_tverified, proof one
0xceaab0s_arrowListDirtyuint32_tverified, proof one