<commit_before>#include <algorithm>
#include <cassert>
#include <iomanip>
#include <iostream>
#include <numeric>
#include <sstream>

#include "SDL.h"
#include "SDL_image.h"

#include "TextureManager.h"

#include "Color.h"
#include "PaletteName.h"
#include "TextureFile.h"
#include "../Interface/Surface.h"
#include "../Math/Int2.h"
#include "../Rendering/Renderer.h"
#include "../Utilities/Debug.h"
#include "../Utilities/String.h"

#include "components/vfs/manager.hpp"

namespace
{
	const std::map<PaletteName, std::string> PaletteFilenames =
	{
		{ PaletteName::Default, "PAL.COL" },
		{ PaletteName::CharSheet, "CHARSHT.COL" },
		{ PaletteName::Daytime, "DAYTIME.COL" },
		{ PaletteName::Dreary, "DREARY.COL" }
	};

	// These IMG files are actually headerless/raw files with hardcoded dimensions.
	const std::map<std::string, Int2> RawImgOverride =
	{
		{ "ARENARW.IMG", { 16, 16} },
		{ "CITY.IMG",    { 16, 11} },
		{ "DITHER.IMG",  { 16, 50} },
		{ "DITHER2.IMG", { 16, 50} },
		{ "DUNGEON.IMG", { 14,  8} },
		{ "DZTTAV.IMG",  { 32, 34} },
		{ "NOCAMP.IMG",  { 25, 19} },
		{ "NOSPELL.IMG", { 25, 19} },
		{ "P1.IMG",      {320, 53} },
		{ "POPTALK.IMG", {320, 77} },
		{ "S2.IMG",      {320, 36} },
		{ "SLIDER.IMG",  {289,  7} },
		{ "TOWN.IMG",    {  9, 10} },
		{ "UPDOWN.IMG",  {  8, 16} },
		{ "VILLAGE.IMG", {  8,  8} }
	};<commit_msg>Added headerless CIF file dimensions.<commit_after>#include <algorithm>
#include <cassert>
#include <iomanip>
#include <iostream>
#include <numeric>
#include <sstream>

#include "SDL.h"
#include "SDL_image.h"

#include "TextureManager.h"

#include "Color.h"
#include "PaletteName.h"
#include "TextureFile.h"
#include "../Interface/Surface.h"
#include "../Math/Int2.h"
#include "../Rendering/Renderer.h"
#include "../Utilities/Debug.h"
#include "../Utilities/String.h"

#include "components/vfs/manager.hpp"

namespace
{
	const std::map<PaletteName, std::string> PaletteFilenames =
	{
		{ PaletteName::Default, "PAL.COL" },
		{ PaletteName::CharSheet, "CHARSHT.COL" },
		{ PaletteName::Daytime, "DAYTIME.COL" },
		{ PaletteName::Dreary, "DREARY.COL" }
	};

	// These IMG files are actually headerless/raw files with hardcoded dimensions.
	const std::map<std::string, Int2> RawImgOverride =
	{
		{ "ARENARW.IMG", { 16, 16} },
		{ "CITY.IMG",    { 16, 11} },
		{ "DITHER.IMG",  { 16, 50} },
		{ "DITHER2.IMG", { 16, 50} },
		{ "DUNGEON.IMG", { 14,  8} },
		{ "DZTTAV.IMG",  { 32, 34} },
		{ "NOCAMP.IMG",  { 25, 19} },
		{ "NOSPELL.IMG", { 25, 19} },
		{ "P1.IMG",      {320, 53} },
		{ "POPTALK.IMG", {320, 77} },
		{ "S2.IMG",      {320, 36} },
		{ "SLIDER.IMG",  {289,  7} },
		{ "TOWN.IMG",    {  9, 10} },
		{ "UPDOWN.IMG",  {  8, 16} },
		{ "VILLAGE.IMG", {  8,  8} }
	};

	// These CIF files are headerless with hardcoded dimensions as well.
	const std::map<std::string, Int2> RawCifOverride =
	{
		{ "BRASS.CIF", { 8, 8 } },
		{ "BRASS2.CIF", { 8, 8 } },
		{ "MARBLE.CIF", { 3, 3 } },
		{ "MARBLE2.CIF", { 3, 3 } },
		{ "PARCH.CIF", { 20, 20 } },
		{ "SCROLL.CIF", { 20, 20 } }
	};
{'fraction_non_alphanumeric': 0.22332015810276679, 'fraction_numerical': 0.047760210803689064, 'mean_word_length': 3.4014492753623187, 'pattern_counts': {'":': 0, '<': 20, '<?xml version=': 0, '>': 20, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7137554', 'n_tokens_mistral': 1490, 'n_tokens_neox': 1323, 'n_words': 252}