Previous 199869 Revisions Next

r31063 Saturday 21st June, 2014 at 17:47:03 UTC by David Haywood
notes on priority (nw)
[src/mame/video]deco32.c deco_zoomspr.c

trunk/src/mame/video/deco32.c
r31062r31063
158158VIDEO_START_MEMBER(dragngun_state,dragngun)
159159{
160160   m_dirty_palette = auto_alloc_array(machine(), UINT8, 4096);
161
162
163161   m_screen->register_screen_bitmap(m_temp_render_bitmap);
164162
165163   memset(m_dirty_palette,0,4096);
r31062r31063
173171VIDEO_START_MEMBER(dragngun_state,lockload)
174172{
175173   m_dirty_palette = auto_alloc_array(machine(), UINT8, 4096);
174   m_screen->register_screen_bitmap(m_temp_render_bitmap);
176175
177176   memset(m_dirty_palette,0,4096);
178177
trunk/src/mame/video/deco_zoomspr.c
r31062r31063
306306      colour = spritedata[offs+6]&0x1f;
307307
308308      int priority = (spritedata[offs + 6] & 0x60) >> 5;
309      /*
310      if (priority == 0) priority = 1;
311      else if (priority == 1) priority = 1;
312      else if (priority == 2) priority = 1;
313      else if (priority == 3) priority = 1;
314      */
315      priority = 7;
309     
316310
311     
312
313//      printf("%02x\n", priority);
314     
315      if (priority == 0) priority = 7;
316      else if (priority == 1) priority = 7; // set to 1 to have the 'masking effect' with the dragon on the dragngun attract mode, but that breaks the player select where it needs to be 3, probably missing some bits..
317      else if (priority == 2) priority = 7;
318      else if (priority == 3) priority = 7;
319
317320      if (spritedata[offs+6]&0x80)
318321         alpha=0x80;
319322      else

Previous 199869 Revisions Next


© 1997-2024 The MAME Team