|
static __jo_force_inline void | jo_set_background_8bits_sprite (jo_img_8bits *img, int palette_id, bool vertical_flip) |
| Add 8 bits background sprite. More...
|
|
static __jo_force_inline void | jo_set_background_sprite (const jo_img *const img, const unsigned short left, const unsigned short top) |
| Add background sprite. More...
|
|
static __jo_force_inline void | jo_clear_background (const jo_color color) |
| Clear the background. More...
|
|
static __jo_force_inline void | jo_move_background (const int x, const int y) |
| Move background (scrolling) More...
|
|
static __jo_force_inline void | jo_zoom_background2 (const float width_factor, const float height_factor) |
| Zoom background width and height independently. More...
|
|
static __jo_force_inline void | jo_zoom_background (const float factor) |
| Zoom background. More...
|
|
static __jo_force_inline void | jo_draw_background_line (int x0, int y0, int x1, int y1, const jo_color color) |
| Draw a line using Bresenham's line algorithm. More...
|
|
static __jo_force_inline void | jo_draw_background_square (const int x, const int y, const short width, const short height, const jo_color color) |
| Draw a square on the background. More...
|
|
static __jo_force_inline void | jo_put_pixel_in_background (const int x, const int y, const jo_color color) |
| Put pixel in background using color. More...
|
|
static __jo_force_inline void | jo_put_pixel_in_background_rgb (const int x, const int y, unsigned char r, unsigned char g, unsigned char b) |
| Put pixel in background using composite color. More...
|
|
static __jo_force_inline void | jo_enable_background_3d_plane (jo_color background_color) |
| Enable 3D planes. More...
|
|
static __jo_force_inline void | jo_disable_background_3d_plane (jo_color background_color) |
| Disable 3D planes. More...
|
|
static __jo_force_inline void | jo_background_3d_plane_a_img (jo_img_8bits *img, int palette_id, bool repeat, bool vertical_flip) |
| Setup plane A. More...
|
|
static __jo_force_inline void | jo_background_3d_plane_b_img (jo_img_8bits *img, int palette_id, bool repeat, bool vertical_flip) |
| Setup plane B. More...
|
|
static __jo_force_inline void | jo_background_3d_plane_a_draw (const bool use_scroll_format_matrix) |
| Draw plane A. More...
|
|
static __jo_force_inline void | jo_background_3d_plane_b_draw (const bool use_scroll_format_matrix) |
| Draw plane A. More...
|
|
static __jo_force_inline int * | jo_enable_background_horizontal_line_scroll (void) |
| Enable horizontal line scroll effect. More...
|
|
static __jo_force_inline void | jo_disable_background_horizontal_line_scroll (void) |
| Disable horizontal line scroll effect. More...
|
|
static __jo_force_inline void | jo_compute_background_horizontal_line_scroll (unsigned short offset) |
| Compute horizontal line scroll effect using specific offset. More...
|
|
Jo Engine Background definition and tools.
- Author
- Johannes Fetz
- Warning
- ▲ IF YOUR ARE FAMILIAR WITH SEGA SATURN HARDWARE, USE vdp2.h FUNCTIONS INSTEAD ▲
-
IT'S JUST A WRAPPER FOR THOSE WHO DON'T CARE ABOUT SCREEN SCROLL AND VDP2 USAGE
- Bug:
- No known bugs.