ReC98/th01/hardware/ptrans.hpp

13 lines
574 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// Animated transitions between VRAM pages 0 and 1
// -----------------------------------------------
// Transitions VRAM page 0 to the contents of VRAM page 1, using 8×8 squares
// that diagonally move from the top-left and bottom-right corners of VRAM,
// which combine the pixels of both pages. Spends [step_ms] milliseconds on
// each animation frame.
void pagetrans_diagonal_8x8(unsigned int step_ms);
void pagetrans_diagonal_8x8_with_palette(
unsigned int step_ms, Palette4 &pal_cur, const Palette4 &pal_target
);
// -----------------------------------------------