// -----------------------------------------------------------
// transitions.h - slide transitions
// -----------------------------------------------------------
#ifndef TRANSITIONS_H
#define TRANSITIONS_H

#include "defs.h"

// draw the current slide hidden, then run its in-transition
void show_slide(void);

// run the current slide's out-transition
void trans_out(void);

// wait for the next bottom-border arrival of the beam
// (also advances the music once per frame)
void wait_frame(void);

// defined in main.c
void slide_setup(void);
extern char slide;
extern const char tin_tbl[NUM_SLIDES];
extern const char tout_tbl[NUM_SLIDES];

#pragma compile("transitions.c")

#endif
