~ubuntu-branches/ubuntu/lucid/sdlmame/lucid

« back to all changes in this revision

Viewing changes to src/mame/includes/galaxian.h

  • Committer: Bazaar Package Importer
  • Author(s): Cesare Falco
  • Date: 2009-11-03 17:10:15 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20091103171015-6hop4ory5lxnumpn
Tags: 0.135-0ubuntu1
* New upstream release - Closes (LP: #403212)
* debian/watch: unstable releases are no longer detected
* mame.ini: added the cheat subdirectories to cheatpath so zipped
  cheatfiles will be searched too
* renamed crsshair subdirectory to crosshair to reflect upstream change
* mame.ini: renamed references to crosshair subdirectory (see above)

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
***************************************************************************/
6
6
 
7
 
#include "sound/samples.h"
8
 
 
9
 
 
 
7
#include "sound/discrete.h"
10
8
/* we scale horizontally by 3 to render stars correctly */
11
9
#define GALAXIAN_XSCALE                 3
12
10
 
28
26
#define GALAXIAN_VBEND                  (16)
29
27
#define GALAXIAN_VBSTART                (224+16)
30
28
 
 
29
#define GAL_AUDIO       "discrete"
31
30
 
32
31
/*----------- defined in video/galaxian.c -----------*/
33
32
 
122
121
void jumpbug_extend_tile_info(UINT16 *code, UINT8 *color, UINT8 attrib, UINT8 x);
123
122
void jumpbug_extend_sprite_info(const UINT8 *base, UINT8 *sx, UINT8 *sy, UINT8 *flipx, UINT8 *flipy, UINT16 *code, UINT8 *color);
124
123
 
125
 
 
 
124
/* Ten Spot extensions */
 
125
void tenspot_set_game_bank(running_machine *machine, int bank, int from_game);
126
126
 
127
127
/*----------- defined in audio/galaxian.c -----------*/
128
128
 
129
 
extern const samples_interface galaxian_samples_interface;
130
 
extern const samples_interface galaxian_custom_interface;
131
 
 
132
 
WRITE8_HANDLER( galaxian_sound_w );
133
 
WRITE8_HANDLER( galaxian_pitch_w );
134
 
WRITE8_HANDLER( galaxian_vol_w );
135
 
WRITE8_HANDLER( galaxian_noise_enable_w );
136
 
WRITE8_HANDLER( galaxian_background_enable_w );
137
 
WRITE8_HANDLER( galaxian_shoot_enable_w );
138
 
WRITE8_HANDLER( galaxian_lfo_freq_w );
 
129
MACHINE_DRIVER_EXTERN( mooncrst_audio );
 
130
MACHINE_DRIVER_EXTERN( galaxian_audio );
 
131
 
 
132
WRITE8_DEVICE_HANDLER( galaxian_sound_w );
 
133
WRITE8_DEVICE_HANDLER( galaxian_pitch_w );
 
134
WRITE8_DEVICE_HANDLER( galaxian_vol_w );
 
135
WRITE8_DEVICE_HANDLER( galaxian_noise_enable_w );
 
136
WRITE8_DEVICE_HANDLER( galaxian_background_enable_w );
 
137
WRITE8_DEVICE_HANDLER( galaxian_shoot_enable_w );
 
138
WRITE8_DEVICE_HANDLER( galaxian_lfo_freq_w );
 
139