aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage/converse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/tsage/converse.cpp')
-rw-r--r--engines/tsage/converse.cpp16
1 files changed, 13 insertions, 3 deletions
diff --git a/engines/tsage/converse.cpp b/engines/tsage/converse.cpp
index d737ad8306..e00603bc05 100644
--- a/engines/tsage/converse.cpp
+++ b/engines/tsage/converse.cpp
@@ -380,7 +380,7 @@ ConversationChoiceDialog::ConversationChoiceDialog() {
_fontNumber = 1;
}
-int ConversationChoiceDialog::execute(const StringArray &choiceList) {
+int ConversationChoiceDialog::execute(const Common::StringArray &choiceList) {
_gfxManager._font.setFontNumber(_fontNumber);
_bounds = Rect(20, 0, 20, 0);
@@ -478,7 +478,7 @@ void ConversationChoiceDialog::draw() {
// Loop through writing the conversation choices
for (uint idx = 0; idx < _choiceList.size(); ++idx) {
- Common::String strNum = String::format("%d", idx + 1);
+ Common::String strNum = Common::String::format("%d", idx + 1);
// Write the choice number
_gfxManager._font.setPosition(13, _choiceList[idx]._bounds.top);
@@ -668,7 +668,7 @@ void StripManager::signal() {
Obj44 &obj44 = _obj44List[_obj44Index];
_field2E8 = obj44._id;
- StringArray choiceList;
+ Common::StringArray choiceList;
// Build up a list of script entries
int idx;
@@ -976,6 +976,16 @@ SpeakerSText::SpeakerSText(): ScreenSpeaker() {
/*--------------------------------------------------------------------------*/
+SpeakerMText::SpeakerMText() {
+ _speakerName = "MTEXT";
+ _colour1 = 11;
+ _textWidth = 160;
+ _textMode = ALIGN_CENTRE;
+ _hideObjects = false;
+}
+
+/*--------------------------------------------------------------------------*/
+
void SpeakerAction::signal() {
switch (_actionIndex++) {
case 0: