mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 18:51:16 +00:00
Temporary workaround
This commit is contained in:
parent
a725c91a8e
commit
d6103d2ec2
@ -27,11 +27,12 @@ typedef struct {
|
||||
|
||||
typedef struct : FLIC_CHUNK {
|
||||
WORD frames; /* Number of frames in first segment */ // 0x06
|
||||
short width; /* FLIC width in pixels */ // 0x08
|
||||
short height; /* FLIC height in pixels */ // 0x0a
|
||||
WORD depth; /* Bits per pixel (usually 8) */ // 0x0c
|
||||
WORD flags; /* Set to zero or to three */ // 0x0e
|
||||
DWORD speed; /* Delay between frames */ // 0x10
|
||||
// TODO: See signed issue in MxFlcPresenter::CreateBitmap()
|
||||
short width; /* FLIC width in pixels */ // 0x08
|
||||
short height; /* FLIC height in pixels */ // 0x0a
|
||||
WORD depth; /* Bits per pixel (usually 8) */ // 0x0c
|
||||
WORD flags; /* Set to zero or to three */ // 0x0e
|
||||
DWORD speed; /* Delay between frames */ // 0x10
|
||||
} FLIC_HEADER;
|
||||
#pragma pack(pop)
|
||||
|
||||
|
||||
@ -40,7 +40,8 @@ void MxFlcPresenter::CreateBitmap()
|
||||
}
|
||||
|
||||
m_bitmap = new MxBitmap;
|
||||
m_bitmap->SetSize(m_flcHeader->width, m_flcHeader->height, NULL, FALSE);
|
||||
// TODO: Unlikely that width/height are signed shorts
|
||||
m_bitmap->SetSize((MxU16) m_flcHeader->width, (MxU16) m_flcHeader->height, NULL, FALSE);
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100b3570
|
||||
|
||||
Loading…
Reference in New Issue
Block a user