map fits window
This commit is contained in:
@@ -16,7 +16,6 @@ typedef struct s_fdf
|
||||
char *img_addr;
|
||||
int **map;
|
||||
int offset;
|
||||
int margin;
|
||||
int min_z;
|
||||
int max_z;
|
||||
int z_amplitude;
|
||||
@@ -41,13 +40,16 @@ typedef struct s_fdf
|
||||
int img_endian;
|
||||
} t_fdf;
|
||||
|
||||
t_fdf *init_fdf(t_fdf *fdf);
|
||||
void init_fdf(t_fdf *fdf);
|
||||
void init_offset(t_fdf *fdf);
|
||||
void init_server(t_fdf *fdf);
|
||||
int print_keycode(int keycode);
|
||||
int shut_down(t_fdf *fdf);
|
||||
void draw_image(t_fdf *fdf);
|
||||
void draw_pixel(t_fdf *fdf, int x, int y, int color);
|
||||
void draw_color_pixel(t_fdf *fdf, int new_x, int new_y, int z);
|
||||
int keypress(int keycode, t_fdf *fdf);
|
||||
void keypress_more(int keycode, t_fdf *fdf);
|
||||
void position_state(t_fdf *fdf);
|
||||
int **parse_map(t_fdf *fdf, int fd);
|
||||
int *new_coordinates(t_fdf *fdf, int i, int j);
|
||||
|
||||
Reference in New Issue
Block a user