mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-07 03:18:17 +00:00
Removed dead/unused code
svn-id: r38400
This commit is contained in:
parent
241d995586
commit
963af0ab02
@ -1,70 +0,0 @@
|
||||
/***************************************************************************
|
||||
Copyright (C) 2008 Christoph Reichenbach
|
||||
|
||||
|
||||
This program may be modified and copied freely according to the terms of
|
||||
the GNU general public license (GPL), as long as the above copyright
|
||||
notice and the licensing information contained herein are preserved.
|
||||
|
||||
Please refer to www.gnu.org for licensing details.
|
||||
|
||||
This work is provided AS IS, without warranty of any kind, expressed or
|
||||
implied, including but not limited to the warranties of merchantability,
|
||||
noninfringement, and fitness for a specific purpose. The author will not
|
||||
be held liable for any damage caused by this work or derivatives of it.
|
||||
|
||||
By using this source code, you agree to the licensing terms as stated
|
||||
above.
|
||||
|
||||
|
||||
Please contact the maintainer for bug reports or inquiries.
|
||||
|
||||
Current Maintainer:
|
||||
|
||||
Christoph Reichenbach (CR) <jameson@linuxgames.com>
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
/* Config extensions handle special-purpose configuration options such as the
|
||||
** graphics operations. To add new special-purpose operations, modify this file,
|
||||
** the lexer, and conf_extensions.c.
|
||||
*/
|
||||
|
||||
#ifndef CONF_EXTENSION_H_
|
||||
#define CONF_EXTENSION_H_
|
||||
|
||||
#include "common/scummsys.h"
|
||||
|
||||
#define CONF_EXT_TYPE_INVALID -1
|
||||
#define CONF_EXT_TYPE_GFX 0
|
||||
|
||||
typedef struct {
|
||||
int type; /* CONF_EXT_TYPE_* */
|
||||
void *data;
|
||||
} conf_extension_t;
|
||||
|
||||
|
||||
|
||||
int
|
||||
conf_extension_supercedes(conf_extension_t *a, conf_extension_t *b);
|
||||
/* Determines whether conf extension b shadows extension a
|
||||
** Parameters: (conf_extension_t *) a: The ``earlier'' extension
|
||||
** (conf_extension_t *) b: The ``later'' extension
|
||||
** Returns : nonzero iff shadowing does occur
|
||||
*/
|
||||
|
||||
void
|
||||
conf_extension_print(FILE *file, conf_extension_t *a);
|
||||
/* Prints out a config extension
|
||||
** Parameters: (FILE *) file: The file to print to
|
||||
** (conf_extension_t *) a: The extension to print out
|
||||
*/
|
||||
|
||||
void
|
||||
conf_extension_free(conf_extension_t *a);
|
||||
/* Frees up all data associated with a conf extension
|
||||
** Parameters: (conf_extension_t *) a: The extension to free
|
||||
** This also frees up a itself.
|
||||
*/
|
||||
|
||||
#endif /* !defined CONF_EXTENSION_H_ */
|
@ -1,36 +0,0 @@
|
||||
#ifndef _SCI_GAME_SELECT_H
|
||||
#define _SCI_GAME_SELECT_H
|
||||
|
||||
#include "sci/include/list.h"
|
||||
|
||||
typedef struct game {
|
||||
char *name;
|
||||
char dir[MAXPATHLEN];
|
||||
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 */
|
@ -35,9 +35,6 @@
|
||||
#include "sci/include/gfx_resource.h"
|
||||
#include "sci/include/gfx_resmgr.h"
|
||||
|
||||
#define GFX_RES_PATTERN_MIN 0
|
||||
#define GFX_RES_PATTERN_MAX 65535
|
||||
|
||||
typedef struct _gfx_res_pattern {
|
||||
int min, max;
|
||||
} gfx_res_pattern_t;
|
||||
@ -50,8 +47,6 @@ typedef struct _gfx_res_pattern_list {
|
||||
|
||||
/* GFX resource assignments */
|
||||
|
||||
#define GFX_RES_ASSIGN_TYPE_PALETTE 0 /* Assign a palette */
|
||||
|
||||
typedef struct {
|
||||
short type; /* GFX_RES_ASSIGN_TYPE_* */
|
||||
|
||||
@ -107,18 +102,6 @@ typedef struct {
|
||||
|
||||
struct _gfx_options;
|
||||
|
||||
int
|
||||
gfx_update_conf(struct _gfx_options *options,
|
||||
char *line);
|
||||
/* Updates the configuration
|
||||
** Parameters: (gfx_options_t *) options: The options list to update
|
||||
** (char *) line: The text line to parse
|
||||
** Modifies : (gfx_options_t *) options
|
||||
** Returns : (int) 0 on success, 1 if an error occured
|
||||
** The line passed to it should begin with the resource type and be
|
||||
** terminated by a semicolon.
|
||||
*/
|
||||
|
||||
int
|
||||
gfx_get_res_config(struct _gfx_options *options,
|
||||
gfx_pixmap_t *pxm);
|
||||
|
Loading…
x
Reference in New Issue
Block a user