Mercurial > repos > blastem
comparison render.h @ 792:724bbec47f86
Use a new fatal_error function instead of calling fprintf and exit for fatal errors. This new function more gracefully handles the case in which BlastEm was not started from a terminal or disconnected from ther terminal (Windows).
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 25 Jul 2015 18:22:07 -0700 |
parents | fc68992cf18d |
children | b6842dfb8edf |
comparison
equal
deleted
inserted
replaced
791:60686f8d5e48 | 792:724bbec47f86 |
---|---|
48 void process_events(); | 48 void process_events(); |
49 int render_joystick_num_buttons(int joystick); | 49 int render_joystick_num_buttons(int joystick); |
50 int render_joystick_num_hats(int joystick); | 50 int render_joystick_num_hats(int joystick); |
51 int render_num_joysticks(); | 51 int render_num_joysticks(); |
52 void process_events(); | 52 void process_events(); |
53 | 53 void render_errorbox(char *title, char *message); |
54 void render_warnbox(char *title, char *message); | |
55 void render_infobox(char *title, char *message); | |
54 | 56 |
55 | 57 |
56 #endif //RENDER_H_ | 58 #endif //RENDER_H_ |
57 | 59 |