aboutsummaryrefslogtreecommitdiff
path: root/sword2/maketext.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-10-07 07:07:47 +0000
committerTorbjörn Andersson2003-10-07 07:07:47 +0000
commit29b646b30a967f1ec1028b4112fd106ed7b24143 (patch)
treea2f2dbe3de212e437844fe546ef51321a6f13ffd /sword2/maketext.cpp
parente8b6016e336567ef9abf9c0b5e1fe3097c02a90e (diff)
downloadscummvm-rg350-29b646b30a967f1ec1028b4112fd106ed7b24143.tar.gz
scummvm-rg350-29b646b30a967f1ec1028b4112fd106ed7b24143.tar.bz2
scummvm-rg350-29b646b30a967f1ec1028b4112fd106ed7b24143.zip
Some cleanup, some code removal and some unstubbing. Nothing important.
svn-id: r10659
Diffstat (limited to 'sword2/maketext.cpp')
-rw-r--r--sword2/maketext.cpp13
1 files changed, 9 insertions, 4 deletions
diff --git a/sword2/maketext.cpp b/sword2/maketext.cpp
index 5fb09bce94..f813a897d6 100644
--- a/sword2/maketext.cpp
+++ b/sword2/maketext.cpp
@@ -451,7 +451,7 @@ typedef struct {
mem *text_mem;
} text_bloc;
-text_bloc text_sprite_list[MAX_text_blocs];
+static text_bloc text_sprite_list[MAX_text_blocs];
void Init_text_bloc_system(void) {
for (int j = 0; j < MAX_text_blocs; j++)
@@ -648,9 +648,6 @@ void InitialiseFontResourceFlags(void) {
// Get the game name for the windows application
- // FIXME: Since SetWindowName() is stubbed, this doesn't actually do
- // anything at the moment. Should it be removed?
-
// Get the text line - skip the 2 chars containing the wavId
if (g_sword2->_gameId == GID_SWORD2_DEMO)
@@ -658,6 +655,14 @@ void InitialiseFontResourceFlags(void) {
else
textLine = FetchTextLine(textFile, 54) + 2;
+ // According to the GetNameFunction(), which was never called and has
+ // therefore been removed, the name of the game is:
+ //
+ // ENGLISH: "Broken Sword II"
+ // AMERICAN: "Circle of Blood II"
+ // GERMAN: "Baphomet's Fluch II"
+ // default: "Some game or other, part 86"
+
SetWindowName((char *) textLine);
// now ok to close the text file