<commit_before>//
// world.c
//

#include <ctype.h>
#include <stdio.h>
#include <assert.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <ncurses.h>
#include "log.h"
#include "util.h"
#include "world.h"
#include "config.h"
#include "player.h"
#include "tileset.h"
#include "inventory.h"
#include "io/display.h"

world_t world;

//
// Makes sure everything is in a usable state
// Only does something the first time it is called
//
void assure_world(void)
{
	static int first = 1;

	if (first) {
		info("Initializing world (assure_world)...");

		world.tm.era   = 3;
		world.tm.year  = 329;
		world.tm.month = 4;
		world.tm.mday  = 5;
		world.tm.wday  = 4;
		world.tm.hour  = 9;
		world.tm.min   = 0;

<commit_msg>Removed #include <ncurses.h><commit_after>//
// world.c
//

#include <ctype.h>
#include <stdio.h>
#include <assert.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include "log.h"
#include "util.h"
#include "world.h"
#include "config.h"
#include "player.h"
#include "tileset.h"
#include "inventory.h"
#include "io/display.h"

world_t world;

//
// Makes sure everything is in a usable state
// Only does something the first time it is called
//
void assure_world(void)
{
	static int first = 1;

	if (first) {
		info("Initializing world (assure_world)...");

		world.tm.era   = 3;
		world.tm.year  = 329;
		world.tm.month = 4;
		world.tm.mday  = 5;
		world.tm.wday  = 4;
		world.tm.hour  = 9;
		world.tm.min   = 0;


{'fraction_non_alphanumeric': 0.17189631650750342, 'fraction_numerical': 0.013642564802182811, 'mean_word_length': 3.252173913043478, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '6107135', 'n_tokens_mistral': 646, 'n_tokens_neox': 594, 'n_words': 152}