~ubuntu-branches/ubuntu/karmic/xmame/karmic

« back to all changes in this revision

Viewing changes to src/vidhrdw/exctsccr.c

  • Committer: Bazaar Package Importer
  • Author(s): Bruno Barrera C.
  • Date: 2007-02-16 10:06:54 UTC
  • mfrom: (2.1.5 edgy)
  • Revision ID: james.westby@ubuntu.com-20070216100654-iztas2cl47k5j039
Tags: 0.106-2
* Added Italian debconf templates translation. (closes: #382672)
* Added German debconf templates translation. (closes: #396610)
* Added Japanese debconf templates translation. (closes: #400011)
* Added Portuguese debconf templates translation. (closes: #409960)

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
***************************************************************************/
8
8
 
9
9
#include "driver.h"
10
 
#include "vidhrdw/generic.h"
11
10
 
12
11
static int gfx_bank;
13
12
 
14
 
static struct tilemap *bg_tilemap;
 
13
static tilemap *bg_tilemap;
15
14
 
16
15
/***************************************************************************
17
16
 
148
147
 
149
148
VIDEO_START( exctsccr )
150
149
{
151
 
        bg_tilemap = tilemap_create(get_bg_tile_info, tilemap_scan_rows, 
 
150
        bg_tilemap = tilemap_create(get_bg_tile_info, tilemap_scan_rows,
152
151
                TILEMAP_OPAQUE, 8, 8, 32, 32);
153
152
 
154
153
        if ( !bg_tilemap )
159
158
        return 0;
160
159
}
161
160
 
162
 
static void exctsccr_draw_sprites( struct mame_bitmap *bitmap ) {
 
161
static void exctsccr_draw_sprites( mame_bitmap *bitmap ) {
163
162
        int offs;
164
163
        UINT8 *OBJ1, *OBJ2;
165
164
 
188
187
                                TRANSPARENCY_PEN,0);
189
188
        }
190
189
 
191
 
        OBJ1 = &(memory_region(REGION_CPU1)[0x8800]);
 
190
        OBJ1 = spriteram_2;
192
191
        OBJ2 = spriteram;
193
192
 
194
193
        for ( offs = 0x0e; offs >= 0; offs -= 2 ) {