In SQ3, right at the start, I walk Roger to the right two screens to the
tunnel. As soon as I press a key to ask him to take the wire I get an
unhandled exception in sdl_driver.h at the line indicated below.
case 4:
for(; x < dx; x++, pixel += pixx) {
> *(Uint32*)pixel = color;
y += dy;
if (y >= dx) {
Call stack is:
> lineColor(SDL_Surface * 0x008353c8, short 598, short 338, short 598, short
401, unsigned int 0) line 422 + 6 bytes
sdl_draw_line(_gfx_driver * 0x100adae8, rect_t {...}, gfx_color_t {...}, int
2, int 0) line 460 + 42 bytes
_gfxop_draw_line_clipped(gfx_state_t * 0x0041c520 static_gfx_state, rect_t
{...}, gfx_color_t {...}, int 2, int 0) line 994 + 76 bytes
gfxop_draw_rectangle(gfx_state_t * 0x0041c520 static_gfx_state, rect_t
{...}, gfx_color_t {...}, int 2, int 0) line 1091 + 67 bytes
_gfxwop_rect_draw(_gfxw_widget * 0x0148db98, point_t {...}) line 589 + 135
bytes
_gfxwop_container_draw_contents(_gfxw_widget * 0x013b8f40, _gfxw_widget *
0x01597490) line 1397 + 36 bytes
_gfxwop_list_draw(_gfxw_widget * 0x013b8f40, point_t {...}) line 1607 + 16
bytes
_gfxwop_port_draw(_gfxw_widget * 0x013ea5a0, point_t {...}) line 1986 + 38
bytes
_gfxwop_container_draw_contents(_gfxw_widget * 0x0138f630, _gfxw_widget *
0x00b6ce18) line 1397 + 36 bytes
_gfxwop_port_draw(_gfxw_widget * 0x0138f630, point_t {...}) line 1993 + 16
bytes
_gfxwop_container_draw_contents(_gfxw_widget * 0x00b4d3d8, _gfxw_widget *
0x00b4e200) line 1397 + 36 bytes
_gfxwop_visual_draw(_gfxw_widget * 0x00b4d3d8, point_t {...}) line 1841 + 16
bytes
kNewWindow(_state * 0x008733e0, int 19, int 9, unsigned short 33922) line
2372 + 49 bytes
run_vm(_state * 0x008733e0, int 0) line 769 + 126 bytes
_game_run(_state * 0x008733e0, int 0) line 1554 + 41 bytes
game_run(_state * * 0x0041c518 gamestate) line 1620 + 11 bytes
main(int 1, char * * 0x00870cd0) line 1066 + 10 bytes
mainCRTStartup() line 206 + 25 bytes
KERNEL32! 77e97d08()
I'm pretty sure the pointer to pixel is screwed as the value for color is 0.
This is using the Win32 build of a recent CVS snapshot.
Cheers,
Alex.