/*
 * xrick/include/screens.h
 *
 * This source code file is part of the xrick distribution, and as such is
 * copyrighted. Please read the README file in the root directory of the
 * distribution for information about copyrights, trademarks, license,
 * disclaimers, etc.
 */

#ifndef _SCREENS_H
#define _SCREENS_H

#include "system.h"

#define SCREEN_TIMEOUT 4000
#define SCREEN_RUNNING 0
#define SCREEN_DONE 1
#define SCREEN_EXIT 2

typedef struct {
  U16 count;  /* number of loops */
  U16 dx, dy;  /* sprite x and y deltas */
  U16 base;  /* base for sprite numbers table */
} screen_imapsteps_t;  /* description of one step */

extern U8 screen_imapsl[];  /* sprite lists */
extern screen_imapsteps_t screen_imapsteps[];  /* map intro steps */
extern U8 screen_imapsofs[];  /* first step for each map */
extern U8 *screen_imaptext[];  /* map intro texts */
extern U8 screen_imainhoft[];  /* hall of fame title */
extern U8 screen_imainrdt[];  /*rick dangerous title */
extern U8 screen_imaincdc[];  /* core design copyright text */
extern U8 screen_gameovertxt[];  /* game over */
extern U8 screen_pausedtxt[];  /* paused */
extern U8 screen_congrats[];  /* congratulations */

extern U8 screen_xrick(void);  /* splash */
extern U8 screen_introMain(void);  /* main intro */
extern U8 screen_introMap(void);  /* map intro */
extern U8 screen_gameover(void);  /* gameover */
extern U8 screen_getname(void);  /* enter you name */
extern void screen_pause(U8);  /* pause indicator */

#endif

/* eof */
