trunk/src/mame/includes/tehkanwc.h
| r243684 | r243685 | |
| 74 | 74 | virtual void video_start(); |
| 75 | 75 | |
| 76 | 76 | 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); |
| 78 | 78 | void draw_sprites(bitmap_ind16 &bitmap, const rectangle &cliprect); |
| 79 | 79 | |
| 80 | 80 | protected: |
trunk/src/mame/video/tehkanwc.c
| r243684 | r243685 | |
| 117 | 117 | bit 7 = enable (0 = display off) |
| 118 | 118 | */ |
| 119 | 119 | |
| 120 | | void tehkanwc_state::draw_led(bitmap_ind16 &bitmap, const rectangle &cliprect, UINT8 led,int player) |
| 120 | void tehkanwc_state::gridiron_draw_led(bitmap_ind16 &bitmap, const rectangle &cliprect, UINT8 led,int player) |
| 121 | 121 | { |
| 122 | 122 | if (led&0x80) |
| 123 | 123 | output_set_digit_value(player, led&0x7f); |
| r243684 | r243685 | |
| 161 | 161 | m_fg_tilemap->draw(screen, bitmap, cliprect, 0, 0); |
| 162 | 162 | draw_sprites(bitmap, cliprect); |
| 163 | 163 | 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); |
| 166 | 166 | return 0; |
| 167 | 167 | } |