22#ifndef LASTEXPRESS_SOUND_SUBTITLE_H
23#define LASTEXPRESS_SOUND_SUBTITLE_H
25#include "lastexpress/shared.h"
26#include "lastexpress/sound/slot.h"
30class LastExpressEngine;
52 Slot *_slot =
nullptr;
53 uint16 *_data =
nullptr;
67 void storeVArea(PixMap *pixels);
68 void restoreVArea(PixMap *pixels);
72 void drawChar(PixMap *destBuf, uint8 whichChar);
73 void drawSubArea(uint16 *subtitleData);
79 uint16 *_subtitlesData =
nullptr;
81 Subtitle *_currentSubtitle =
nullptr;
83 int32 _subtitleIndex = 0;
84 int32 _lowerLineXStart = 0;
85 int32 _upperLineXStart = 0;
86 int32 _upperLineCharWidths[60];
87 int32 _lowerLineCharWidths[60];
88 int16 _upperLineChars[60];
89 int16 _lowerLineChars[60];
90 int32 _upperLineLength = 0;
91 int32 _lowerLineLength = 0;
Definition: graphics.h:64
Definition: lastexpress.h:523
Definition: subtitle.h:36
Definition: subtitle.h:57
Definition: lastexpress.h:463