summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author ajrhacker <ajrhacker@users.noreply.github.com>2018-12-10 00:06:22 -0500
committer GitHub <noreply@github.com>2018-12-10 00:06:22 -0500
commitf66164b03ec089f43e6c375d2568971f750c26a1 (patch)
tree2f81bd526f0b7653c686e130db8de324efe903c2
parent5229f37ae6badb57a0766c71b1cefad93d72935a (diff)
parent51710222f9ecfafe5ce278b15c60114ae6ec20c4 (diff)
Merge pull request #4387 from DavidHaywood/091218
improve atombjt sprites (nw)
-rw-r--r--src/mame/drivers/powerbal.cpp3
-rw-r--r--src/mame/includes/playmark.h2
-rw-r--r--src/mame/video/playmark.cpp4
3 files changed, 6 insertions, 3 deletions
diff --git a/src/mame/drivers/powerbal.cpp b/src/mame/drivers/powerbal.cpp
index 6af4771b3a0..27eae823577 100644
--- a/src/mame/drivers/powerbal.cpp
+++ b/src/mame/drivers/powerbal.cpp
@@ -551,7 +551,7 @@ void powerbal_state::draw_sprites_powerbal(bitmap_ind16 &bitmap, const rectangle
code,
color,
flipx,0,
- sx + m_xoffset,sy + m_yoffset,0);
+ sx + m_xoffset,sy + m_yoffset,m_sprtranspen);
}
}
@@ -570,6 +570,7 @@ VIDEO_START_MEMBER(powerbal_state,atombjt)
m_xoffset = 32;
m_yoffset = 8;
+ m_sprtranspen = 0xf;
m_bg_tilemap->set_scrollx(0, -64);
}
diff --git a/src/mame/includes/playmark.h b/src/mame/includes/playmark.h
index 017d5ce7169..8bd73db762e 100644
--- a/src/mame/includes/playmark.h
+++ b/src/mame/includes/playmark.h
@@ -22,6 +22,7 @@ public:
m_videoram3(*this, "videoram3"),
m_spriteram(*this, "spriteram"),
m_rowscroll(*this, "rowscroll"),
+ m_sprtranspen(0),
m_oki(*this, "oki"),
m_okibank(*this, "okibank"),
m_eeprom(*this, "eeprom"),
@@ -67,6 +68,7 @@ protected:
int m_yoffset;
int m_pri_masks[3];
uint16_t m_scroll[7];
+ int m_sprtranspen;
/* misc */
uint16_t m_snd_command;
diff --git a/src/mame/video/playmark.cpp b/src/mame/video/playmark.cpp
index 4601f6d4fa9..73d2ef93526 100644
--- a/src/mame/video/playmark.cpp
+++ b/src/mame/video/playmark.cpp
@@ -394,7 +394,7 @@ void playmark_state::draw_sprites( screen_device &screen, bitmap_ind16 &bitmap,
color,
flipx,0,
sx + m_xoffset,sy + m_yoffset,
- screen.priority(),m_pri_masks[pri],0);
+ screen.priority(),m_pri_masks[pri],m_sprtranspen);
}
}
@@ -431,7 +431,7 @@ void playmark_state::bigtwinb_draw_sprites( screen_device &screen, bitmap_ind16
code,
color,
flipx,0,
- sx + m_xoffset,sy + m_yoffset, 0);
+ sx + m_xoffset,sy + m_yoffset, m_sprtranspen);
}
}