comparison render.h @ 803:236a184bf6f0

Merge
author Michael Pavone <pavone@retrodev.com>
date Sun, 26 Jul 2015 16:51:03 -0700
parents 724bbec47f86
children b6842dfb8edf
comparison
equal deleted inserted replaced
802:6811f601008f 803:236a184bf6f0
32 int stride; 32 int stride;
33 } surface_info; 33 } surface_info;
34 34
35 uint32_t render_map_color(uint8_t r, uint8_t g, uint8_t b); 35 uint32_t render_map_color(uint8_t r, uint8_t g, uint8_t b);
36 void render_alloc_surfaces(vdp_context * context); 36 void render_alloc_surfaces(vdp_context * context);
37 uint8_t render_depth(); 37 void render_init(int width, int height, char * title, uint32_t fps, uint8_t fullscreen);
38 void render_init(int width, int height, char * title, uint32_t fps, uint8_t fullscreen, uint8_t use_gl);
39 void render_context(vdp_context * context); 38 void render_context(vdp_context * context);
40 void render_wait_quit(vdp_context * context); 39 void render_wait_quit(vdp_context * context);
41 void render_wait_psg(psg_context * context); 40 void render_wait_psg(psg_context * context);
42 void render_wait_ym(ym2612_context * context); 41 void render_wait_ym(ym2612_context * context);
43 int wait_render_frame(vdp_context * context, int frame_limit); 42 int wait_render_frame(vdp_context * context, int frame_limit);
48 void render_debug_pal(uint8_t pal); 47 void render_debug_pal(uint8_t pal);
49 void process_events(); 48 void process_events();
50 int render_joystick_num_buttons(int joystick); 49 int render_joystick_num_buttons(int joystick);
51 int render_joystick_num_hats(int joystick); 50 int render_joystick_num_hats(int joystick);
52 int render_num_joysticks(); 51 int render_num_joysticks();
53 52 void process_events();
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