struct ICON_TRANSFER
The buffers an icon or a portrait is decoded through, in HEAP_SLOT_ICON_TRANSFER for one build: mnIconDecode unpacks encoded into input, then expands input into tiles. More…
Declared in glyph.h.
Fields
| Name | Description | |
|---|---|---|
Uint8 | input [1024] | unpacked, a byte a pixel |
Uint8 | tiles [512] | the icon as sprite tiles, ready for VRAM |
Sint16 | width | tiles |
Sint16 | height | tiles |
Uint8 * | encoded | the compressed icon |
Description
The buffers an icon or a portrait is decoded through, in
HEAP_SLOT_ICON_TRANSFER for one build: mnIconDecode unpacks encoded into
input, then expands input into tiles. A 256-colour command icon
(ResourceIdCommandIcons) is unpacked into input by syDecompressByteLZ and
used as it is.
struct ICON_TRANSFER
Referenced by fdActorSetItemIcon(), fdActorShowItemIconById(), fdItemDisplayShowItem(), fdItemDisplayShowItemInFront(), mnAbilityIconLoadIntoSlot(), mnBattleCommandRowLoadIconTiles(), mnCommandIconReloadSlot(), mnIconBuildAbilityIconTiles(), mnIconBuildCommandIconTiles(), mnIconBuildItemIconTiles(), mnIconBuildMiscellaneousIconTiles(), mnIconDecode(), mnIconDecompress(), mnIconDrawItem(), mnIconDrawMiscellaneous(), mnIconLoadResourceIntoSlot(), mnIconLoadWithPalette(), mnItemIconCompose(), mnItemIconLoadIntoSlot(), mnItemIconLoadLayersIntoSlot(), mnMiscellaneousIconLoadIntoSlot(), mnSelectionMenuLoadLargeIcon(), scDehkanPlateauCreatePoundCube(), scGabombaStatueChamberWhereIsTheOrb(), scJupiterLighthouseCastTheJupiterStar(), scKandoreanTempleCreateLashPebble(), scKibomboCreateBlackCrystal(), scLemurianShipDeckCreateBlackCrystal(), scMarsLighthouseAerieLightBeacon(), scMarsLighthouseStarRoomCreateMarsStar(), scMarsLighthouseStarRoomLoadMarsStarIcon(), scSettlementsSetUpKaltIsland(), scShamanVillageCreateRodIcon() and scYampiDesertCreateScoopGem().
Definition at line 57 of file glyph.h.
Fields in detail
input
Uint8 input[1024]
unpacked, a byte a pixel
tiles
Uint8 tiles[512]
the icon as sprite tiles, ready for VRAM
width
Sint16 width
tiles
height
Sint16 height
tiles
encoded
Uint8 *encoded
the compressed icon