gnuboy-for-dfi/sys.h

39 lines
685 B
C
Raw Normal View History

2012-06-23 14:38:19 +00:00
#ifndef VID_H
#define VID_H
/* stuff implemented by the different sys/ backends */
void vid_begin();
void vid_end();
void vid_init();
void vid_preinit();
void vid_close();
void vid_setpal(int i, int r, int g, int b);
void vid_settitle(char *title);
void pcm_init();
int pcm_submit();
void pcm_close();
void ev_poll();
void sys_checkdir(char *path, int wr);
void sys_sleep(int us);
void sys_sanitize(char *s);
void joy_init();
void joy_poll();
void joy_close();
void kb_init();
void kb_poll();
void kb_close();
/* FIXME these have different prototype for obsolete ( == M$ ) platforms */
#include <sys/time.h>
int sys_elapsed(struct timeval *prev);
void sys_initpath();
#endif