aboutsummaryrefslogtreecommitdiff
path: root/sky
diff options
context:
space:
mode:
authorJoost Peters2003-04-05 18:06:52 +0000
committerJoost Peters2003-04-05 18:06:52 +0000
commit38000625346cb853d2599244a93197692cce5244 (patch)
tree3d3e8823f96bd1f9a93e9429673f91487271fd79 /sky
parent1b4818662e1a882daaa9165f534267c39544bdab (diff)
downloadscummvm-rg350-38000625346cb853d2599244a93197692cce5244.tar.gz
scummvm-rg350-38000625346cb853d2599244a93197692cce5244.tar.bz2
scummvm-rg350-38000625346cb853d2599244a93197692cce5244.zip
removed debug/text dump code (oops :))
svn-id: r6914
Diffstat (limited to 'sky')
-rw-r--r--sky/text.cpp36
1 files changed, 0 insertions, 36 deletions
diff --git a/sky/text.cpp b/sky/text.cpp
index ddf3cf6888..2fae6d9469 100644
--- a/sky/text.cpp
+++ b/sky/text.cpp
@@ -28,11 +28,8 @@
#define NO_OF_TEXT_SECTIONS 8 // 8 sections per language
#define CHAR_SET_FILE 60150
#define SET_FONT_DATA_SIZE 12
-#define TD_LINE_JUMP 10
#define MAX_SPEECH_SECTION 7
-//#define DO_TEXT_DUMP
-
void SkyState::initialiseText(void) {
_mainCharacterSet.addr = (byte *)loadFile(CHAR_SET_FILE, NULL);
@@ -46,39 +43,6 @@ void SkyState::initialiseText(void) {
if (_isCDVersion) {
_preAfterTableArea = loadFile(60522, NULL);
}
-
- #ifdef DO_TEXT_DUMP
- uint32 dumpConvertTable[] = {
- 553, // 553 lines in section 0
- 484, // 488 (484?) lines in section 1
- 1303, // 1303 lines in section 2
- 922, // 922 lines in section 3
- 1140, // 1140 lines in section 4
- 531, // 531 lines in section 5
- 150 // 150 lines in section 6
- };
-
- uint32 sectionCounter = 0;
- uint32 textNumber = 0;
- int32 lines = 0;
- uint32 textNr;
-
- for (sectionCounter = 0; sectionCounter < MAX_SPEECH_SECTION; sectionCounter++) {
- lines = dumpConvertTable[sectionCounter];
- textNumber = 0;
-
- do {
- textNr = (sectionCounter << 12) + textNumber;
- printf("Section \"%d\", Item \"%d\", Number \"%d\"\n", sectionCounter, textNumber, lines);
- getText(textNr);
- printf("Text: \"%s\"\n", _textBuffer);
- textNumber += TD_LINE_JUMP;
- lines -= TD_LINE_JUMP;
- } while (lines > -1);
- }
-
- #endif
-
}
void SkyState::setupVersionSpecifics(uint32 version) {