mirror of
https://github.com/holub/mame
synced 2025-04-20 23:42:22 +03:00
macro naming clean up (was a copy&paste mistake from 30693). nw.
This commit is contained in:
parent
fd5e57e97c
commit
5ac4a7d9ba
@ -60,7 +60,7 @@ public:
|
||||
virtual void machine_reset();
|
||||
UINT32 screen_update_asterix(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
INTERRUPT_GEN_MEMBER(asterix_interrupt);
|
||||
MCFG_K05324X_CB_MEMBER(sprite_callback);
|
||||
K05324X_CB_MEMBER(sprite_callback);
|
||||
|
||||
protected:
|
||||
virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);
|
||||
|
@ -52,7 +52,7 @@ public:
|
||||
virtual void video_start();
|
||||
UINT32 screen_update_lethalen(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
INTERRUPT_GEN_MEMBER(lethalen_interrupt);
|
||||
MCFG_K05324X_CB_MEMBER(sprite_callback);
|
||||
K05324X_CB_MEMBER(sprite_callback);
|
||||
};
|
||||
|
||||
/*----------- defined in video/lethal.c -----------*/
|
||||
|
@ -56,7 +56,7 @@ public:
|
||||
virtual void machine_reset();
|
||||
UINT32 screen_update_parodius(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
INTERRUPT_GEN_MEMBER(parodius_interrupt);
|
||||
MCFG_K05324X_CB_MEMBER(sprite_callback);
|
||||
K05324X_CB_MEMBER(sprite_callback);
|
||||
|
||||
protected:
|
||||
virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);
|
||||
|
@ -55,7 +55,7 @@ public:
|
||||
virtual void machine_reset();
|
||||
virtual void video_start();
|
||||
UINT32 screen_update_rollerg(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
MCFG_K05324X_CB_MEMBER(sprite_callback);
|
||||
K05324X_CB_MEMBER(sprite_callback);
|
||||
K051316_CB_MEMBER(zoom_callback);
|
||||
|
||||
protected:
|
||||
|
@ -42,7 +42,7 @@ public:
|
||||
UINT32 screen_update_surpratk(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
|
||||
INTERRUPT_GEN_MEMBER(surpratk_interrupt);
|
||||
|
||||
MCFG_K05324X_CB_MEMBER(sprite_callback);
|
||||
K05324X_CB_MEMBER(sprite_callback);
|
||||
};
|
||||
|
||||
/*----------- defined in video/surpratk.c -----------*/
|
||||
|
@ -169,9 +169,9 @@ public:
|
||||
inline UINT32 tmnt2_get_word( UINT32 addr );
|
||||
void tmnt2_put_word( address_space &space, UINT32 addr, UINT16 data );
|
||||
DECLARE_WRITE8_MEMBER(volume_callback);
|
||||
MCFG_K05324X_CB_MEMBER(lgtnfght_sprite_callback);
|
||||
MCFG_K05324X_CB_MEMBER(blswhstl_sprite_callback);
|
||||
MCFG_K05324X_CB_MEMBER(prmrsocr_sprite_callback);
|
||||
K05324X_CB_MEMBER(lgtnfght_sprite_callback);
|
||||
K05324X_CB_MEMBER(blswhstl_sprite_callback);
|
||||
K05324X_CB_MEMBER(prmrsocr_sprite_callback);
|
||||
|
||||
protected:
|
||||
virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr);
|
||||
|
@ -18,7 +18,7 @@ WRITE16_MEMBER(asterix_state::asterix_spritebank_w)
|
||||
reset_spritebank(machine());
|
||||
}
|
||||
|
||||
MCFG_K05324X_CB_MEMBER(asterix_state::sprite_callback)
|
||||
K05324X_CB_MEMBER(asterix_state::sprite_callback)
|
||||
{
|
||||
int pri = (*color & 0x00e0) >> 2;
|
||||
if (pri <= m_layerpri[2])
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
|
||||
typedef device_delegate<void (int *code, int *color, int *priority)> k05324x_cb_delegate;
|
||||
#define MCFG_K05324X_CB_MEMBER(_name) void _name(int *code, int *color, int *priority)
|
||||
#define K05324X_CB_MEMBER(_name) void _name(int *code, int *color, int *priority)
|
||||
|
||||
|
||||
#define MCFG_K05324X_BPP(_bpp) \
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include "emu.h"
|
||||
#include "includes/lethal.h"
|
||||
|
||||
MCFG_K05324X_CB_MEMBER(lethal_state::sprite_callback)
|
||||
K05324X_CB_MEMBER(lethal_state::sprite_callback)
|
||||
{
|
||||
int pri = (*color & 0xfff0);
|
||||
*color = *color & 0x000f;
|
||||
|
@ -22,7 +22,7 @@ void parodius_tile_callback( running_machine &machine, int layer, int bank, int
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
MCFG_K05324X_CB_MEMBER(parodius_state::sprite_callback)
|
||||
K05324X_CB_MEMBER(parodius_state::sprite_callback)
|
||||
{
|
||||
int pri = 0x20 | ((*color & 0x60) >> 2);
|
||||
if (pri <= m_layerpri[2])
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
MCFG_K05324X_CB_MEMBER(rollerg_state::sprite_callback)
|
||||
K05324X_CB_MEMBER(rollerg_state::sprite_callback)
|
||||
{
|
||||
#if 0
|
||||
if (machine().input().code_pressed(KEYCODE_Q) && (*color & 0x80)) *color = rand();
|
||||
|
@ -23,7 +23,7 @@ void surpratk_tile_callback( running_machine &machine, int layer, int bank, int
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
MCFG_K05324X_CB_MEMBER(surpratk_state::sprite_callback)
|
||||
K05324X_CB_MEMBER(surpratk_state::sprite_callback)
|
||||
{
|
||||
int pri = 0x20 | ((*color & 0x60) >> 2);
|
||||
if (pri <= m_layerpri[2])
|
||||
|
@ -157,7 +157,7 @@ void thndrx2_sprite_callback( running_machine &machine, int *code, int *color, i
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
MCFG_K05324X_CB_MEMBER(tmnt_state::lgtnfght_sprite_callback)
|
||||
K05324X_CB_MEMBER(tmnt_state::lgtnfght_sprite_callback)
|
||||
{
|
||||
int pri = 0x20 | ((*color & 0x60) >> 2);
|
||||
if (pri <= m_layerpri[2])
|
||||
@ -172,7 +172,7 @@ MCFG_K05324X_CB_MEMBER(tmnt_state::lgtnfght_sprite_callback)
|
||||
*color = m_sprite_colorbase + (*color & 0x1f);
|
||||
}
|
||||
|
||||
MCFG_K05324X_CB_MEMBER(tmnt_state::blswhstl_sprite_callback)
|
||||
K05324X_CB_MEMBER(tmnt_state::blswhstl_sprite_callback)
|
||||
{
|
||||
#if 0
|
||||
if (machine().input().code_pressed(KEYCODE_Q) && (*color & 0x20)) *color = rand();
|
||||
@ -192,7 +192,7 @@ if (machine().input().code_pressed(KEYCODE_E) && (*color & 0x80)) *color = rand(
|
||||
*color = m_sprite_colorbase + (*color & 0x1f);
|
||||
}
|
||||
|
||||
MCFG_K05324X_CB_MEMBER(tmnt_state::prmrsocr_sprite_callback)
|
||||
K05324X_CB_MEMBER(tmnt_state::prmrsocr_sprite_callback)
|
||||
{
|
||||
int pri = 0x20 | ((*color & 0x60) >> 2);
|
||||
if (pri <= m_layerpri[2])
|
||||
|
Loading…
Reference in New Issue
Block a user