ScummVM API documentation
Macs2::AmigaInfoData Struct Reference

Public Attributes

uint16 cursorResourceIds [8] = {0}
 
uint16 useInventoryCursorId = 0
 
uint16 sceneCount = 0
 
uint16 volumeCount = 0
 
uint16 mdirSize = 0
 
uint16 uiPaletteAmiga [16] = {0}
 
uint16 panelBorderColorIndices [5] = {0}
 
uint16 panelDarkenColorIndices [8] = {0}
 
uint8 prefMenuMode = 2
 
bool usePanelPatternFill = true
 
uint16 startSceneResourceId = 0
 
bool loaded = false
 

Member Data Documentation

◆ uiPaletteAmiga

uint16 Macs2::AmigaInfoData::uiPaletteAmiga[16] = {0}

16x 12-bit 0x0RGB UI colors from MXIN (Ghidra DAT_002379dc).

◆ panelBorderColorIndices

uint16 Macs2::AmigaInfoData::panelBorderColorIndices[5] = {0}

Panel border line/corner color indices from MXIN (Ghidra g_awPanelBorderColorIndices). Demo: 18,19,20,21,22.

◆ panelDarkenColorIndices

uint16 Macs2::AmigaInfoData::panelDarkenColorIndices[8] = {0}

Panel darken luminance->color table (Ghidra g_awPanelDarkenColorIndices). Demo: 28,29,29,60,61,31,62,23. Indexed by (7 - (R4+G4+B4)/0x18).

◆ prefMenuMode

uint8 Macs2::AmigaInfoData::prefMenuMode = 2

After title screen, g_bUsePanelPatternFill is overwritten from PREF MENUMODE (initAndRunTitleScreen @ 00234b42): 0=SHADE (darken remap), 1=GFX / 2=SOLID / 3=POINTS -> fill_ui_panel_pattern_tiles @ 00222332 (opaque 16x16 tiles). Demo PREF defaults to MENUMODE 2 (SOLID). Info MXIN +0x50 is only the pre-title default (0).

◆ startSceneResourceId

uint16 Macs2::AmigaInfoData::startSceneResourceId = 0

Starting MM resource id from MXIN (u32BE at Info offset 8). Demo Info stores 40 -> MM_0040 (intro). Script-visible scene id is mmId+1.


The documentation for this struct was generated from the following file: