mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-31 03:39:57 +02:00
Replace cmode with more flexible render options, TODO: Saving and render options UI
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user