Previous 199869 Revisions Next

r35173 Saturday 21st February, 2015 at 08:48:38 UTC by Osso
tehkanwc.c: oops, forgot to save (nw)
[src/mame/includes]tehkanwc.h
[src/mame/video]tehkanwc.c

trunk/src/mame/includes/tehkanwc.h
r243684r243685
7474   virtual void video_start();
7575   
7676   UINT32 screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
77   void draw_led(bitmap_ind16 &bitmap, const rectangle &cliprect, UINT8 led,int player);
77   void gridiron_draw_led(bitmap_ind16 &bitmap, const rectangle &cliprect, UINT8 led,int player);
7878   void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect);
7979
8080protected:
trunk/src/mame/video/tehkanwc.c
r243684r243685
117117   bit 7 = enable (0 = display off)
118118 */
119119
120void tehkanwc_state::draw_led(bitmap_ind16 &bitmap, const rectangle &cliprect, UINT8 led,int player)
120void tehkanwc_state::gridiron_draw_led(bitmap_ind16 &bitmap, const rectangle &cliprect, UINT8 led,int player)
121121{
122122   if (led&0x80)
123123      output_set_digit_value(player, led&0x7f);
r243684r243685
161161   m_fg_tilemap->draw(screen, bitmap, cliprect, 0, 0);
162162   draw_sprites(bitmap, cliprect);
163163   m_fg_tilemap->draw(screen, bitmap, cliprect, 1, 0);
164   draw_led(bitmap, cliprect, m_led0, 0);
165   draw_led(bitmap, cliprect, m_led1, 1);
164   gridiron_draw_led(bitmap, cliprect, m_led0, 0);
165   gridiron_draw_led(bitmap, cliprect, m_led1, 1);
166166   return 0;
167167}


Previous 199869 Revisions Next


© 1997-2024 The MAME Team