[Scummvm-cvs-logs] SF.net SVN: scummvm:[38400] scummvm/trunk/engines/sci/include

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Tue Feb 17 10:53:28 CET 2009


Revision: 38400
          http://scummvm.svn.sourceforge.net/scummvm/?rev=38400&view=rev
Author:   thebluegr
Date:     2009-02-17 09:53:27 +0000 (Tue, 17 Feb 2009)

Log Message:
-----------
Removed dead/unused code

Modified Paths:
--------------
    scummvm/trunk/engines/sci/include/gfx_res_options.h

Removed Paths:
-------------
    scummvm/trunk/engines/sci/include/conf_extension.h
    scummvm/trunk/engines/sci/include/game_select.h

Deleted: scummvm/trunk/engines/sci/include/conf_extension.h
===================================================================
--- scummvm/trunk/engines/sci/include/conf_extension.h	2009-02-17 09:42:23 UTC (rev 38399)
+++ scummvm/trunk/engines/sci/include/conf_extension.h	2009-02-17 09:53:27 UTC (rev 38400)
@@ -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 at 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_ */

Deleted: scummvm/trunk/engines/sci/include/game_select.h
===================================================================
--- scummvm/trunk/engines/sci/include/game_select.h	2009-02-17 09:42:23 UTC (rev 38399)
+++ scummvm/trunk/engines/sci/include/game_select.h	2009-02-17 09:53:27 UTC (rev 38400)
@@ -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 */

Modified: scummvm/trunk/engines/sci/include/gfx_res_options.h
===================================================================
--- scummvm/trunk/engines/sci/include/gfx_res_options.h	2009-02-17 09:42:23 UTC (rev 38399)
+++ scummvm/trunk/engines/sci/include/gfx_res_options.h	2009-02-17 09:53:27 UTC (rev 38400)
@@ -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 @@
 
 /* GFX resource assignments */
 
-#define GFX_RES_ASSIGN_TYPE_PALETTE 0 /* Assign a palette */
-
 typedef struct {
 	short type; /* GFX_RES_ASSIGN_TYPE_* */
 
@@ -108,18 +103,6 @@
 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);
 /* Configures a graphical pixmap according to config options


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list