ascii.h

← Back to explorer
include/ascii.h
#ifndef ASCII_H
#define ASCII_H

typedef enum {
  ZW_UNKNOWN = 0,
  ZW_SUNNY,
  ZW_PARTLY_CLOUDY,
  ZW_CLOUDLY,
  ZW_DRIZZLE,
  ZW_RAIN,
  ZW_THUNDERSTORM,
  ZW_SNOW,
  ZW_HAZE
} WeatherCondition;

typedef struct {
  const char **ascii_lines;
  int width;
  int height;
  int pair;
} AsciiConditions;

const AsciiConditions* ascii_conditions(WeatherCondition condition);
const char* ascii_conditions_label(WeatherCondition condition);

#endif