ScummVM API documentation
AGS3::SYSTEM_DRIVER Struct Reference

Public Attributes

int id
 
const char * name
 
const char * desc
 
const char * ascii_name
 
int(* init )(void)
 
void(* exit )(void)
 
void(* get_executable_name )(char *output, int size)
 
int(* find_resource )(char *dest, const char *resource, int size)
 
void(* set_window_title )(const char *name)
 
int(* set_close_button_callback )(void(*proc)(void))
 
void(* message )(const char *msg)
 
void(* assert )(const char *msg)
 
void(* save_console_state )(void)
 
void(* restore_console_state )(void)
 
BITMAP *(* create_bitmap )(int color_depth, int width, int height)
 
void(* created_bitmap )(BITMAP *bmp)
 
BITMAP *(* create_sub_bitmap )(BITMAP *parent, int x, int y, int width, int height)
 
void(* created_sub_bitmap )(BITMAP *bmp, BITMAP *parent)
 
int(* destroy_bitmap )(BITMAP *bitmap)
 
void(* read_hardware_palette )(void)
 
void(* set_palette_range )(const RGB *p, int from, int to, int retracesync)
 
struct GFX_VTABLE *(* get_vtable )(int color_depth)
 
int(* set_display_switch_mode )(int mode)
 
void(* display_switch_lock )(int lock, int foreground)
 
int(* desktop_color_depth )(void)
 
int(* get_desktop_resolution )(int *width, int *height)
 
void(* get_gfx_safe_mode )(int *driver, struct GFX_MODE *mode)
 
void(* yield_timeslice )(void)
 
void *(* create_mutex )(void)
 
void(* destroy_mutex )(void *handle)
 
void(* lock_mutex )(void *handle)
 
void(* unlock_mutex )(void *handle)
 

The documentation for this struct was generated from the following file: