X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=video.h;h=40c24c22053c8c4e6706ac8eb3272f2378c6144f;hb=e8f5db5d5a80a62069354466c64a9b90a2ced47c;hp=6be6b9c18a3ac7ede0fe1ecc0901a53ad8866681;hpb=2823a4c8196a02da86ee180cf55586d4e8c91a2f;p=gpsp.git diff --git a/video.h b/video.h index 6be6b9c..40c24c2 100644 --- a/video.h +++ b/video.h @@ -30,7 +30,8 @@ void print_string(const char *str, u16 fg_color, u16 bg_color, void print_string_pad(const char *str, u16 fg_color, u16 bg_color, u32 x, u32 y, u32 pad); void print_string_ext(const char *str, u16 fg_color, u16 bg_color, - u32 x, u32 y, void *_dest_ptr, u32 pitch, u32 pad); + u32 x, u32 y, void *_dest_ptr, u32 pitch, u32 pad, + u32 h_offset, u32 height); void clear_screen(u16 color); void blit_to_screen(u16 *src, u32 w, u32 h, u32 x, u32 y); u16 *copy_screen(); @@ -76,7 +77,15 @@ typedef enum { unscaled, scaled_aspect, +#ifdef WIZ_BUILD + unscaled_rot, + scaled_aspect_rot, +#elif defined(GP2X_BUILD) fullscreen, + scaled_aspect_sw, +#else + fullscreen, +#endif } video_scale_type; typedef enum