/*
 * Kangaroo Punch MultiPlayer Game Server Mark II
 * Copyright (C) 2020-2021  Scott Duensing
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 *
 */


#include <stdio.h>

#define MEMWATCH
#include "memwatch/memwatch.h"

#include "cache.h"

#include "stddclmr.h"


int main(int argc, char *argv[]) {

	CachePreMakeListT list[] = {
		{ "dconnect.png", "system:connect"     },
		{ "ddialing.png", "system:dialing"     },
		{ "dinit.png",    "system:init"        },
		{ "logo.png",     "system:logo"        },
		{ "mbie32.png",   "system:exclamation" },
		{ "mbii32.png",   "system:information" },
		{ "mbim32.png",   "system:message"     },
		{ "mbiq32.png",   "system:question"    },
		{ "mbiw32.png",   "system:warning"     },
		{ "mouse.png",    "system:mouse"       },
		{ "vga8x14.dat",  "system:vga8x14"     },
		{ NULL,           NULL                 }
	 };

	(void)argc;
	(void)argv;

	// Also run optipng -o7 on images.

	cachePrePack("client.pre", list);
	cachePreUnpack("client.pre");

	return 0;
}
