diff options
| author | Eugene Sandulenko | 2010-10-08 22:30:39 +0000 | 
|---|---|---|
| committer | Eugene Sandulenko | 2010-10-08 22:30:39 +0000 | 
| commit | cf82bef02ee2941ddad6664e34f3c94e35e015a3 (patch) | |
| tree | d39e339d032b45f705bcb3383139184c507c1a7f /tools | |
| parent | 741e7c7f5ec800bf0209e93da3d6f9ec2869cdb3 (diff) | |
| download | scummvm-rg350-cf82bef02ee2941ddad6664e34f3c94e35e015a3.tar.gz scummvm-rg350-cf82bef02ee2941ddad6664e34f3c94e35e015a3.tar.bz2 scummvm-rg350-cf82bef02ee2941ddad6664e34f3c94e35e015a3.zip | |
TOON: Merged Toon engine to ScummVM trunk
svn-id: r53087
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/create_toon/create_toon.cpp | 163 | ||||
| -rw-r--r-- | tools/create_toon/create_toon.h | 47 | ||||
| -rw-r--r-- | tools/create_toon/dists/msvc9/create_toon.sln | 20 | ||||
| -rw-r--r-- | tools/create_toon/dists/msvc9/create_toon.vcproj | 187 | ||||
| -rw-r--r-- | tools/create_toon/module.mk | 10 | ||||
| -rw-r--r-- | tools/create_toon/staticdata.h | 324 | 
6 files changed, 751 insertions, 0 deletions
| diff --git a/tools/create_toon/create_toon.cpp b/tools/create_toon/create_toon.cpp new file mode 100644 index 0000000000..e6253ae21f --- /dev/null +++ b/tools/create_toon/create_toon.cpp @@ -0,0 +1,163 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + * $URL$ + * $Id$ + * + * This is a utility for storing all the hardcoded data of Toonstruck in a separate + * data file, used by the game engine + */ + +// HACK to allow building with the SDL backend on MinGW +// see bug #1800764 "TOOLS: MinGW tools building broken" +#ifdef main +#undef main +#endif // main + +#include <stdio.h> +#include <stdlib.h> +#include <string.h> + +#include "common/scummsys.h" +#include "common/events.h" + +#include "create_toon.h" +#include "staticdata.h" + +static void writeByte(FILE *fp, uint8 b) { +	fwrite(&b, 1, 1, fp); +} + +static void writeUint16BE(FILE *fp, uint16 value) { +	writeByte(fp, (uint8)(value >> 8)); +	writeByte(fp, (uint8)(value & 0xFF)); +} + +void writeSint16BE(FILE *fp, int16 value) { +	writeUint16BE(fp, (uint16)value); +} + +static void writeUint32BE(FILE *fp, uint32 value) { +	writeByte(fp, (uint8)(value >> 24)); +	writeByte(fp, (uint8)((value >> 16) & 0xFF)); +	writeByte(fp, (uint8)((value >> 8) & 0xFF)); +	writeByte(fp, (uint8)(value & 0xFF)); +} + +void writeSint32BE(FILE *fp, int32 value) { +	writeUint32BE(fp, (uint16)value); +} + +int main(int argc, char *argv[]) { +	FILE *outFile; +	int nbrElem; + +	outFile = fopen("toon.dat", "wb"); + +	// Write header +	fwrite("TOON", 4, 1, outFile); + +	writeByte(outFile, TOON_DAT_VER_MAJ); +	writeByte(outFile, TOON_DAT_VER_MIN); + +	// game versions/variantes +	writeUint16BE(outFile, NUM_VARIANTE); + +	// Write locationDirNotVisited +	nbrElem = sizeof(locationDirNotVisited_EN) / sizeof(char *); +	writeTextArray(outFile, locationDirNotVisited_EN, nbrElem); + +	nbrElem = sizeof(locationDirNotVisited_FR) / sizeof(char *); +	writeTextArray(outFile, locationDirNotVisited_FR, nbrElem); + +	nbrElem = sizeof(locationDirNotVisited_DE) / sizeof(char *); +	writeTextArray(outFile, locationDirNotVisited_DE, nbrElem); + +	nbrElem = sizeof(locationDirNotVisited_RU) / sizeof(char *); +	writeTextArray(outFile, locationDirNotVisited_RU, nbrElem); + +	nbrElem = sizeof(locationDirNotVisited_SP) / sizeof(char *); +	writeTextArray(outFile, locationDirNotVisited_SP, nbrElem); + +	// Write locationDirVisited +	nbrElem = sizeof(locationDirVisited_EN) / sizeof(char *); +	writeTextArray(outFile, locationDirVisited_EN, nbrElem); + +	nbrElem = sizeof(locationDirVisited_FR) / sizeof(char *); +	writeTextArray(outFile, locationDirVisited_FR, nbrElem); + +	nbrElem = sizeof(locationDirVisited_DE) / sizeof(char *); +	writeTextArray(outFile, locationDirVisited_DE, nbrElem); + +	nbrElem = sizeof(locationDirVisited_RU) / sizeof(char *); +	writeTextArray(outFile, locationDirVisited_RU, nbrElem); + +	nbrElem = sizeof(locationDirVisited_SP) / sizeof(char *); +	writeTextArray(outFile, locationDirVisited_SP, nbrElem); + +	// Write specialInfoLine +	nbrElem = sizeof(specialInfoLine_EN) / sizeof(char *); +	writeTextArray(outFile, specialInfoLine_EN, nbrElem); + +	nbrElem = sizeof(specialInfoLine_FR) / sizeof(char *); +	writeTextArray(outFile, specialInfoLine_FR, nbrElem); + +	nbrElem = sizeof(specialInfoLine_DE) / sizeof(char *); +	writeTextArray(outFile, specialInfoLine_DE, nbrElem); + +	nbrElem = sizeof(specialInfoLine_RU) / sizeof(char *); +	writeTextArray(outFile, specialInfoLine_RU, nbrElem); + +	nbrElem = sizeof(specialInfoLine_SP) / sizeof(char *); +	writeTextArray(outFile, specialInfoLine_SP, nbrElem); + +// Not yet handled : miscTexts, endingLine and exitLine. Are they useful? + +	fclose(outFile); +	return 0; +} + +void writeTextArray(FILE *outFile, const char *textArray[], int nbrText) { +	int len, len1, pad; +	uint8 padBuf[DATAALIGNMENT]; + +	for (int i = 0; i < DATAALIGNMENT; i++) +		padBuf[i] = 0; + +	writeUint16BE(outFile, nbrText); +	len = DATAALIGNMENT - 2; +	for (int i = 0; i < nbrText; i++) { +		len1 = strlen(textArray[i]) + 1; +		pad = DATAALIGNMENT - (len1 + 2) % DATAALIGNMENT; +		len += 2 + len1 + pad; +	} +	writeUint16BE(outFile, len); + +	fwrite(padBuf, DATAALIGNMENT - 2, 1, outFile); // padding +	for (int i = 0; i < nbrText; i++) { +		len = strlen(textArray[i]) + 1; +		pad = DATAALIGNMENT - (len + 2) % DATAALIGNMENT; + +		writeUint16BE(outFile, len + pad + 2); +		fwrite(textArray[i], len, 1, outFile); +		fwrite(padBuf, pad, 1, outFile); +	} +} + diff --git a/tools/create_toon/create_toon.h b/tools/create_toon/create_toon.h new file mode 100644 index 0000000000..0695944b17 --- /dev/null +++ b/tools/create_toon/create_toon.h @@ -0,0 +1,47 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + * $URL$ + * $Id$ + * + */ + +#ifndef CREATE_TOON_H +#define CREATE_TOON_H + +#define ARRAYSIZE(x) ((int)(sizeof(x) / sizeof(x[0]))) + +#define DATAALIGNMENT 4 + +#define TOON_DAT_VER_MAJ 0  // 1 byte +#define TOON_DAT_VER_MIN 3  // 1 byte + +// Number of Variante of the game. For the moment, it's the same +// than the number of languages +#define NUM_VARIANTE   5 + +typedef unsigned char  uint8; +typedef unsigned char  byte; +typedef unsigned short uint16; +typedef signed   short int16; + +void writeTextArray(FILE *outFile, const char *textData[], int nbrText); + +#endif // CREATE_TOON_H diff --git a/tools/create_toon/dists/msvc9/create_toon.sln b/tools/create_toon/dists/msvc9/create_toon.sln new file mode 100644 index 0000000000..e9c3750590 --- /dev/null +++ b/tools/create_toon/dists/msvc9/create_toon.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "create_toon", "create_toon.vcproj", "{5F280130-349D-11DD-AE16-0800200C9A66}" +EndProject +Global +	GlobalSection(SolutionConfigurationPlatforms) = preSolution +		Debug|Win32 = Debug|Win32 +		Release|Win32 = Release|Win32 +	EndGlobalSection +	GlobalSection(ProjectConfigurationPlatforms) = postSolution +		{5F280130-349D-11DD-AE16-0800200C9A66}.Debug|Win32.ActiveCfg = Debug|Win32 +		{5F280130-349D-11DD-AE16-0800200C9A66}.Debug|Win32.Build.0 = Debug|Win32 +		{5F280130-349D-11DD-AE16-0800200C9A66}.Release|Win32.ActiveCfg = Release|Win32 +		{5F280130-349D-11DD-AE16-0800200C9A66}.Release|Win32.Build.0 = Release|Win32 +	EndGlobalSection +	GlobalSection(SolutionProperties) = preSolution +		HideSolutionNode = FALSE +	EndGlobalSection +EndGlobal diff --git a/tools/create_toon/dists/msvc9/create_toon.vcproj b/tools/create_toon/dists/msvc9/create_toon.vcproj new file mode 100644 index 0000000000..f860b8b201 --- /dev/null +++ b/tools/create_toon/dists/msvc9/create_toon.vcproj @@ -0,0 +1,187 @@ +<?xml version="1.0" encoding="windows-1252"?> +<VisualStudioProject +	ProjectType="Visual C++" +	Version="9.00" +	Name="create_toon" +	ProjectGUID="{5F280130-349D-11DD-AE16-0800200C9A66}" +	RootNamespace="create_toon" +	Keyword="Win32Proj" +	TargetFrameworkVersion="131072" +	> +	<Platforms> +		<Platform +			Name="Win32" +		/> +	</Platforms> +	<ToolFiles> +	</ToolFiles> +	<Configurations> +		<Configuration +			Name="Debug|Win32" +			OutputDirectory="Debug" +			IntermediateDirectory="Debug" +			ConfigurationType="1" +			CharacterSet="2" +			> +			<Tool +				Name="VCPreBuildEventTool" +			/> +			<Tool +				Name="VCCustomBuildTool" +			/> +			<Tool +				Name="VCXMLDataGeneratorTool" +			/> +			<Tool +				Name="VCWebServiceProxyGeneratorTool" +			/> +			<Tool +				Name="VCMIDLTool" +			/> +			<Tool +				Name="VCCLCompilerTool" +				AdditionalOptions="/wd4996" +				Optimization="0" +				AdditionalIncludeDirectories="..\..\..\.." +				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE" +				MinimalRebuild="true" +				BasicRuntimeChecks="3" +				RuntimeLibrary="1" +				UsePrecompiledHeader="0" +				WarningLevel="3" +				DebugInformationFormat="4" +			/> +			<Tool +				Name="VCManagedResourceCompilerTool" +			/> +			<Tool +				Name="VCResourceCompilerTool" +			/> +			<Tool +				Name="VCPreLinkEventTool" +			/> +			<Tool +				Name="VCLinkerTool" +				OutputFile="$(OutDir)/create_toon.exe" +				LinkIncremental="2" +				IgnoreDefaultLibraryNames="libc.lib;libcmt.lib" +				GenerateDebugInformation="true" +				ProgramDatabaseFile="$(OutDir)/create_toon.pdb" +				SubSystem="1" +				TargetMachine="1" +			/> +			<Tool +				Name="VCALinkTool" +			/> +			<Tool +				Name="VCManifestTool" +			/> +			<Tool +				Name="VCXDCMakeTool" +			/> +			<Tool +				Name="VCBscMakeTool" +			/> +			<Tool +				Name="VCFxCopTool" +			/> +			<Tool +				Name="VCAppVerifierTool" +			/> +			<Tool +				Name="VCPostBuildEventTool" +			/> +		</Configuration> +		<Configuration +			Name="Release|Win32" +			OutputDirectory="Release" +			IntermediateDirectory="Release" +			ConfigurationType="1" +			CharacterSet="2" +			> +			<Tool +				Name="VCPreBuildEventTool" +			/> +			<Tool +				Name="VCCustomBuildTool" +			/> +			<Tool +				Name="VCXMLDataGeneratorTool" +			/> +			<Tool +				Name="VCWebServiceProxyGeneratorTool" +			/> +			<Tool +				Name="VCMIDLTool" +			/> +			<Tool +				Name="VCCLCompilerTool" +				AdditionalOptions="/wd4996" +				Optimization="3" +				PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE" +				UsePrecompiledHeader="0" +				WarningLevel="3" +				DebugInformationFormat="3" +			/> +			<Tool +				Name="VCManagedResourceCompilerTool" +			/> +			<Tool +				Name="VCResourceCompilerTool" +			/> +			<Tool +				Name="VCPreLinkEventTool" +			/> +			<Tool +				Name="VCLinkerTool" +				OutputFile="$(OutDir)/create_toon.exe" +				LinkIncremental="1" +				IgnoreDefaultLibraryNames="libc.lib;libcmt.lib" +				GenerateDebugInformation="true" +				SubSystem="1" +				OptimizeReferences="2" +				EnableCOMDATFolding="2" +				TargetMachine="1" +			/> +			<Tool +				Name="VCALinkTool" +			/> +			<Tool +				Name="VCManifestTool" +			/> +			<Tool +				Name="VCXDCMakeTool" +			/> +			<Tool +				Name="VCBscMakeTool" +			/> +			<Tool +				Name="VCFxCopTool" +			/> +			<Tool +				Name="VCAppVerifierTool" +			/> +			<Tool +				Name="VCPostBuildEventTool" +			/> +		</Configuration> +	</Configurations> +	<References> +	</References> +	<Files> +		<File +			RelativePath="..\..\create_toon.cpp" +			> +		</File> +		<File +			RelativePath="..\..\create_toon.h" +			> +		</File> +		<File +			RelativePath="..\..\staticdata.h" +			> +		</File> +	</Files> +	<Globals> +	</Globals> +</VisualStudioProject> diff --git a/tools/create_toon/module.mk b/tools/create_toon/module.mk new file mode 100644 index 0000000000..761afb7a7f --- /dev/null +++ b/tools/create_toon/module.mk @@ -0,0 +1,10 @@ +MODULE := tools/create_toon + +MODULE_OBJS := \ +	create_toon.o + +# Set the name of the executable +TOOL_EXECUTABLE := create_toon + +# Include common rules +include $(srcdir)/rules.mk diff --git a/tools/create_toon/staticdata.h b/tools/create_toon/staticdata.h new file mode 100644 index 0000000000..b8e68406ec --- /dev/null +++ b/tools/create_toon/staticdata.h @@ -0,0 +1,324 @@ +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + * $URL$ + * $Id$ + * + */ + +#ifndef STATICDATA_H +#define STATICDATA_H + +const char *locationDirNotVisited_EN[] = { +	"Lab", "Path", "Outside", "Pothole", "Palace Hallway", +	"Door", "Secret Passage", "Doorway", "Doorway", "DUMMY", +	"Path", "Shop", "Shop", "Shop", "Shop", +	"Path", "Malevolated Countryside", "Malevolated Countryside", "Entrance", "Entrance", +	"Path", "Path", "Central Zanydu", "Lower Zanydu", "Wacme Entrance", +	"Upper Zanydu", "Entrance", "Entrance", "Path", "Path", +	"Path", "Seedy's", "Entrance", "Entrance", "Path", +	"DUMMY", "DUMMY", "Dungeon", "Hallway", "Air Vent", +	"Upstairs", "Doorway", "Doorway", "Downstairs", "Rec Room", +	"Doorway", "Secret Passageway", "Upstairs", "Upstairs", "Up", +	"Doorway", "Upstairs", "Doorway", "Doorway", "Doorway", +	"Swamp", "Forest", "Meadow", "Farmland", "Main Street", +	"Costume Shop", "Shuttle Station", "Central Zanydu", "Upper North-Southeast Zanydu", "Lower South-Northwest Zanydu", +	"Way-Outback", "High Road", "Frank's Lab", "Cryo-Crypt", "Fantasyworld", +	"Vulture Falls", "Vulture Falls", "Vincent van Gogh's Studio", "Fearworld", "Attic", +	"Unorthodontist's Office", "Bedroom", "The Malevolands", "Inhuman Robots, Inc.", "Inhuman Robots, Inc. Workshop", +	"The End of the World", "Castle Ramparts", "Castle Top", "Kitchen", "Living Room", +	"Bedroom", "Laboratory", "Storage Center First Floor", "Storage Center Second Floor", "Storage Center Third Floor", +	"King Hugh's Palace", "Trophy Room", "Hallway", "Hallway", "Throne Room", +	"Office", "Balcony", "Lighthouse", "Bedroom", "Hall of Reflection", +	"Seedy's", "Barn", "WACME", "Lab" +}; + +const char *locationDirNotVisited_FR[] = { +	"Labo", "Chemin", "Ext\351rieur", "Trou", "Hall du Palais", +	"Porte", "Passage Secret", "Porte", "Porte", "DUMMY", +	"Chemin", "Boutique", "Boutique", "Boutique", "Boutique", +	"Chemin", "Champ perfidifi\351", "Champ perfidifi\351", "Entr\351e", "Entr\351e", +	"Chemin", "Chemin", "Zanydu-Centre", "Bas de Zanydu", "Entr\351e des 3 Belges", +	"Hauts de Zanydu", "Entr\351e", "Entr\351e", "Chemin", "Chemin", +	"Chemin", "Bouling", "Entr\351e", "Entr\351e", "Chemin", +	"DUMMY", "DUMMY", "Donjon", "Hall", "Conduit d'a\351ration", +	"Etage sup\351rieur", "Porte", "Porte", "Etage inf\351rieur", "Salle de jeux", +	"Porte", "Passage Secret", "Etage sup\351rieur", "Etage sup\351rieur", "Vers le haut", +	"Porte", "Etage sup\351rieur", "Porte", "Porte", "Porte", +	"Mar\351cage", "For\352t", "Prairie", "Champ", "Rue Principale", +	"Boutique de costumes", "Gare Navette", "Zanydu-Centre", "Hauts de Zanydu Sud-Est du Nord", "Bas de Zanydu Nord-Ouest du Sud", +	"Lointain lointain", "High Road", "Labo de Frank", "Cryo-Crypt", "Fantasyworld", +	"Vulture Falls", "Vulture Falls", "Vincent van Gogh's Studio", "Fearworld", "Grenier", +	"Unorthodontist's Office", "Chambre", "Perfidia", "Robots Inhumains SARL", "Robots Inhumains SARL. Atelier", +	"La Fin du Monde", "Remparts du ch\342teau", "Castle Top", "Cuisine", "Salon", +	"Chambre", "Laboratoire", "Storage Center First Floor", "Storage Center Second Floor", "Storage Center Third Floor", +	"Ch\342teau de Hilarius 1er", "Salle des Troph\351es", "Hall", "Hall", "Salle du Tr\364ne", +	"Bureau", "Balcon", "Lighthouse", "Chambre", "Hall of Reflection", +	"Bouling", "Grange", "LES 3 BELGES", "Labo" +}; + +const char *locationDirNotVisited_DE[] = { +	"Labor", "Weg", "Drau\337en", "Schlagloch", "Palastflur", +	"T\374r", "Geheimgang", "T\374r", "T\374r", "DUMMY", +	"Weg", "Laden", "Laden", "Laden", "Laden", +	"Weg", "\334belierte Landschaft", "\334belierte Landschaft", "Eingang", "Eingang", +	"Weg", "Weg", "Mittel-Trickreich", "Nieder-Trickreich", "Eingang der Fa. Wacme", +	"Ober-Trickreich", "Eingang", "Eingang", "Weg", "Weg", +	"Weg", "Seedys", "Eingang", "Eingang", "Weg", +	"DUMMY", "DUMMY", "Kerker", "Flur", "Luftschacht", +	"Nach oben", "T\374r", "T\374r", "Nach unten", "Ruheraum", +	"T\374r", "Geheimgang", "Nach oben", "Nach oben", "Rauf", +	"T\374r", "Nach oben", "T\374r", "T\374r", "T\374r", +	"Sumpf", "Wald", "Wiese", "Ackerland", "Hauptstra\337e", +	"Kost\374mverleih", "Bahnhaltestelle", "Mittel-Trickreich", "Ober-Nord-S\374dost-Trickreich", "Unteres S\374d-Nordwest-Trickreich", +	"Weite W\374ste Wildnis", "Hochstra\337e", "Franks Labor", "K\344lteschlafkammer", "Phantasiawelt", +	"Geierf\344lle", "Geierf\344lle", "Vincent van Goghs Studio", "Angstwelt", "Dachboden", +	"Praxis des Unorthodontisten", "Schlafzimmer", "Das \334beland", "Unmenschliche Roboter AG", "Unmenschliche Roboter AG - Werkstatt", +	"Das Ende der Welt", "Schlo\337w\344lle", "Oberer Teil des Schlosses", "K\374che", "Wohnzimmer", +	"Schlafzimmer", "Labor", "Lager 1. Stock", "Lager 2. Stock", "Lager 3. Stock", +	"K\366nig Nicks Palast", "Pokalsaal", "Flur", "Flur", "Thronsaal", +	"B\374ro", "Balkon", "Leuchtturm", "Schlafzimmer", "Saal der Reflektion", +	"Seedys", "Scheune", "WACME", "Labor" +}; + +const char *locationDirNotVisited_RU[] = { +	"YBB", "Nelf", "Ds[jl", "Hsndbyf", "Dtcnb,.km", +	"D[jl", "Nfqysq ghj[jl", "Ghj[jl", "Ghj[jl", "VFRTN", +	"Nelf", "Ijg", "Ijg", "Ijg", "Ijg", +	"Nelf", "Bcrjdthrfyyfz ptvkz", "Bcrjdthrfyyfz ptvkz", "D[jl", "D[jl", +	"Nelf", "Nelf", "Wtynh", "Yb;yzz pjyf", "Gfhflysq d[jl", +	"Dth[yzz pjyf", "D[jl", "D[jl", "Nelf", "Nelf", +	"Nelf", "D[jl", "D[jl", "D[jl", "Nelf", +	"VFRTN", "VFRTN", "Gjldfk", "Rjhbljh", "Kfp", +	"Ddth[", "Ghj[jl", "Ghj[jl", "Dybp", "Buhjdfz", +	"Ghj[jl", "Nfqysq ghj[jl", "Ddth[", "Ddth[", "!", +	"Ghj[jl", "Ddth[", "Ghj[jl", "Ghj[jl", "Ghj[jl", +	"Njgm", "Ktc", "Keu", "Athvf", "Ghjcgtrn", +	"Jlt;lf", "Cnfywbz", "Wtynh", "Dth[ybq Ctdthj-.uj-djcnjr", "Yb;ybq >uj-ctdthj-pfgfl", +	"Jrhfbyf", "Ljhjuf", "Kf,jhfnjhbz", "Crktg", "Vbh Afynfpbq", +	"Cnthdjgfl", "Cnthdjgfl", "Cnelbz Dbyctynf dfy Ujuf", "Rjivfhbz", "Fnnbr", +	"Rf,bytn Ytjhnjljrcf", "Cgfkmyz", "Pkjdtybz", "FJPN +Ytuevfyjbl+", "Vfcnthcrfz FJPN +Ytuevfyjbl+", +	"Rhfq cdtnf", "Rhtgjcnyjq dfk", "<fiyz", "Re[yz", "Ujcnbyfz", +	"Cgfkmyz", "Rf,bytn", "Gthdsq 'nf; [hfybkbof", "Dnjhjq 'nf; [hfybkbof", "Nhtnbq 'nf; [hfybkbof", +	"Ldjhtw rjhjkz {m.", "Veptq", "Rjhbljh", "Rjhbljh", "Nhjyysq pfk", +	"Jabc", "<fkrjy", "Vfzr", "Cgfkmyz", "Rjvyfnf hfplevbq", +	"D[jl", "{ktd", "VJHLS", "YBB" +}; + +const char *locationDirNotVisited_SP[] = { +	"Laboratorio", "Camino", "Exterior", "Bache", "Vest\355bulo del Palacio", +	"Puerta", "Pasaje secreto", "Salida", "Salida", "Cosa extra\361a", +	"Camino", "Tienda", "Tienda", "Tienda", "Tienda", +	"Camino", "Paisaje malificado", "Paisaje malificado", "Entrada", "Entrada", +	"Camino", "Camino", "Centro de Loquilandia", "Loquilandia de Abajo", "Entrada a Wacme", +	"Loquilandia de arriba", "Entrada", "Entrada", "Camino", "Camino", +	"Camino", "Sady's", "Entrada", "Entrada", "Camino", +	"OBJETO EXTRA\321O", "OBJETO EXTRA\321O", "Mazmorra", "Vest\355bulo", "Conducto de la ventilaci\363n", +	"Planta alta", "Salida", "Salida", "Planta baja", "Sala de entretenimiento", +	"Salida", "Pasadizo secreto", "Planta alta", "Planta alta", "Arriba", +	"Salida", "Planta alta", "Salida", "Salida", "Salida", +	"Ci\351naga", "Bosque", "Pradera", "Tierras", "Calle principal", +	"Tienda de disfraces", "Estaci\363n del telecabina", "Centro de Loquilandia", "Norsudeste de Loquilandia de Arriba", "Surnoroeste de Loquilandia de Abajo", +	"Camino del interior", "Camino Real ", "Laboratorio de Frankestain", "Crio-Cripta", "Fantasilandia", +	"Salto del buitre", "Salto del buitre", "Estudio de Vincent van Gogh ", "Miedilandia", "Atico", +	"Despacho del Desortodoncista", "Dormitorio", "Malevolandia", "Robots Inhumanos, S.L.", "Robots Inhumanos, S.L. Taller", +	"El fin del mundo", "Murallas del castillo", "Parte alta del castillo", "Cocina", "Sala de estar", +	"Dormitorio", "Laboratorio", "Centro de almacenamiento del primer piso", "Centro de almacenamiento del segundo piso", "Centro de almacenamiento del tercer piso", +	"Palacio del Rey Hugo", "Sala de trofeos", "Vest\355bulo", "Vest\355bulo", "Sal\363n del trono", +	"Oficina", "Balc\363n", "Faro", "Dormitorio", "Sala de reflexi\363n", +	"Sady's", "Establo", "Wacme", "Laboratorio" +}; + +const char *locationDirVisited_EN[] = { +	"Lab", "Meadow", "King Hugh's Palace", "Pothole", "Palace Hallway", +	"Bedroom", "Cellar", "Trophy Room", "Laboratory", "DUMMY", +	"Town Center", "Bakery", "Costume Shop", "Tavern", "Arcade", +	"Countryside", "Malevolated Countryside", "Malevolated Countryside", "Entrance", "Entrance", +	"Forest", "Shuttle Station", "Central Zanydu", "Lower Zanydu", "Wacme Entrance", +	"Upper Zanydu", "Entrance", "Entrance", "Way-Outback", "Wolf Den", +	"The Malevolands", "Seedy's", "Robot Maker", "Prison", "The End of the World", +	"DUMMY", "DUMMY", "Dungeon", "Climatron Room", "Air Vent", +	"First Floor Landing", "Kitchen", "Padded Cell", "Second Floor Landing", "Wrecked Room", +	"Knight Hall", "Surveillance Room", "Armory", "Third Floor Landing", "Bathroom", +	"Study", "Stairwell", "Fourth Floor Landing", "Ms. Fortune's Lair", "Nefarious's Headquarters", +	"Swamp", "Forest", "Meadow", "Farmland", "Main Street", +	"Costume Shop", "Shuttle Station", "Inner-Central Middlemost Zanydu", "Upper North-Southeast Zanydu", "Lower South-Northwest Zanydu", +	"Way-Outback", "High Road", "Frank's Lab", "Cryo-Crypt", "Fantasyworld", +	"Vulture Falls", "Vulture Falls", "Vincent van Gogh's Studio", "Fearworld", "Attic", +	"Unorthodontist's Office", "Bedroom", "The Malevolands", "Inhuman Robots, Inc.", "Inhuman Robots, Inc. Workshop", +	"The End of the World", "Castle Ramparts", "Castle Top", "Kitchen", "Living Room", +	"Bedroom", "Laboratory", "Storage Center First Floor", "Storage Center Second Floor", "Storage Center Third Floor", +	"King Hugh's Palace", "Trophy Room", "Hallway", "Hallway", "Throne Room", +	"Office", "Balcony", "Lighthouse", "Bedroom", "Hall of Reflection", +	"Seedy's", "Barn", "WACME", "Lab" +}; + +const char *locationDirVisited_FR[] = { +	"Labo", "Prairie", "Palais de Hilarius 1er", "Trou", "Hall du Palais", +	"Chambre", "Cave", "Salle des Troph\351es", "Laboratoire", "DUMMY", +	"Centre ville", "Boulangerie", "Boutique de costumes", "Taverne", "Salle d'arcade", +	"Champ", "Champ perfidifi\351", "Champ perfidifi\351", "Etable", "Etable", +	"For\352t", "Terminus Navette", "Zanydu-Centre", "Bas-Zanydu", "Entr\351e des 3 Belges", +	"Hauts de Zanydu", "Entr\351e", "Entr\351e", "Lointain lointain", "Tani\350re des loups", +	"Perfidia", "Bouling", "Faiseur de Robots", "Prison", "Le bout du monde", +	"DUMMY", "DUMMY", "Donjon", "Salle du Climatron", "Conduit d'a\351ration", +	"Palier 1er \351tage", "Cuisine", "Cellule capiton\351e", "Palier 2\350me \351tage", "Salle de jeux", +	"Hall du Chevalier", "Salle de surveillance", "Armurerie", "Palier 3\350me \351tage", "Salle de bains", +	"Bureau", "Escalier", "Palier 4\350me \351tage", "Antre de Miss Fortune", "Quartiers g\351n\351raux de N\351farius", +	"Mar\351cage", "For\352t", "Prairie", "Champ", "Rue principale", +	"Boutique de costumes", "Gare Navette", "Centre du coeur de Zanydu", "Haut-Zanydu Sud-Est du North", "Bas-Zanydu Nord-Ouest du Sud", +	"Lointain lointain", "High Road", "Labo de Frank", "Cryo-Crypt", "Fantasyworld", +	"Vulture Falls", "Vulture Falls", "Vincent van Gogh's Studio", "Fearworld", "Grenier", +	"Unorthodontist's Office", "Chambre", "Perfidia", "Robots Inhumains SARL.", "Robots Inhumains SARL. Atelier", +	"La Fin du Monde", "Remparts du Ch\342teau", "Castle Top", "Cuisine", "Salon", +	"Chambre", "Laboratoire", "Storage Center First Floor", "Storage Center Second Floor", "Storage Center Third Floor", +	"Palais d'Hilarius 1er", "Salle des Troph\351es", "Hall", "Hall", "Salle du Tr\364ne", +	"Bureau", "Balcon", "Lighthouse", "Chambre", "Hall of Reflection", +	"Bouling", "Grange", "LES 3 BELGES", "Labo" +}; + +const char *locationDirVisited_DE[] = { +	"Labor", "Wiese", "K\366nig Nicks Palast", "Schlagloch", "Palastflur", +	"Schlafzimmer", "Keller", "Pokalsaal", "Laboratorium", "DUMMY", +	"Stadtmitte", "B\344ckerei", "Kost\374mverleih", "Kneipe", "Spielhalle", +	"Landschaft", "\334belierte Landschaft", "\334belierte Landschaft", "Eingang", "Eingang", +	"Wald", "Bahnhaltestelle", "Mittel-Trickreich", "Nieder-Trickreich", "Eingang der Fa. Wacme", +	"Ober-Trickreich", "Eingang", "Eingang", "Weite W\374ste Wildnis", "Wolfsh\366hle", +	"Das \334beland", "Seedys", "Roboterschmied", "Gef\344ngnis", "Das Ende der Welt", +	"DUMMY", "DUMMY", "Verlies", "Klimatron-Zimmer", "Luftschacht", +	"Treppenabsatz 1. Stock", "K\374che", "Gummizelle", "Treppenabsatz 2. Stock", "Demoliertes Zimmer", +	"Rittersaal", "\334berwachungsraum", "Waffenkammer", "Treppenabsatz 3. Stock", "Badezimmer", +	"Arbeitszimmer", "Treppenhaus", "Treppenabsatz 4. Stock", "Zimmer von Miss Gunst", "Hauptquartier von Widerlus", +	"Sumpf", "Wald", "Wiese", "Ackerland", "Hauptstra\337e", +	"Kost\374mverleih", "Bahnhaltestelle", "Zentrum des Inneren Mittel-Trickreichs", "Ober-Nord-S\374dost-Trickreich", "Unteres S\374d-Nordwest-Trickreich", +	"Weite W\374ste Wildnis", "Hochstra\337e", "Franks Labor", "K\344lteschlafkammer", "Phantasiawelt", +	"Geierf\344lle", "Geierf\344lle", "Vincent van Goghs Studio", "Angstwelt", "Dachboden", +	"Praxis des Unorthodontisten", "Schlafzimmer", "Das \334beland", "Unmenschliche Roboter AG", "Unmenschliche Roboter AG - Werkstatt", +	"Das Ende der Welt", "Schlo\337w\344lle", "Oberer Teil des Schlosses", "K\374che", "Wohnzimmer", +	"Schlafzimmer", "Labor", "Lager 1. Stock", "Lager 2. Stock", "Lager 3. Stock", +	"K\366nig Nicks Palast", "Pokalsaal", "Flur", "Flur", "Thronsaal", +	"B\374ro", "Balkon", "Leuchtturm", "Schlafzimmer", "Saal der Reflektion", +	"Seedys", "Scheune", "WACME", "Labor" +}; + +const char *locationDirVisited_RU[] = { +	"YBB", "Keu", "Ldjhtw rjhjkf {m.", "Hsndbyf", "Dtcnb,.km", +	"Cgfkmyz", "Gjuht,", "Veptq", "Rf,bytn", "VFRTN", +	"Wtynh", "{kt,", "Jlt;lf", "Rf,fr", "Buhs", +	"Lthtdyz", "Bcrjdthrfyyfz ptvkz", "Bcrjdthrfyyfz ptvkz", "D[jl", "D[jl", +	"Ktc", "Cnfywbz", "Wtynh", "Yb;yzz pjyf", "Gfhflysq d[jl", +	"Dth[yzz pjyf", "D[jl", "D[jl", "Jrhfbyf", "Kjujdj", +	"Pkjdtybz", "D[jl", "Hj,jn", "N.hmvf", "Rhfq cdtnf", +	"VFRTN", "VFRTN", "Gjldfk", "Rkbvfnhjyyfz", "Kfp", +	"Gkjoflrf 1-uj 'nf;f", "Re[yz", "Rfvthf", "Gkjoflrf 2-uj 'nf;f", "Fynbrdfhbfn", +	"Hswfhcrfz", "Rjvyfnf j[hfys", "Jhe;bt", "Gkjoflrf 3-uj 'nf;f", "Dfyyfz", +	"Jabc", "Rjkjltw", "Gkjoflrf 4-uj 'nf;f", "Yjhf vbcc Ajhneys", "Inf,-rdfhnbhf Ytafhbecf", +	"Njgm", "Ktc", "Keu", "Athvf", "Ghjcgtrn", +	"Jlt;lf", "Cnfywbz", "Chtlyzz pjyf dyenhtyytuj wtynhf", "Yb;ybq Ctdthj-.uj-djcnjr", "Yb;ybq >uj-ctdthj-pfgfl", +	"Jrhfbyf", "Ljhjuf", "Kf,jhfnjhbz", "Crktg", "Vbh Afynfpbq", +	"Cnthdjgfl", "Cnthdjgfl", "Cnelbz Dbyctynf dfy Ujuf", "Rjivfhbz", "Fnnbr", +	"Rf,bytn Ytjhnjljrcf", "Cgfkmyz", "Pkjdtybz", "FJPN +Ytuevfyjbl+", "Vfcnthcrfz FJPN +Ytuevfyjbl+", +	"Rhfq cdtnf", "Rhtgjcnyjq dfk", "<fiyz", "Re[yz", "Ujcnbyfz", +	"Cgfkmyz", "Rf,bytn", "Gthdsq 'nf; [hfybkbof", "Dnjhjq 'nf; [hfybkbof", "Nhtnbq 'nf; [hfybkbof", +	"Ldjhtw rjhjkz {m.", "Veptq", "Rjhbljh", "Rjhbljh", "Nhjyysq pfk", +	"Jabc", "<fkrjy", "Vfzr", "Cgfkmyz", "Rjvyfnf hfplevbq", +	"D[jl", "{ktd", "VJHLS", "YBB" +}; + +const char *locationDirVisited_SP[] = { +	"Laboratorio", "Pradera", "Palacio del Rey Hugo", "Bache", "Vest\355bulo del  palacio", +	"Dormitorio", "S\363tano", "Sala de trofeos", "Laboratorio", "Mu\361eco", +	"Centro ciudad", "Panader\355a", "Tienda de disfraces", "Taberna", "Sal\363n de juegos recreativos", +	"Paisaje", "Paisaje malificado", "Paisaje malificado", "Entrada", "Entrada", +	"Bosque", "Estaci\363n del telecabina", "Centro de Loquilandia", "Loquilandia de Abajo", "Entrada a Wacme", +	"Loquilandia de Arriba", "Entrada", "Entrada", "Camino del interior", "Guarida de lobos", +	"Malevolandia", "Sady's", "Fabricante de robots", "Prisi\363n", "El fin del mundo", +	"Cosa extra\361a", "Cosa extra\361a", "Mazmorra", "Sala del Climatr\363n", "Conducto de ventilaci\363n", +	"Descansillo del primer piso", "Cocina", "Jaula de locos", "Descansillo del segundo piso", "Cuarto destrozado", +	"Sala del caballero", "Sala de vigilancia", "Sala de blasones", "Descansillo del tercer piso", "Cuarto de ba\361o", +	"Estudio", "Escalera", "Descansillo del cuarto piso", "Guarida de Lady Infortunata", "Dependencias de Nefastus", +	"Ci\351naga", "Bosque", "Pradera", "Tierras", "Calle principal", +	"Tienda de disfraces", "Estaci\363n del telecabina", "Casi medio centro de Loquilandia", "Norsudeste de Loquilandia de Arriba", "Surnoroeste de Loquilandia de Abajo", +	"Camino del interior", "Camino Real", "Laboratorio de Frankestain", "Crio-Cripta", "Fantasilandia", +	"Salto del buitre", "Salto del buitre", "Estudio de Vincent van Gogh ", "Miedilandia", "Atico", +	"Despacho del Desortodoncista", "Dormitorio", "Malevolandia", "Robots Inhumanos, S.L.", "Robots Inhumanos, S.L. Taller", +	"El fin del mundo", "Murallas del castillo", "Parte alta del castillo", "Cocina", "Sala de estar", +	"Dormitorio", "Laboratorio", "Centro de almacenamiento del primer piso", "Centro de almacenamiento del segundo piso", "Centro de almacenamiento del tercer piso", +	"Palacio del Rey Hugo", "Sala de trofeos", "Vest\355bulo", "Vest\355bulo", "Sal\363n del trono", +	"Oficina", "Balc\363n", "Faro", "Dormitorio", "Sala de reflexi\363n", +	"Sady's", "Establo", "Wacme", "Laboratorio " +}; + +const char *specialInfoLine_EN[] = { "Exit non defined", "Bottomless Bag", "Flux Wildlie", "Drew Blanc" }; +const char *specialInfoLine_FR[] = { "Exit non defined", "Inventaire", "Flux Radieux", "Marc Blanc" }; +const char *specialInfoLine_DE[] = { "Exit non defined", "Bodenloser Beutel", "Flux W. Wild", "Mal Block" }; +const char *specialInfoLine_RU[] = { "Exit non defined", "   Fdjcmrf    ", "  :bdxbr   ", "Lhe <k'yr " }; +const char *specialInfoLine_SP[] = { "Exit non defined", "Saco sin fondo", "Flux Tarambana", "Andr\351s Truido" }; + +// Those are not yet in the DAT file. They'll be added as soon as they are really used. +const char *miscTexts_EN[] = { +	"Are you sure you want to exit? (Y/N)", +	"Please insert Disc One", +	"Please insert Disc Two", +	"File %s is missing. Press a key." +}; + +const char *miscTexts_FR[] = { +	"Etes-vous s\373r(e) de vouloir quitter ? (O/N)", +	"Ins\351rez le CD 1", +	"Ins\351rez le CD 2", +	"Le fichier %s est manquant. Appuyez sur une touche." +}; + +const char *miscTexts_DE[] = { +	"Aufh\366ren? Sind Sie sicher? (J/N)", +	"Bitte CD 1 einlegen", +	"Bitte CD 2 einlegen", +	"Datei %s fehlt. Beliebige Taste dr\374cken." +}; + +const char *miscTexts_RU[] = { +	"Are you sure you want to exit? (Y/N)", +	"Please insert Disc One", +	"Please insert Disc Two", +	"File %s is missing. Press a key." +}; + +const char *miscTexts_SP[] = { +	"\277Est\341s seguro de que quieres salir? (S/N)", +	"Por favor, inserta el disco 1", +	"Por favor, inserta el disco 2", +	"El  archivo %s no aparece. Pulsa una tecla." +}; + +const char *endingLine_EN = "Congratulations!!! Hope you enjoyed playing ToonStruck!!"; +const char *endingLine_FR = "F\202licitations ! Nous esp\202rons que vous avez aim\202 ToonStruck !"; +const char *endingLine_DE = "Herzlichen Gl\201ckwunsch! Wir hoffen, Toonstruck hat Ihnen Spa\341 gemacht!"; +const char *endingLine_RU = "Congratulations!!! Hope you enjoyed playing ToonStruck!!"; +const char *endingLine_SP = "\255\255Enhorabuena!! \255\255Esperamos que te diviertas jugando a ToonStruck!!"; + +const char *exitLine_EN = "Hope you enjoyed playing ToonStruck!!"; +const char *exitLine_FR = "Nous esp\202rons que vous avez aim\202 jouer \205 ToonStruck !"; +const char *exitLine_DE = "Wir hoffen, Toonstruck hat Ihnen Spa\341 gemacht!"; +const char *exitLine_RU = "Hope you enjoyed playing ToonStruck!!"; +const char* exitLine_SP = "\255\255Esperamos que te diviertas jugando a ToonStruck!!"; + +#endif + | 
