summaryrefslogtreecommitdiffstats
path: root/screen.h
blob: 421d3b35c70bf9e532277eb7978bd5a61eebc4a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef _SCREEN_H
#define _SCREEN_H

#include "config.h"

#ifdef HAVE_SDL_H
# include <SDL.h>
#elif defined(HAVE_SDL_SDL_H)
# include <SDL/SDL.h>
#endif

#ifndef MAIN
#define EXTERN extern
#else
#define EXTERN
#endif 

extern void  screen_init(void);
extern void  screen_reset(void);
extern void  screen_write(int, int);
extern void  screen_flush(void);
extern void  setmode40(int);

extern void  get_event(void);
extern void  key_check(void);

extern volatile int event_pending;
Uint32 post_periodic(Uint32 interval, void *param);

#endif /* _SCREEN_H */