aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2/logic.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sword2/logic.h')
-rw-r--r--engines/sword2/logic.h19
1 files changed, 2 insertions, 17 deletions
diff --git a/engines/sword2/logic.h b/engines/sword2/logic.h
index e68d9c9317..6048fe7310 100644
--- a/engines/sword2/logic.h
+++ b/engines/sword2/logic.h
@@ -24,13 +24,12 @@
#ifndef SWORD2_LOGIC_H
#define SWORD2_LOGIC_H
-#include "sword2/memory.h"
#include "common/endian.h"
+#include "sword2/animation.h"
+#include "sword2/memory.h"
namespace Sword2 {
-struct MovieTextObject;
-
#define MAX_events 10
#define TREE_SIZE 3
@@ -79,22 +78,8 @@ private:
// keeps count of number of text lines to disaply during the sequence
uint32 _sequenceTextLines;
- // FOR TEXT LINES IN SEQUENCE PLAYER
-
- struct SequenceTextInfo {
- uint32 textNumber;
- uint16 startFrame;
- uint16 endFrame;
- byte *text_mem;
- uint32 speechBufferSize;
- uint16 *speech_mem;
- };
-
SequenceTextInfo _sequenceTextList[MAX_SEQUENCE_TEXT_LINES];
- void createSequenceSpeech(MovieTextObject *sequenceText[]);
- void clearSequenceSpeech(MovieTextObject *sequenceText[]);
-
// when not playing a wav we calculate the speech time based upon
// length of ascii