|
Jo Engine
2024.04.28
Jo Sega Saturn Engine
|
Go to the documentation of this file.
35 #ifndef __JO_MODE7_H__
36 # define __JO_MODE7_H__
38 #ifdef JO_COMPILE_WITH_PSEUDO_MODE7_SUPPORT
int scale_x
Definition: mode7.h:63
unsigned short output_width
Definition: mode7.h:44
int scale_y
Definition: mode7.h:64
bool jo_init_mode7_for_screen_output(jo_mode7 *const params, const unsigned short tile_width, const unsigned short tile_height)
Initialize mode 7 effect for direct screen output and pre compute projection.
int * distance
Definition: mode7.h:51
unsigned short output_width_sizeof
Definition: mode7.h:45
int tile_mask_x
Definition: mode7.h:49
jo_mode7_computation_cache __cache
Definition: mode7.h:65
unsigned short jo_color
15 bits color type
Definition: types.h:42
mode7 internal computation cache struct
Definition: mode7.h:42
int output_y_start
Definition: mode7.h:53
int space_z
Definition: mode7.h:61
void jo_free_mode7(jo_mode7 *const params)
Free mode 7 computation.
unsigned short output_width_div2
Definition: mode7.h:48
bool jo_init_mode7_for_image_output(jo_mode7 *params, const unsigned short tile_width, const unsigned short tile_height, jo_img *const output_image)
Initialize mode 7 effect for image output and pre compute projection.
unsigned short output_left
Definition: mode7.h:60
int * line_dy
Definition: mode7.h:52
void jo_do_mode7_floor(const jo_img *const tile, const int cam_x, const int cam_y, const jo_mode7 *const params)
Draw projection according to the initialized output.
int horizon
Definition: mode7.h:62
unsigned short output_height
Definition: mode7.h:47
int tile_mask_y
Definition: mode7.h:50
mode7 struct
Definition: mode7.h:58
void jo_update_screen_output_coord_for_mode7(jo_mode7 *const params)
Update mode 7 computation if output_left or output_right params changed.
unsigned short output_line_width
Definition: mode7.h:46
jo_color * output
Definition: mode7.h:43
unsigned short output_top
Definition: mode7.h:59
15 bits image struct
Definition: types.h:226