182 lines
4.3 KiB
C
182 lines
4.3 KiB
C
/*
|
|
* Copyright (C) 2019 Max Regan
|
|
*
|
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
* of this software and associated documentation files (the "Software"), to deal
|
|
* in the Software without restriction, including without limitation the rights
|
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
* copies of the Software, and to permit persons to whom the Software is
|
|
* furnished to do so, subject to the following conditions:
|
|
* The above copyright notice and this permission notice shall be included in
|
|
* all copies or substantial portions of the Software.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
* THE SOFTWARE.
|
|
*/
|
|
|
|
#include "cloud.xbm"
|
|
#include "cloud_moon.xbm"
|
|
#include "clous.xbm"
|
|
#include "cloud_sun.xbm"
|
|
#include "cloud_wind.xbm"
|
|
#include "cloud_wind_moon.xbm"
|
|
#include "cloud_wind_sun.xbm"
|
|
#include "lightning.xbm"
|
|
#include "moon.xbm"
|
|
#include "rano0.xbm"
|
|
#include "rain0_sun.xbm"
|
|
#include "rain1.xbm"
|
|
#include "rain1_moon.xbm"
|
|
#include "rain1_sun.xbm"
|
|
#include "rain2.xbm"
|
|
#include "rain_lightning.xbm"
|
|
#include "rain_snow.xbm"
|
|
#include "snow.xbm"
|
|
#include "snow_moon.xbm"
|
|
#include "snow_sun.xbm"
|
|
#include "sun.xbm"
|
|
#include "wind.xbm"
|
|
|
|
struct image {
|
|
unsigned int width;
|
|
unsigned int height;
|
|
const char *data;
|
|
};
|
|
|
|
const struct cloud_image {
|
|
.width = cloud_width;
|
|
.height = cloud_height;
|
|
.data = cloud_bits;
|
|
};
|
|
|
|
const struct cloud_moon_image {
|
|
.width = cloud_moon_width;
|
|
.height = cloud_moon_height;
|
|
.data = cloud_moon_bits;
|
|
};
|
|
|
|
const struct clous_image {
|
|
.width = clous_width;
|
|
.height = clous_height;
|
|
.data = clous_bits;
|
|
};
|
|
|
|
const struct cloud_sun_image {
|
|
.width = cloud_sun_width;
|
|
.height = cloud_sun_height;
|
|
.data = cloud_sun_bits;
|
|
};
|
|
|
|
const struct cloud_wind_image {
|
|
.width = cloud_wind_width;
|
|
.height = cloud_wind_height;
|
|
.data = cloud_wind_bits;
|
|
};
|
|
|
|
const struct cloud_wind_moon_image {
|
|
.width = cloud_wind_moon_width;
|
|
.height = cloud_wind_moon_height;
|
|
.data = cloud_wind_moon_bits;
|
|
};
|
|
|
|
const struct cloud_wind_sun_image {
|
|
.width = cloud_wind_sun_width;
|
|
.height = cloud_wind_sun_height;
|
|
.data = cloud_wind_sun_bits;
|
|
};
|
|
|
|
const struct lightning_image {
|
|
.width = lightning_width;
|
|
.height = lightning_height;
|
|
.data = lightning_bits;
|
|
};
|
|
|
|
const struct moon_image {
|
|
.width = moon_width;
|
|
.height = moon_height;
|
|
.data = moon_bits;
|
|
};
|
|
|
|
const struct rano0_image {
|
|
.width = rano0_width;
|
|
.height = rano0_height;
|
|
.data = rano0_bits;
|
|
};
|
|
|
|
const struct rain0_sun_image {
|
|
.width = rain0_sun_width;
|
|
.height = rain0_sun_height;
|
|
.data = rain0_sun_bits;
|
|
};
|
|
|
|
const struct rain1_image {
|
|
.width = rain1_width;
|
|
.height = rain1_height;
|
|
.data = rain1_bits;
|
|
};
|
|
|
|
const struct rain1_moon_image {
|
|
.width = rain1_moon_width;
|
|
.height = rain1_moon_height;
|
|
.data = rain1_moon_bits;
|
|
};
|
|
|
|
const struct rain1_sun_image {
|
|
.width = rain1_sun_width;
|
|
.height = rain1_sun_height;
|
|
.data = rain1_sun_bits;
|
|
};
|
|
|
|
const struct rain2_image {
|
|
.width = rain2_width;
|
|
.height = rain2_height;
|
|
.data = rain2_bits;
|
|
};
|
|
|
|
const struct rain_lightning_image {
|
|
.width = rain_lightning_width;
|
|
.height = rain_lightning_height;
|
|
.data = rain_lightning_bits;
|
|
};
|
|
|
|
const struct rain_snow_image {
|
|
.width = rain_snow_width;
|
|
.height = rain_snow_height;
|
|
.data = rain_snow_bits;
|
|
};
|
|
|
|
const struct snow_image {
|
|
.width = snow_width;
|
|
.height = snow_height;
|
|
.data = snow_bits;
|
|
};
|
|
|
|
const struct snow_moon_image {
|
|
.width = snow_moon_width;
|
|
.height = snow_moon_height;
|
|
.data = snow_moon_bits;
|
|
};
|
|
|
|
const struct snow_sun_image {
|
|
.width = snow_sun_width;
|
|
.height = snow_sun_height;
|
|
.data = snow_sun_bits;
|
|
};
|
|
|
|
const struct sun_image {
|
|
.width = sun_width;
|
|
.height = sun_height;
|
|
.data = sun_bits;
|
|
};
|
|
|
|
const struct wind_image {
|
|
.width = wind_width;
|
|
.height = wind_height;
|
|
.data = wind_bits;
|
|
};
|