<commit_before>// Copyright (c) 2014 <NAME>
// Licensed under the MIT license. See LICENSE.txt

#include "config.h"

#include <string>
#include <fstream>
#include <algorithm>
#include <cctype>

using namespace std;

Config g_config;

Config::Config()
{
	this->AspectRatioPreserved = true;
	this->MultisamplingAntialiasingEnabled = true;
	this->AnisotropicFilteringEnabled = true;
	this->WireframeFillMode = false;

	this->Concourse3DScale = 0.6f;

	ifstream file("ddraw.cfg");

	if (file.is_open())
	{
		string line;

		while (std::getline(file, line))
		{
			if (!line.length())
			{
				continue;
			}

			if (line[0] == '#' || line[0] == ';' || (line[0] == '/' && line[1] == '/'))
			{
				continue;<commit_msg>Set MSAA off by default<commit_after>// Copyright (c) 2014 <NAME>
// Licensed under the MIT license. See LICENSE.txt

#include "config.h"

#include <string>
#include <fstream>
#include <algorithm>
#include <cctype>

using namespace std;

Config g_config;

Config::Config()
{
	this->AspectRatioPreserved = true;
	this->MultisamplingAntialiasingEnabled = false;
	this->AnisotropicFilteringEnabled = true;
	this->WireframeFillMode = false;

	this->Concourse3DScale = 0.6f;

	ifstream file("ddraw.cfg");

	if (file.is_open())
	{
		string line;

		while (std::getline(file, line))
		{
			if (!line.length())
			{
				continue;
			}

			if (line[0] == '#' || line[0] == ';' || (line[0] == '/' && line[1] == '/'))
			{
				continue;
{'fraction_non_alphanumeric': 0.17651146629603892, 'fraction_numerical': 0.015288394718554551, 'mean_word_length': 3.948453608247423, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 23, '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': '4975521', 'n_tokens_mistral': 590, 'n_tokens_neox': 524, 'n_words': 115}