Previous 199869 Revisions Next

r17990 Tuesday 18th September, 2012 at 08:56:11 UTC by Miodrag Milanović
clean some newly introduce macros since, calls already have full names (no whatsnew)
[src/emu]screen.h
[src/mame/drivers]jollyjgr.c
[src/mame/machine]slikshot.c
[src/mame/video]cinemat.c dynax.c kaneko16.c m62.c playch10.c seta.c ssv.c taitojc.c tceptor.c tmnt.c toaplan2.c vicdual.c
[src/mess/video]mz700.c

trunk/src/mame/machine/slikshot.c
r17989r17990
554554   int temp, i;
555555
556556   /* draw the normal video first */
557   SCREEN_UPDATE32_CALL_MEMBER(itech8_2page);
557   screen_update_itech8_2page(screen, bitmap, cliprect);
558558
559559   /* add the current X,Y positions to the list */
560560   m_xbuffer[m_ybuffer_next % YBUFFER_COUNT] = ioport("FAKEX")->read_safe(0);
trunk/src/mame/video/dynax.c
r17989r17990
14041404            m_ddenlovr_pixmap[3 - layer][y * 512 + x] = (UINT8)(bitmap.pix16(y, x));
14051405   }
14061406
1407   return SCREEN_UPDATE16_CALL_MEMBER(ddenlovr);
1407   return screen_update_ddenlovr(screen, bitmap, cliprect);
14081408}
trunk/src/mame/video/kaneko16.c
r17989r17990
7373   // if the display is disabled, do nothing?
7474   if (!m_disp_enable) return 0;
7575
76   SCREEN_UPDATE16_CALL_MEMBER(common);
76   screen_update_common(screen, bitmap, cliprect);
7777   m_kaneko_spr->kaneko16_render_sprites(machine(),bitmap,cliprect, m_spriteram, m_spriteram.bytes());
7878   return 0;
7979}
r17989r17990
197197   // if the display is disabled, do nothing?
198198   if (!m_disp_enable) return 0;
199199
200   SCREEN_UPDATE16_CALL_MEMBER(common);
200   screen_update_common(screen, bitmap, cliprect);
201201   m_kaneko_spr->kaneko16_render_sprites(machine(),bitmap,cliprect, m_spriteram, m_spriteram.bytes());
202202   return 0;
203203}
trunk/src/mame/video/tmnt.c
r17989r17990
760760         palette_set_shadow_mode(machine(), 0);
761761   }
762762
763   SCREEN_UPDATE16_CALL_MEMBER(lgtnfght);
763   screen_update_lgtnfght(screen, bitmap, cliprect);
764764   return 0;
765765}
766766
trunk/src/mame/video/taitojc.c
r17989r17990
373373   if (level != output_get_value("counter1"))
374374      output_set_value("counter1", level);
375375
376   return SCREEN_UPDATE16_CALL_MEMBER(taitojc);
376   return screen_update_taitojc(screen, bitmap, cliprect);
377377}
378378
379379
trunk/src/mame/video/toaplan2.c
r17989r17990
422422
423423UINT32 toaplan2_state::screen_update_truxton2(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
424424{
425
426   SCREEN_UPDATE16_CALL_MEMBER(toaplan2);
425   screen_update_toaplan2(screen, bitmap, cliprect);
427426   m_tx_tilemap->draw(bitmap, cliprect, 0, 0);
428427   return 0;
429428}
r17989r17990
431430
432431UINT32 toaplan2_state::screen_update_batrider(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
433432{
433   screen_update_toaplan2(screen, bitmap, cliprect);
434434
435   SCREEN_UPDATE16_CALL_MEMBER( toaplan2 );
436
437435   int line;
438436   rectangle clip;
439437   const rectangle &visarea = screen.visible_area();
r17989r17990
462460
463461UINT32 toaplan2_state::screen_update_dogyuun(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
464462{
465   SCREEN_UPDATE16_CALL_MEMBER( toaplan2_dual );
463   screen_update_toaplan2_dual(screen, bitmap, cliprect);
466464   return 0;
467465}
468466
469467UINT32 toaplan2_state::screen_update_batsugun(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
470468{
471   SCREEN_UPDATE16_CALL_MEMBER( toaplan2_mixed );
469   screen_update_toaplan2_mixed(screen, bitmap, cliprect);
472470   return 0;
473471}
474472
trunk/src/mame/video/cinemat.c
r17989r17990
229229{
230230   int sw_option = machine().root_device().ioport("INPUTS")->read();
231231
232   SCREEN_UPDATE32_CALL_MEMBER(cinemat);
232   screen_update_cinemat(screen, bitmap, cliprect);
233233
234234   /* set the state of the artwork */
235235   output_set_value("pressed3", (~sw_option >> 0) & 1);
trunk/src/mame/video/vicdual.c
r17989r17990
139139UINT32 vicdual_state::screen_update_vicdual_bw_or_color(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
140140{
141141   if (vicdual_is_cabinet_color(machine()))
142      SCREEN_UPDATE32_CALL_MEMBER(vicdual_color);
142      screen_update_vicdual_color(screen, bitmap, cliprect);
143143   else
144      SCREEN_UPDATE32_CALL_MEMBER(vicdual_bw);
144      screen_update_vicdual_bw(screen, bitmap, cliprect);
145145
146146   return 0;
147147}
trunk/src/mame/video/ssv.c
r17989r17990
972972
973973UINT32 ssv_state::screen_update_eaglshot(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
974974{
975   return SCREEN_UPDATE16_CALL_MEMBER(ssv);
975   return screen_update_ssv(screen, bitmap, cliprect);
976976}
977977
978978UINT32 ssv_state::screen_update_gdfs(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
979979{
980980
981   SCREEN_UPDATE16_CALL_MEMBER(ssv);
981   screen_update_ssv(screen, bitmap, cliprect);
982982
983983   // draw zooming sprites
984984   m_gdfs_st0020->st0020_draw_all(machine(), bitmap, cliprect);
trunk/src/mame/video/tceptor.c
r17989r17990
545545{
546546   if ((screen.frame_number() & 1) == 1)
547547      return UPDATE_HAS_NOT_CHANGED;
548   return SCREEN_UPDATE16_CALL_MEMBER( tceptor_2d );
548   return screen_update_tceptor_2d(screen, bitmap, cliprect);
549549}
550550
551551UINT32 tceptor_state::screen_update_tceptor_3d_right(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
552552{
553553   if ((screen.frame_number() & 1) == 0)
554554      return UPDATE_HAS_NOT_CHANGED;
555   return SCREEN_UPDATE16_CALL_MEMBER( tceptor_2d );
555   return screen_update_tceptor_2d(screen, bitmap, cliprect);
556556}
557557
558558
trunk/src/mame/video/seta.c
r17989r17990
10731073UINT32 seta_state::screen_update_seta(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
10741074{
10751075   set_pens(machine());
1076   return SCREEN_UPDATE16_CALL_MEMBER(seta_layers);
1076   return screen_update_seta_layers(screen, bitmap, cliprect);
10771077}
10781078
10791079
10801080UINT32 seta_state::screen_update_usclssic(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
10811081{
10821082   usclssic_set_pens(machine());
1083   return SCREEN_UPDATE16_CALL_MEMBER(seta_layers);
1083   return screen_update_seta_layers(screen, bitmap, cliprect);
10841084}
10851085
10861086
10871087UINT32 seta_state::screen_update_inttoote(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
10881088{
10891089   /* no palette to set */
1090   return SCREEN_UPDATE16_CALL_MEMBER(seta_layers);
1090   return screen_update_seta_layers(screen, bitmap, cliprect);
10911091}
trunk/src/mame/video/m62.c
r17989r17990
555555
556556UINT32 m62_state::screen_update_ldrun3(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
557557{
558   SCREEN_UPDATE16_CALL_MEMBER(ldrun);
558   screen_update_ldrun(screen, bitmap, cliprect);
559559
560560   if (m_ldrun3_topbottom_mask)
561561   {
trunk/src/mame/video/playch10.c
r17989r17990
147147
148148   /* Single Monitor version */
149149   if (m_pc10_bios != 1)
150      return SCREEN_UPDATE16_CALL_MEMBER(playch10_single);
150      return screen_update_playch10_single(screen, bitmap, cliprect);
151151
152152   if (!m_pc10_dispmask)
153153      /* render the ppu */
r17989r17990
163163
164164   /* Single Monitor version */
165165   if (m_pc10_bios != 1)
166      return SCREEN_UPDATE16_CALL_MEMBER(playch10_single);
166      return screen_update_playch10_single(screen, bitmap, cliprect);
167167
168168   /* When the bios is accessing vram, the video circuitry can't access it */
169169
trunk/src/mame/drivers/jollyjgr.c
r17989r17990
553553{
554554
555555   // Draw bg and sprites
556   SCREEN_UPDATE16_CALL_MEMBER(jollyjgr);
556   screen_update_jollyjgr(screen, bitmap, cliprect);
557557
558558   /* Draw bullets
559559    16 bytes, 2 bytes per bullet (y,x). 2 player bullets, 6 enemy bullets.
trunk/src/emu/screen.h
r17989r17990
352352#define SCREEN_UPDATE_RGB32(name)      UINT32 SCREEN_UPDATE_NAME(name)(device_t *, screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
353353#define SCREEN_UPDATE16_CALL(name)      SCREEN_UPDATE_NAME(name)(NULL, screen, bitmap, cliprect)
354354#define SCREEN_UPDATE32_CALL(name)      SCREEN_UPDATE_NAME(name)(NULL, screen, bitmap, cliprect)
355#define SCREEN_UPDATE16_CALL_MEMBER(name)      SCREEN_UPDATE_NAME(name)(screen, bitmap, cliprect)
356#define SCREEN_UPDATE32_CALL_MEMBER(name)      SCREEN_UPDATE_NAME(name)(screen, bitmap, cliprect)
357355
358356#define SCREEN_VBLANK_NAME(name)      screen_vblank_##name
359357#define SCREEN_VBLANK(name)            void SCREEN_VBLANK_NAME(name)(device_t *, screen_device &screen, bool vblank_on)
trunk/src/mess/video/mz700.c
r17989r17990
8686   bitmap.fill(get_black_pen(machine()), cliprect);
8787
8888   if (m_mz700_mode)
89      return SCREEN_UPDATE16_CALL_MEMBER(mz700);
89      return screen_update_mz700(screen, bitmap, cliprect);
9090   else
9191   {
9292      if (m_hires_mode)

Previous 199869 Revisions Next


© 1997-2024 The MAME Team