[Scummvm-git-logs] scummvm master -> 8ffbb2ec9c3b6e9db19f74333a71ebdf69862110
bluegr
noreply at scummvm.org
Wed Jan 3 22:43:53 UTC 2024
This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
02b3d3651a TOON: Support hebrew characters and bidi text
8ffbb2ec9c TOON: Add static hebrew strings
Commit: 02b3d3651a0212da849e903418cd45d2f4f6ea62
https://github.com/scummvm/scummvm/commit/02b3d3651a0212da849e903418cd45d2f4f6ea62
Author: BLooperZ (blooperz at users.noreply.github.com)
Date: 2024-01-04T00:43:49+02:00
Commit Message:
TOON: Support hebrew characters and bidi text
Changed paths:
engines/toon/detection.cpp
engines/toon/font.cpp
diff --git a/engines/toon/detection.cpp b/engines/toon/detection.cpp
index b9f9822cc6c..e94269b4bda 100644
--- a/engines/toon/detection.cpp
+++ b/engines/toon/detection.cpp
@@ -97,6 +97,17 @@ static const ADGameDescription gameDescriptions[] = {
},
Common::RU_RUS, Common::kPlatformDOS, ADGF_NO_FLAGS, GUIO1(GUIO_NOMIDI)
},
+ {
+ "toon", "",
+ {
+ {"toonfont.caf", 0, "28f3210c901c86cd585d69eda3a2fd37", 30364},
+ {"local.pak", 0, "3290209ef9bc92692108dd2f45df0736", 3237611},
+ {"arcaddbl.svl", 0, "c418478cd2833c7c983799f948af41ac", 7844688},
+ {"study.svl", 0, "281efa3f33f6712c0f641a605f4d40fd", 2511090},
+ AD_LISTEND
+ },
+ Common::HE_ISR, Common::kPlatformDOS, ADGF_NO_FLAGS, GUIO1(GUIO_NOMIDI)
+ },
{
"toon", "Demo",
{
diff --git a/engines/toon/font.cpp b/engines/toon/font.cpp
index db4faceefce..a045491ab35 100644
--- a/engines/toon/font.cpp
+++ b/engines/toon/font.cpp
@@ -21,6 +21,7 @@
#include "common/debug.h"
#include "common/rect.h"
+#include "common/unicode-bidi.h"
#include "toon/font.h"
@@ -53,6 +54,17 @@ static const byte map_textToFont[0x80] = {
0x23, 0x08, 0x23, 0x06, 0x15, 0x23, 0x1b, 0x23, 0x23, 0x16, 0x07, 0x17, 0x1c, 0x23, 0x23, 0x23 // 0xFx
};
+static const byte hebrew_map_textToFont[0x80] = {
+ '?', '?', '?', '?', 0x03, '?', '?', '?', '?', '?', '?', '?', '?', '?', '?', '?', // 0x8x
+ '?', '?', '?', '?', '?', '?', '?', '?', '?', '?', '?', '?', '?', '?', '?', '?', // 0x9x
+ '?', 0x09, '?', '?', '?', '?', '?', '?', '?', '?', '?', '?', '?', '?', '?', '?', // 0xAx
+ '?', '?', '?', '?', '?', '?', '?', '?', '?', '?', '?', '?', '?', '?', '?', 0x0a, // 0xBx
+ '?', '?', '?', '?', 0x1d, '?', '?', 0x02, '?', '?', '?', '?', '?', '?', '?', '?', // 0xCx
+ '?', 0x0b, '?', '?', '?', '?', 0x1e, '?', '?', '?', '?', 0x20, 0x1f, '?', '?', 0x19, // 0xDx
+ 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10, 0x11, 0x12, 0x13, // 0xEx
+ 0x14, 0x15, 0x16, 0x17, 0x18, 0x19, 0x1A, 0x1B, 0x1C, 0x1D, 0x1E, 0x17, 0x1c, 0x23, 0x23, 0x23 // 0xFx
+};
+
byte FontRenderer::textToFont(byte c) {
// No need to remap simple characters.
if (c < 0x80)
@@ -65,6 +77,9 @@ byte FontRenderer::textToFont(byte c) {
if (_vm->_language == Common::ES_ESP && c == 0xe9)
return 0x10;
+ if (_vm->_language == Common::HE_ISR)
+ return hebrew_map_textToFont[c - 0x80];
+
// Use the common map to convert the extended characters.
return map_textToFont[c - 0x80];
}
@@ -92,6 +107,10 @@ void FontRenderer::renderText(int16 x, int16 y, const Common::String &origText,
int32 height = 0;
const byte *text = (const byte *)origText.c_str();
+
+ if (_vm->_language == Common::HE_ISR)
+ text = (const byte *)Common::convertBiDiString((const char *) text, Common::kWindows1255).c_str();
+
while (*text) {
byte curChar = *text;
if (curChar == 13) {
@@ -301,6 +320,10 @@ void FontRenderer::renderMultiLineText(int16 x, int16 y, const Common::String &o
for (int32 i = 0; i < numLines; i++) {
const byte *line = lines[i];
+
+ if (_vm->_language == Common::HE_ISR)
+ line = (const byte *)Common::convertBiDiString((const char *) line, Common::kWindows1255).c_str();
+
curX = x - lineSize[i] / 2;
_vm->addDirtyRect(curX + _vm->state()->_currentScrollValue, curY, curX + lineSize[i] + _vm->state()->_currentScrollValue + 2, curY + height);
Commit: 8ffbb2ec9c3b6e9db19f74333a71ebdf69862110
https://github.com/scummvm/scummvm/commit/8ffbb2ec9c3b6e9db19f74333a71ebdf69862110
Author: BLooperZ (blooperz at users.noreply.github.com)
Date: 2024-01-04T00:43:49+02:00
Commit Message:
TOON: Add static hebrew strings
Changed paths:
devtools/create_toon/create_toon.cpp
devtools/create_toon/create_toon.h
devtools/create_toon/staticdata.h
dists/engine-data/toon.dat
engines/toon/toon.cpp
engines/toon/toon.h
diff --git a/devtools/create_toon/create_toon.cpp b/devtools/create_toon/create_toon.cpp
index b75a5710c0d..f84b6152926 100644
--- a/devtools/create_toon/create_toon.cpp
+++ b/devtools/create_toon/create_toon.cpp
@@ -89,6 +89,9 @@ int main(int argc, char *argv[]) {
nbrElem = sizeof(locationDirNotVisited_SP) / sizeof(char *);
writeTextArray(outFile, locationDirNotVisited_SP, nbrElem);
+ nbrElem = sizeof(locationDirNotVisited_HE) / sizeof(char *);
+ writeTextArray(outFile, locationDirNotVisited_HE, nbrElem);
+
// Write locationDirVisited
nbrElem = sizeof(locationDirVisited_EN) / sizeof(char *);
writeTextArray(outFile, locationDirVisited_EN, nbrElem);
@@ -105,6 +108,9 @@ int main(int argc, char *argv[]) {
nbrElem = sizeof(locationDirVisited_SP) / sizeof(char *);
writeTextArray(outFile, locationDirVisited_SP, nbrElem);
+ nbrElem = sizeof(locationDirVisited_HE) / sizeof(char *);
+ writeTextArray(outFile, locationDirVisited_HE, nbrElem);
+
// Write specialInfoLine
nbrElem = sizeof(specialInfoLine_EN) / sizeof(char *);
writeTextArray(outFile, specialInfoLine_EN, nbrElem);
@@ -121,6 +127,9 @@ int main(int argc, char *argv[]) {
nbrElem = sizeof(specialInfoLine_SP) / sizeof(char *);
writeTextArray(outFile, specialInfoLine_SP, nbrElem);
+ nbrElem = sizeof(specialInfoLine_HE) / sizeof(char *);
+ writeTextArray(outFile, specialInfoLine_HE, nbrElem);
+
// Not yet handled: miscTexts, endingLine and exitLine. Are they useful?
fclose(outFile);
diff --git a/devtools/create_toon/create_toon.h b/devtools/create_toon/create_toon.h
index 23c6dad6378..03cacd59e04 100644
--- a/devtools/create_toon/create_toon.h
+++ b/devtools/create_toon/create_toon.h
@@ -27,11 +27,11 @@
#define DATAALIGNMENT 4
#define TOON_DAT_VER_MAJ 0 // 1 byte
-#define TOON_DAT_VER_MIN 3 // 1 byte
+#define TOON_DAT_VER_MIN 4 // 1 byte
// Number of variants of the game. For the moment, it's the same
// as the number of languages
-#define NUM_VARIANTS 5
+#define NUM_VARIANTS 6
typedef unsigned char uint8;
typedef unsigned char byte;
diff --git a/devtools/create_toon/staticdata.h b/devtools/create_toon/staticdata.h
index fba07830024..5733022bee8 100644
--- a/devtools/create_toon/staticdata.h
+++ b/devtools/create_toon/staticdata.h
@@ -142,6 +142,30 @@ const char *locationDirNotVisited_SP[] = {
"Sady's", "Establo", "Wacme", "Laboratorio"
};
+const char *locationDirNotVisited_HE[] = {
+ "\xEE\xF2\xE1\xE3\xE4", "\xE3\xF8\xEA", "\xE4\xE7\xE5\xF6\xE4", "\xE1\xE5\xF8", "\xE4\xE9\xEB\xEC \xE4\xE0\xF8\xEE\xE5\xEF",
+ "\xE3\xEC\xFA", "\xEE\xF2\xE1\xF8 \xF1\xFA\xF8\xE9\xED", "\xF4\xFA\xE7", "\xF4\xFA\xE7", "\xF1\xFA\xED",
+ "\xE3\xF8\xEA", "\xE7\xF0\xE5\xFA", "\xE7\xF0\xE5\xFA", "\xE7\xF0\xE5\xFA", "\xE7\xF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8\xE9\xED \xE0\xEC-\xE0\xF0\xE5\xF9\xE9\xE9\xED \xE1\xF2\"\xEE", "\xE4\xF1\xE3\xF0\xE4 \xF9\xEC \xF8\xE5\xE1\xE5\xE8\xE9\xED \xE0\xEC-\xE0\xF0\xE5\xF9\xE9\xE9\xED \xE1\xF2\"\xEE",
+ "\xF1\xE5\xF3 \xE4\xF2\xE5\xEC\xED", "\xE1\xE9\xF6\xE5\xF8\xE9 \xE4\xE8\xE9\xF8\xE4", "\xE2\xE2 \xE4\xE8\xE9\xF8\xE4", "\xEE\xE8\xE1\xE7", "\xF1\xEC\xE5\xEF",
+ "\xE7\xE3\xF8 \xF9\xE9\xF0\xE4", "\xEE\xF2\xE1\xE3\xE4", "\xEE\xE7\xF1\xEF \xF7\xE5\xEE\xE4 \xF8\xE0\xF9\xE5\xF0\xE4", "\xEE\xE7\xF1\xEF \xF7\xE5\xEE\xE4 \xF9\xF0\xE9\xE4", "\xEE\xE7\xF1\xEF \xF7\xE5\xEE\xE4 \xF9\xEC\xE9\xF9\xE9\xFA",
+ "\xE0\xF8\xEE\xE5\xEF \xE4\xEE\xEC\xEA \xF6\xE5\xEE\xE9", "\xE7\xE3\xF8 \xE4\xF4\xF8\xF1\xE9\xED", "\xE8\xF8\xF7\xEC\xE9\xEF", "\xE8\xF8\xF7\xEC\xE9\xEF", "\xE7\xE3\xF8 \xE4\xEB\xF1",
+ "\xEE\xF9\xF8\xE3", "\xEE\xF8\xF4\xF1\xFA", "\xEE\xE2\xE3\xEC\xE5\xF8", "\xE7\xE3\xF8 \xF9\xE9\xF0\xE4", "\xE4\xE9\xEB\xEC \xE4\xE4\xF9\xFA\xF7\xF4\xE5\xFA",
+ "\xF1\xE9\xE3\xE9", "\xE0\xF1\xED", "\xEB\xE5\xFA\xE5\xFA\xE9", "\xEE\xF2\xE1\xE3\xE4"
+};
+
const char *locationDirVisited_EN[] = {
"Lab", "Meadow", "King Hugh's Palace", "Pothole", "Palace Hallway",
"Bedroom", "Cellar", "Trophy Room", "Laboratory", "DUMMY",
@@ -262,11 +286,38 @@ const char *locationDirVisited_SP[] = {
"Sady's", "Establo", "Wacme", "Laboratorio "
};
+
+const char *locationDirVisited_HE[] = {
+ "\xEE\xF2\xE1\xE3\xE4", "\xE0\xE7\xE5", "\xE0\xF8\xEE\xE5\xEF \xE4\xEE\xEC\xEA \xF6\xE5\xEE\xE9", "\xE1\xE5\xF8", "\xE4\xE9\xEB\xEC \xE4\xE0\xF8\xEE\xE5\xEF",
+ "\xE7\xE3\xF8 \xF9\xE9\xF0\xE4", "\xEE\xF8\xFA\xF3", "\xE7\xE3\xF8 \xE4\xF4\xF8\xF1\xE9\xED", "\xEE\xF2\xE1\xE3\xE4", "\xF1\xFA\xED",
+ "\xEE\xF8\xEB\xE6 \xE4\xF2\xE9\xE9\xF8\xE4", "\xEE\xE0\xF4\xE9\xE9\xE4", "\xE7\xF0\xE5\xFA \xFA\xE7\xF4\xE5\xF9\xE5\xFA", "\xEE\xF1\xE1\xE0\xE4", "\xEE\xF9\xE7\xF7\xE9\xE4",
+ "\xEB\xF4\xF8", "\xEB\xF4\xF8 \xEE\xE5\xE6\xE3", "\xEB\xF4\xF8 \xEE\xE5\xE6\xE3", "\xEB\xF0\xE9\xF1\xE4", "\xEB\xF0\xE9\xF1\xE4",
+ "\xE9\xF2\xF8", "\xFA\xE7\xF0\xFA \xEE\xF2\xE1\xE5\xF8\xFA", "\xEE\xF8\xEB\xE6 \xE6\xF0\xE9\xE3\xE5", "\xE6\xF0\xE9\xE3\xE5 \xFA\xE7\xFA\xE9\xFA", "\xEB\xF0\xE9\xF1\xE4 \xEC\xEB\xE5\xFA\xE5\xFA\xE9",
+ "\xE6\xF0\xE9\xE3\xE5 \xF2\xE9\xEC\xE9\xFA", "\xEB\xF0\xE9\xF1\xE4", "\xEB\xF0\xE9\xF1\xE4", "\xEE\xEE\xF9-\xF0\xE9\xE3\xE7", "\xE2\xE5\xE1 \xE6\xE0\xE1\xE9\xED",
+ "\xE6\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\xE1\xF2\"\xEE", "\xE4\xF1\xE3\xF0\xE4 \xF9\xEC \xF8\xE5\xE1\xE5\xE8\xE9\xED \xE0\xEC-\xE0\xF0\xE5\xF9\xE9\xE9\xED \xE1\xF2\"\xEE",
+ "\xF1\xE5\xF3 \xE4\xF2\xE5\xEC\xED", "\xE1\xE9\xF6\xE5\xF8\xE9 \xE4\xE8\xE9\xF8\xE4", "\xE2\xE2 \xE4\xE8\xE9\xF8\xE4", "\xEE\xE8\xE1\xE7", "\xF1\xEC\xE5\xEF",
+ "\xE7\xE3\xF8 \xF9\xE9\xF0\xE4", "\xEE\xF2\xE1\xE3\xE4", "\xEE\xE7\xF1\xEF \xF7\xE5\xEE\xE4 \xF8\xE0\xF9\xE5\xF0\xE4", "\xEE\xE7\xF1\xEF \xF7\xE5\xEE\xE4 \xF9\xF0\xE9\xE4", "\xEE\xE7\xF1\xEF \xF7\xE5\xEE\xE4 \xF9\xEC\xE9\xF9\xE9\xFA",
+ "\xE0\xF8\xEE\xE5\xEF \xE4\xEE\xEC\xEA \xF6\xE5\xEE\xE9", "\xE7\xE3\xF8 \xE4\xF4\xF8\xF1\xE9\xED", "\xE8\xF8\xF7\xEC\xE9\xEF", "\xE8\xF8\xF7\xEC\xE9\xEF", "\xE7\xE3\xF8 \xE4\xEB\xF1",
+ "\xEE\xF9\xF8\xE3", "\xEE\xF8\xF4\xF1\xFA", "\xEE\xE2\xE3\xEC\xE5\xF8", "\xE7\xE3\xF8 \xF9\xE9\xF0\xE4", "\xE4\xE9\xEB\xEC \xE4\xE4\xF9\xFA\xF7\xF4\xE5\xFA",
+ "\xF1\xE9\xE3\xE9", "\xE0\xF1\xED", "\xEB\xE5\xFA\xE5\xFA\xE9", "\xEE\xF2\xE1\xE3\xE4"
+};
+
+
const char *specialInfoLine_EN[] = { "Exit not defined", "Bottomless Bag", "Flux Wildly", "Drew Blanc" };
const char *specialInfoLine_FR[] = { "Exit not defined", "Inventaire", "Flux Radieux", "Marc Blanc" };
const char *specialInfoLine_DE[] = { "Exit not defined", "Bodenloser Beutel", "Flux W. Wild", "Mal Block" };
const char *specialInfoLine_RU[] = { "Exit not defined", " Fdjcmrf ", " :bdxbr ", "Lhe <k'yr " };
const char *specialInfoLine_SP[] = { "Exit not defined", "Saco sin fondo", "Flux Tarambana", "Andr\351s Truido" };
+const char *specialInfoLine_HE[] = { "\xE9\xF6\xE9\xE0\xE4 \xEC\xE0 \xEE\xE5\xE2\xE3\xF8\xFA", "\xF9\xF7 \xEC\xEC\xE0 \xFA\xE7\xFA\xE9\xFA", "\xF4\xEC\xE0\xF7\xF1 \xE5\xE5\xE9\xEC\xE3\xEC\xE9", "\xE3\xF8\xE5 \xE1\xEC\xE0\xF0\xF7" };
// Those are not yet in the DAT file. They'll be added as soon as they are really used.
const char *miscTexts_EN[] = {
@@ -304,16 +355,25 @@ const char *miscTexts_SP[] = {
"El archivo %s no aparece. Pulsa una tecla."
};
+const char *miscTexts_HE[] = {
+ "\xE4\xE0\xED \xE0\xFA\xED \xE1\xE8\xE5\xE7\xE9\xED \xF9\xE1\xF8\xF6\xE5\xE5\xF0\xEB\xED \xEC\xF6\xE0\xFA? (\xEB/\xEC)",
+ "\xF0\xE0 \xEC\xE4\xEB\xF0\xE9\xF1 \xE0\xFA \xFA\xF7\xEC\xE9\xE8\xE5\xF8 \xEE\xF1\xF4\xF8 \xE0\xE7\xFA",
+ "\xF0\xE0 \xEC\xE4\xEB\xF0\xE9\xF1 \xE0\xFA \xFA\xF7\xEC\xE9\xE8\xE5\xF8 \xEE\xF1\xF4\xF8 \xF9\xFA\xE9\xE9\xED",
+ "\xE4\xF7\xE5\xE1\xF5 %s \xE7\xF1\xF8. \xF0\xE0 \xEC\xEC\xE7\xE5\xF5 \xF2\xEC \xEE\xF7\xF9 \xEB\xEC\xF9\xE4\xE5."
+};
+
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 *endingLine_HE = "\xEE\xE6\xEC \xE8\xE5\xE1!!! \xEE\xF7\xE5\xE5\xE9\xED \xF9\xF0\xE4\xF0\xE9\xFA\xED \xEC\xF9\xE7\xF7 \xE1\xF6\xE9\xE9\xF8\xE5\xF8\xE9!!";
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!!";
+const char *exitLine_HE = "\xEE\xF7\xE5\xE5\xE9\xED \xF9\xF0\xE4\xF0\xE9\xFA\xED \xEC\xF9\xE7\xF7 \xE1\xF6\xE9\xE9\xF8\xE5\xF8\xE9!!";
#endif
diff --git a/dists/engine-data/toon.dat b/dists/engine-data/toon.dat
index 82354c42397..542c6d626a3 100644
Binary files a/dists/engine-data/toon.dat and b/dists/engine-data/toon.dat differ
diff --git a/engines/toon/toon.cpp b/engines/toon/toon.cpp
index da96470779a..9559ff09af5 100644
--- a/engines/toon/toon.cpp
+++ b/engines/toon/toon.cpp
@@ -1663,6 +1663,9 @@ ToonEngine::ToonEngine(OSystem *syst, const ADGameDescription *gameDescription)
case Common::ES_ESP:
_gameVariant = 4;
break;
+ case Common::HE_ISR:
+ _gameVariant = 5;
+ break;
default:
// 0 - english
_gameVariant = 0;
diff --git a/engines/toon/toon.h b/engines/toon/toon.h
index 75877236c9a..188945d4d76 100644
--- a/engines/toon/toon.h
+++ b/engines/toon/toon.h
@@ -45,7 +45,7 @@ class MemoryWriteStreamDynamic;
struct ADGameDescription;
#define TOON_DAT_VER_MAJ 0 // 1 byte
-#define TOON_DAT_VER_MIN 3 // 1 byte
+#define TOON_DAT_VER_MIN 4 // 1 byte
#define TOON_SAVEGAME_VERSION 6
#define DATAALIGNMENT 4
#define MAX_SAVE_SLOT 99
More information about the Scummvm-git-logs
mailing list