<commit_before>#include "framework/configfile.h"
#include "framework/logger.h"
#include "game/state/tilemap/collision.h"
#include "game/state/tilemap/tilemap.h"
#include "library/voxel.h"
#include <array>
#include <utility>
#include <vector>

using namespace OpenApoc;

class FakeSceneryTileObject : public TileObject
{
  public:
	Vec3<float> position;
	sp<VoxelMap> voxel;

	Vec3<float> getPosition() const override { return this->position; }
	bool hasVoxelMap(bool los ) const override { return true; }
	sp<VoxelMap> getVoxelMap(Vec3<int>, bool) const override { return this->voxel; }

	FakeSceneryTileObject(TileMap &map, Vec3<float> bounds, sp<VoxelMap> voxelMap)
	    : TileObject(map, Type::Scenery, bounds), position(0, 0, 0), voxel(voxelMap)
	{
		this->name = "FAKE_SCENERY";
	}
	~FakeSceneryTileObject() override = default;

	void setPosition(Vec3<float> newPosition) override
	{
		this->position = newPosition;
		TileObject::setPosition(newPosition);
	}
	void draw(Renderer &, TileTransform &, Vec2<float>, TileViewMode, bool, int, bool,
	          bool) override
	{
		LogError("DRAW CALLED ON FAKE SCENERY??");
		exit(EXIT_FAILURE);
	}
};<commit_msg>linux fix<commit_after>#include "framework/configfile.h"
#include "framework/logger.h"
#include "game/state/tilemap/collision.h"
#include "game/state/tilemap/tilemap.h"
#include "library/voxel.h"
#include <array>
#include <utility>
#include <vector>

using namespace OpenApoc;

class FakeSceneryTileObject : public TileObject
{
  public:
	Vec3<float> position;
	sp<VoxelMap> voxel;

	Vec3<float> getPosition() const override { return this->position; }
	bool hasVoxelMap(bool los) const override { return true; }
	sp<VoxelMap> getVoxelMap(Vec3<int>, bool) const override { return this->voxel; }

	FakeSceneryTileObject(TileMap &map, Vec3<float> bounds, sp<VoxelMap> voxelMap)
	    : TileObject(map, Type::Scenery, bounds), position(0, 0, 0), voxel(voxelMap)
	{
		this->name = "FAKE_SCENERY";
	}
	~FakeSceneryTileObject() override = default;

	void setPosition(Vec3<float> newPosition) override
	{
		this->position = newPosition;
		TileObject::setPosition(newPosition);
	}
	void draw(Renderer &, TileTransform &, Vec2<float>, TileViewMode, bool, int, bool,
	          bool) override
	{
		LogError("DRAW CALLED ON FAKE SCENERY??");
		exit(EXIT_FAILURE);
	}
};
{'fraction_non_alphanumeric': 0.13465688390159689, 'fraction_numerical': 0.007768666378938282, 'mean_word_length': 5.56657223796034, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 35, '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': '3912806', 'n_tokens_mistral': 872, 'n_tokens_neox': 839, 'n_words': 179}