void offtwall_scanline_update(int scanline) { /* update the playfield */ if (scanline == 0) atarigen_video_control_update(&atarigen_playfieldram[0x1f00]); /* update the MOs from the SLIP table */ atarigen_mo_update_slip_512(atarigen_spriteram, atarigen_video_control_state.sprite_yscroll, scanline, &atarigen_playfieldram[0x1f80]); }
void relief_scanline_update(int scanline) { /* update the playfield */ if (scanline == 0) { atarigen_video_control_update(&atarigen_alpharam[0xf00]); /* copy in the scroll values */ pf_state.hscroll = atarigen_video_control_state.pf1_xscroll + (atarigen_video_control_state.pf2_xscroll & 7); pf_state.vscroll = atarigen_video_control_state.pf1_yscroll; pf2_state.hscroll = atarigen_video_control_state.pf2_xscroll + 4; pf2_state.vscroll = atarigen_video_control_state.pf2_yscroll; /* update the two playfields */ atarigen_pf_update(&pf_state, scanline); atarigen_pf2_update(&pf2_state, scanline); } /* update the MOs from the SLIP table */ atarigen_mo_update_slip_512(atarigen_spriteram, atarigen_video_control_state.sprite_yscroll, scanline, &atarigen_alpharam[0xf80]); }
void klax_scanline_update(int scanline) { /* update the MOs from the SLIP table */ atarigen_mo_update_slip_512(atarigen_spriteram, 0, scanline, &atarigen_playfieldram[0xf80]); }