Replace cmode with more flexible render options, TODO: Saving and render options UI

This commit is contained in:
Simon Robertshaw
2011-11-12 20:44:15 +00:00
parent 1b984200f3
commit 0f4c0915d9
9 changed files with 228 additions and 289 deletions

View File

@@ -45,7 +45,12 @@
extern int emp_decor;
extern unsigned cmode;
extern unsigned int *render_modes;
extern unsigned int render_mode;
extern unsigned int colour_mode;
extern unsigned int *display_modes;
extern unsigned int display_mode;
extern SDL_Surface *sdl_scrn;
extern int sdl_scale;
@@ -120,6 +125,8 @@ void draw_menu(pixel *vid_buf, int i, int hover);
void drawpixel(pixel *vid, int x, int y, int r, int g, int b, int a);
int addchar(pixel *vid, int x, int y, int c, int r, int g, int b, int a);
int drawchar(pixel *vid, int x, int y, int c, int r, int g, int b, int a);
int drawtext(pixel *vid, int x, int y, const char *s, int r, int g, int b, int a);