Closed angered-ghandi closed 8 years ago
SLP 50405 in interfac.drs also exhibits this behavior:
Frame index 0: SlpShapeHeader { shape_data_offsets: 300, shape_outline_offset: 288, palette_offset: 0, properties: 0, width: 3, height: 3, center_x: -2147483325, center_y: -2147483407 }
Frame index 1: SlpShapeHeader { shape_data_offsets: 424, shape_outline_offset: 312, palette_offset: 0, properties: 0, width: 49, height: 28, center_x: 24, center_y: 16 }
Frame index 2: SlpShapeHeader { shape_data_offsets: 901, shape_outline_offset: 789, palette_offset: 0, properties: 0, width: 45, height: 28, center_x: 21, center_y: 16 }
Frame index 3: SlpShapeHeader { shape_data_offsets: 1476, shape_outline_offset: 1376, palette_offset: 0, properties: 0, width: 38, height: 25, center_x: 18, center_y: 15 }
Frame index 4: SlpShapeHeader { shape_data_offsets: 1983, shape_outline_offset: 1899, palette_offset: 0, properties: 0, width: 30, height: 21, center_x: 15, center_y: 15 }
Frame index 5: SlpShapeHeader { shape_data_offsets: 2459, shape_outline_offset: 2399, palette_offset: 0, properties: 0, width: 21, height: 15, center_x: 10, center_y: 11 }
Frame index 6: SlpShapeHeader { shape_data_offsets: 2787, shape_outline_offset: 2755, palette_offset: 0, properties: 0, width: 15, height: 8, center_x: 7, center_y: 5 }
Frame index 7: SlpShapeHeader { shape_data_offsets: 2936, shape_outline_offset: 2924, palette_offset: 0, properties: 0, width: 3, height: 3, center_x: -2147483325, center_y: -2147483407 }
I think it's just an indicator that the graphic shouldn't be drawn on that frame.
SLP 491 (used for hut smoke) causes the game to crash due to its absurdly large center values in its last three frames:
Those centers cause integer overflow and crash the game when rendered. This can be reproduced consistently by scrolling to the North East side of the map in
mu0a3a_1.scn
.Backtrace:
These center values are close, but not quite equal to the minimum 32-bit integer value. There's also nothing but transparent pixels on these frames, so perhaps the game is just using these crazy center values to tell the engine to never draw them.