cout << "Num. gumps = " << gwin->get_num_gumps() << '\n';
static void Handle_keystroke	(	SDLKey sym,	int shift	)	{	static int shape_cnt = 0x360, shape_frame = 0;	static int face_cnt = -1, face_frame = 0;	static int gump_cnt = -1, gump_frame = 0;	gwin->end_intro();	switch (sym)		{	case SDLK_PLUS:			// Brighten.		gwin->brighten(20);		break;	case SDLK_MINUS:		// Darken.		gwin->brighten(-20);		break;	case SDLK_b:		Breakpoint();		break;	case SDLK_q:	case SDLK_ESCAPE:		// ESC key.		if (gwin->get_mode() == Game_window::gump)			gwin->end_gump_mode();		else			// For now, quit.			quitting_time = 1;		break;	case SDLK_l:			// Decrement skip_lift.		if (gwin->skip_lift == 16)			gwin->skip_lift = 11;		else			gwin->skip_lift--;		if (gwin->skip_lift == 0)			gwin->skip_lift = 16;		cout << "Skip_lift = " << gwin->skip_lift << '\n';					// FALL THROUGH.	case SDLK_p:			// Rerender image.		gwin->paint();		break;	case SDLK_s:		// Show next shape.#if 0		shape_frame = 0;		if (++shape_cnt == gwin->get_num_shapes())			shape_cnt = 0;		cout << "Painting shape " << shape_cnt << '\n';		gwin->paint();		gwin->paint_shape(gwin->get_win(),			200, 200, shape_cnt, shape_frame);#else		cout << "Num. gumps = " << gwin->get_num_gumps() << '\n';		gump_frame = 0;		if (++gump_cnt == gwin->get_num_gumps())			gump_cnt = 0;		cout << "Painting gump " << gump_cnt << '\n';		gwin->paint();		gwin->paint_gump(gwin->get_width()/2, gwin->get_height()/2, 						gump_cnt, gump_frame);#endif		break;	case 'S':		// Show prev. shape.		shape_frame = 0;		if (--shape_cnt < 0)			shape_cnt = gwin->get_num_shapes() - 1;		cout << "Painting shape " << shape_cnt << '\n';		gwin->paint();		gwin->paint_shape(gwin->get_win(),			200, 200, shape_cnt, shape_frame);		break;	case SDLK_f:			// Show next frame.		cout << "Frame # " << ++shape_frame << '\n';		gwin->paint();#if 1		gwin->paint_shape(gwin->get_win(),			200, 200, shape_cnt, shape_frame);#else		gwin->paint_shape(gwin->get_win(),			200, 200, face_cnt, face_frame);#endif		break;	case SDLK_RIGHT:		gwin->view_right();		break;	case SDLK_LEFT:		gwin->view_left();		break;	case SDLK_DOWN:		gwin->view_down();		break;	case SDLK_UP:		gwin->view_up();		break;		}	}