37extern const char *
const scaling_mode_names[ScalingMode_MAX];
39extern int fullscreen_display;
40extern ScalingMode scaling_mode;
42extern SDL_Surface *VGAScreen, *VGAScreenSeg;
43extern SDL_Surface *game_screen;
44extern SDL_Surface *VGAScreen2;
46extern SDL_Window *main_window;
47extern SDL_PixelFormat *main_window_tex_format;
51void video_on_win_resize(
void);
52void reinit_fullscreen(
int new_display);
53void toggle_fullscreen(
void);
54bool init_scaler(
unsigned int new_scaler);
55bool set_scaling_mode_by_name(
const char *name);
57void deinit_video(
void);
59void JE_clr256(SDL_Surface *);
62void mapScreenPointToWindow(Sint32 *inout_x, Sint32 *inout_y);
63void mapWindowPointToScreen(Sint32 *inout_x, Sint32 *inout_y);
64void scaleWindowDistanceToScreen(Sint32 *inout_x, Sint32 *inout_y);