diff options
author | Jordi Vilalta Prat | 2009-02-16 16:23:48 +0000 |
---|---|---|
committer | Jordi Vilalta Prat | 2009-02-16 16:23:48 +0000 |
commit | c8a3a05a5d83758582e0b89c4646476c535f84b0 (patch) | |
tree | 82742edd88e11afe079087d8c05394e3b20d38a9 /engines/sci/include | |
parent | ee1cae3ebcad65ac30c2ce84853b3c07ce4568f7 (diff) | |
download | scummvm-rg350-c8a3a05a5d83758582e0b89c4646476c535f84b0.tar.gz scummvm-rg350-c8a3a05a5d83758582e0b89c4646476c535f84b0.tar.bz2 scummvm-rg350-c8a3a05a5d83758582e0b89c4646476c535f84b0.zip |
SCI: Changed pcm_device and timer "driver" functionality to use directly the ScummVM modules
svn-id: r38373
Diffstat (limited to 'engines/sci/include')
-rw-r--r-- | engines/sci/include/gfx_driver.h | 42 | ||||
-rw-r--r-- | engines/sci/include/sfx_pcm.h | 9 | ||||
-rw-r--r-- | engines/sci/include/sfx_timer.h | 10 |
3 files changed, 0 insertions, 61 deletions
diff --git a/engines/sci/include/gfx_driver.h b/engines/sci/include/gfx_driver.h index 850674fcc5..76ff498e68 100644 --- a/engines/sci/include/gfx_driver.h +++ b/engines/sci/include/gfx_driver.h @@ -393,46 +393,4 @@ typedef struct _gfx_driver { /* Graphics driver */ } gfx_driver_t; - - -gfx_driver_t * -gfx_find_driver(char *, char *name); -/* Attempts to match a graphics driver to a name -** Parameters: (char *) path: The path to search in -** (char *) name: The name of the graphics driver to look for -** or NULL for the default driver -** Returns : (gfx_driver_t *) The resulting driver, or NULL if none -** was found -*/ - -const char * -gfx_get_driver_name(int nr); -/* Retreives the name of the driver with the specified number -** Parameters: (int) nr: Number of the driver -** (char *) The driver's name -** Note that this function only makes sense within a loop or if nr=0, since -** the result value is valid iff nr >= 0 AND there does not exist an nr' -** with 0 <= nr' < nr so that gfx_get_driver_name(nr') == NULL. -*/ - -/*** Utility functions for set_parameter implementations */ - -int -string_truep(char *value); -/* Tests whether a string expresses truth -** Parameters: (char *) value: The value to test -** Returns : non-zero iff 'value' contans a string expressing something -** along the lines of "yes" -*/ - -int -string_falsep(char *value); -/* Tests whether a string expresses falsehood -** Parameters: (char *) value: The value to test -** Returns : non-zero iff 'value' contans a string expressing something -** along the lines of "no" -*/ - - - #endif /* !_SCI_GFX_DRIVER_H_ */ diff --git a/engines/sci/include/sfx_pcm.h b/engines/sci/include/sfx_pcm.h index fe6a0ad4fe..f05e96d331 100644 --- a/engines/sci/include/sfx_pcm.h +++ b/engines/sci/include/sfx_pcm.h @@ -223,13 +223,4 @@ sfx_pcm_available(void); ** Returns : (int) zero iff no PCM device is available */ -sfx_pcm_device_t * -sfx_pcm_find_device(char *name); -/* Finds a PCM device by name -** Parameters: (char *) name: Name of the PCM device to look for, or NULL to -** use the system default -** Returns : (sfx_pcm_device_t *) The requested device, or NULL if no matching -** device could be found -*/ - #endif /* !defined(_SFX_PCM_H_) */ diff --git a/engines/sci/include/sfx_timer.h b/engines/sci/include/sfx_timer.h index 919203d120..8b17067a20 100644 --- a/engines/sci/include/sfx_timer.h +++ b/engines/sci/include/sfx_timer.h @@ -83,14 +83,4 @@ typedef struct { */ } sfx_timer_t; -extern sfx_timer_t * - sfx_find_timer(char *name); -/* Finds a timer by name -** Parameters: (char *) name: Name of the timer to look up, or NULL for default -** Returns : (sfx_timer_t *) The timer of matching name, or NULL -** if not found -** This does not consider timers provided by PCM devices; there must be -** retrieved externally. -*/ - #endif /* !_FREESCI_SFX_TIMER_H_ */ |