comparison scn2k/scn2k_text.cc @ 39:de29c4d2d043

(none)
author thib
date Tue, 17 Mar 2009 22:00:05 +0000
parents 658272d883ed
children 651237260724
comparison
equal deleted inserted replaced
38:658272d883ed 39:de29c4d2d043
983 cmd.clear(); 983 cmd.clear();
984 } 984 }
985 } else if (cmd.cmd1 == 0 && cmd.cmd2 == 2 && (cmd.cmd3 == 1 || cmd.cmd3 == 3) && cmd.cmd4 == 0) { 985 } else if (cmd.cmd1 == 0 && cmd.cmd2 == 2 && (cmd.cmd3 == 1 || cmd.cmd3 == 3) && cmd.cmd4 == 0) {
986 // 選択肢 986 // 選択肢
987 CreateSelect(cmd); 987 CreateSelect(cmd);
988 //FIXME: Check if it's really clean
989 if (text_parsing) {
990 show();
991 text->StartText(text_stream);
992 if (skip_mode & SKIP_TEXT) text->wid->Flush();
993 else if (kcursor) kcursor->hide();
994 text_parsing = false;
995 text_stream.Clear();
996 }
988 cmd.cmd_type = CMD_ROLLBACKPOINT; /* 選択肢はセーブ位置 / シナリオ巻き戻し位置 */ 997 cmd.cmd_type = CMD_ROLLBACKPOINT; /* 選択肢はセーブ位置 / シナリオ巻き戻し位置 */
989 // cmd.clear(); 998 // cmd.clear();
990 } else if (cmd.cmd1 == 0 && cmd.cmd2 == 4) { 999 } else if (cmd.cmd1 == 0 && cmd.cmd2 == 4) {
991 if (cmd.cmd3 == 0x44c) { // テキストスキップ開始 1000 if (cmd.cmd3 == 0x44c) { // テキストスキップ開始
992 status_mask = Status(SKIPMASK | status_mask); 1001 status_mask = Status(SKIPMASK | status_mask);