MAMEWorld >> Programming
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

Luigi30
Lurker
Reged: 11/18/03
Posts: 215
Send PM
dwarfd.c and gfx_decode
11/05/06 07:02 AM


What in the hell does this mean? I want to fix it (spare time!) but I can't figure out what the hell any of this means, but I can turn the graphics from red to blue!


Code:


/* Wrong! */
static const gfx_layout tiles8x8_layout =
{
16,8,
RGN_FRAC(1,1),
4,
{ 0,1,2,3 },
{ 8, 16, 24, 32, 40, 48, 56, 64 },
{ 0*64, 1*64, 2*64, 3*64, 4*64, 5*64, 6*64, 7*64 },
16*64
};

static const gfx_decode gfxdecodeinfo[] =
{
{ REGION_GFX1, 0, &tiles8x8_layout, 0, 8 },
{ REGION_GFX2, 0, &tiles8x8_layout, 0, 8 },
{ REGION_GFX3, 0, &tiles8x8_layout, 0, 8 },
{ REGION_GFX4, 0, &tiles8x8_layout, 0, 8 },

{ -1 }
};








Entire thread
Subject Posted by Posted on
* dwarfd.c and gfx_decode Luigi30 11/05/06 07:02 AM
. * Re: dwarfd.c and gfx_decode Haze  11/05/06 12:15 PM

Extra information Permissions
Moderator:  Pi 
0 registered and 26 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 3852