Last active
May 17, 2020 16:48
-
-
Save headStyleColorRed/b0fd4e120e913d8dc366793e20bfbcb5 to your computer and use it in GitHub Desktop.
Wolfentstein map struct
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typedef struct s_color | |
{ | |
int r_color; | |
int g_color; | |
int b_color; | |
} t_color; | |
typedef struct s_resolution | |
{ | |
int width; | |
int length; | |
} t_resolution; | |
typedef struct s_map | |
{ | |
char *NO_texture; | |
char *SO_texture; | |
char *WE_texture; | |
char *EA_texture; | |
char *SP_texture; | |
char *map; | |
char *map_file; | |
int map_height; | |
int map_width; | |
t_resolution resolution; | |
t_color floor_color; | |
t_color ceiling_color; | |
} t_map; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment