File:  [Generator SEGA Genesis emulator] / generator / hdr / ui-console.h
Revision 1.1.1.3 (vendor branch): download - view: text, annotated - select for diffs
Wed Mar 4 04:46:47 2020 UTC (6 years, 4 months ago) by root
Branches: MAIN, JamesPonder
CVS tags: v0_35, v0_34, v0_33, HEAD
0.33

typedef enum {
  DEINTERLACE_BOB, DEINTERLACE_WEAVE, DEINTERLACE_WEAVEFILTER
} t_interlace;

typedef struct {
  int joystick;                   /* -1 for keyboard, joystick no otherwise */
  int keyboard;                   /* 0 for whole keyboard, 1/2 for left/right */
} t_binding;

extern uint32 ui_fkeys;           /* bitmap representing function keys */

extern uint8 ui_vdpsimple;        /* 0=raster, 1=cell based plotter */
extern uint8 ui_clearnext;        /* flag indicating redraw required */
extern uint8 ui_fullscreen;       /* does the user want full screen or not */
extern uint8 ui_info;             /* does the user want info onscreen or not */
extern uint8 ui_vsync;            /* does the user want us to wait for vsync */
extern t_interlace ui_interlace;  /* user de-interlace preference */
extern t_binding ui_bindings[2];  /* keyboard/joystick bindings for players */

int ui_topbit(unsigned long int bits);
void ui_setupscreen(void);


unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.