<commit_before>require "tileset"
require "map"
require "pawn"
require "mapGenerator"
require "layer/hud"
require('fire')

function love.game.newWorld()
	local o = {}
	o.mapG = nil
	o.map = nil
	o.mapWidth = 128
	o.mapHeight = 128
	o.tileset = nil
	o.offsetX = 0
	o.offsetY = 0
	o.zoom = 1
	o.dragX = 0
	o.dragY = 0

	o.offsetX = 0
	o.offsetY = 0

	o.timeOfDay = 12.0
	o.soundWaitTimer = 0
	--TODO right now we have just a "global" goal for pawns, since we just have one pawn and the goal is set with the mouse. For multiple pawns each should have its own goal
	o.goalX = 7
	o.goalY = 7

	o.init = function()
		o.mapG = MapGenerator.newMap(o.mapWidth, o.mapHeight)

		o.tileset = love.game.newTileset("res/gfx/tileset.png", 32, 32, 1)
		o.fireGraphics = love.graphics.newImage("res/gfx/tileset.png")
		o.fireGraphics:setFilter("nearest","nearest")

		o.map = love.game.newMap(o.mapWidth, o.mapHeight)
		o.map.setTileset(o.tileset)
		o.map.init()
		o.fires = {}<commit_msg>smaller map for easier debugging<commit_after>require "tileset"
require "map"
require "pawn"
require "mapGenerator"
require "layer/hud"
require('fire')

function love.game.newWorld()
	local o = {}
	o.mapG = nil
	o.map = nil
	o.mapWidth = 16
	o.mapHeight = 16
	o.tileset = nil
	o.offsetX = 0
	o.offsetY = 0
	o.zoom = 1
	o.dragX = 0
	o.dragY = 0

	o.offsetX = 0
	o.offsetY = 0

	o.timeOfDay = 12.0
	o.soundWaitTimer = 0
	--TODO right now we have just a "global" goal for pawns, since we just have one pawn and the goal is set with the mouse. For multiple pawns each should have its own goal
	o.goalX = 7
	o.goalY = 7

	o.init = function()
		o.mapG = MapGenerator.newMap(o.mapWidth, o.mapHeight)

		o.tileset = love.game.newTileset("res/gfx/tileset.png", 32, 32, 1)
		o.fireGraphics = love.graphics.newImage("res/gfx/tileset.png")
		o.fireGraphics:setFilter("nearest","nearest")

		o.map = love.game.newMap(o.mapWidth, o.mapHeight)
		o.map.setTileset(o.tileset)
		o.map.init()
		o.fires = {}
{'fraction_non_alphanumeric': 0.13476263399693722, 'fraction_numerical': 0.02348136804492088, 'mean_word_length': 3.4646924829157175, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2307857', 'n_tokens_mistral': 875, 'n_tokens_neox': 797, 'n_words': 204}