diff options
author | Jordi Vilalta Prat | 2009-02-15 06:10:59 +0000 |
---|---|---|
committer | Jordi Vilalta Prat | 2009-02-15 06:10:59 +0000 |
commit | fa6e10e9cec163845aa29e7940c86e9c9ab8a2bc (patch) | |
tree | ce87338830cc8c149e1de545246bcefe4f45da00 /engines/sci/include/game_select.h | |
parent | 7c148ddf021c990fa866b7600f979aac9a5b26c9 (diff) | |
download | scummvm-rg350-fa6e10e9cec163845aa29e7940c86e9c9ab8a2bc.tar.gz scummvm-rg350-fa6e10e9cec163845aa29e7940c86e9c9ab8a2bc.tar.bz2 scummvm-rg350-fa6e10e9cec163845aa29e7940c86e9c9ab8a2bc.zip |
Import the SCI engine sources from the FreeSCI Glutton branch (it doesn't compile yet)
svn-id: r38192
Diffstat (limited to 'engines/sci/include/game_select.h')
-rw-r--r-- | engines/sci/include/game_select.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/engines/sci/include/game_select.h b/engines/sci/include/game_select.h new file mode 100644 index 0000000000..91b3d957f6 --- /dev/null +++ b/engines/sci/include/game_select.h @@ -0,0 +1,38 @@ +#include "list.h" + +#ifndef _SCI_GAME_SELECT_H +#define _SCI_GAME_SELECT_H + +typedef struct game +{ + char *name; + char dir[PATH_MAX]; + int conf_nr; +} game_t; + +typedef struct games_list +{ + LIST_ENTRY(games_list) entries; + + game_t game; +} games_list_t; + +typedef LIST_HEAD(games_list_head, games_list) games_list_head_t; + +int game_select_gfxop_init_default(gfx_state_t *state, gfx_options_t *options, void *misc_info); + +int game_select_gfxop_init(gfx_state_t *state, int xfact, int yfact, gfx_color_mode_t bpp, gfx_options_t *options, void *misc_info); + +int +game_select_display(gfx_driver_t *gfx_driver, game_t* game_list, int game_count, gfx_bitmap_font_t* font_default, gfx_bitmap_font_t* font_small); + +void game_select_scan_info(gfx_driver_t *gfx_driver, gfx_bitmap_font_t* font_default, gfx_bitmap_font_t* font_small, char *name, int total); + + +#if 0 +/* this can be used to generate code that creates a particular font at runtime */ +/* this is meant to be used as a development tool */ +void save_font(int id, gfx_bitmap_font_t* font) +#endif + +#endif /* _SCI_GAME_SELECT_H */ |