Skip to content

Instantly share code, notes, and snippets.

@headStyleColorRed
Last active May 17, 2020 16:48
Show Gist options
  • Save headStyleColorRed/b0fd4e120e913d8dc366793e20bfbcb5 to your computer and use it in GitHub Desktop.
Save headStyleColorRed/b0fd4e120e913d8dc366793e20bfbcb5 to your computer and use it in GitHub Desktop.
Wolfentstein map struct
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