# ifndef CUB3D_DEFINES_H # define CUB3D_DEFINES_H /* ** ====== KEYS ====== */ # ifndef FT_W_KEY # define FT_W_KEY 13 # endif # ifndef FT_A_KEY # define FT_A_KEY 0 # endif # ifndef FT_S_KEY # define FT_S_KEY 1 # endif # ifndef FT_D_KEY # define FT_D_KEY 2 # endif # ifndef FT_L_ARR_KEY # define FT_L_ARR_KEY 123 # endif # ifndef FT_R_ARR_KEY # define FT_R_ARR_KEY 124 # endif # ifndef FT_ESC_KEY # define FT_ESC_KEY 53 # endif # ifndef FT_F1_KEY # define FT_F1_KEY 122 # endif # ifndef FT_TAB_KEY # define FT_TAB_KEY 48 # endif /* ** ====== SCREEN ====== */ # ifndef FT_SCR_SIZE # define FT_SCR_SIZE "1920x1080" # endif /* ** ====== ERROR MSG ====== */ # define FT_ERR_MISS_ELEMENT "Missing element:" # define FT_ERR_MISS_NORTH "north side texture" # define FT_ERR_MISS_SOUTH "south side texture" # define FT_ERR_MISS_EAST "east side texture" # define FT_ERR_MISS_WEST "west side texture" # define FT_ERR_MISS_SPRITE "sprite texture" # define FT_ERR_MISS_RESOLUTION "resolution" # define FT_ERR_MISS_FLOOR_C "floor color" # define FT_ERR_MISS_CEIL_C "floor color" # define FT_ERR_MISS_PLAYER_SPAWN "player spawn" # endif