rtoss

Subversion Repositories:
Compare Path: Rev
With Path: Rev
/satoriya-utf8/ @ 57  →  /satoriya-utf8/ @ 58
/satoriya-utf8/satori/satori_sentence.cpp
@@ -173,6 +173,8 @@
//それ以外はどこかにジャンプを示す
if ( resp == 1 ) {
string jump = jump_to;
m_escaper.unescape(jump);
 
const Talk* pTR = GetSentenceInternal(jump);
if ( ! pTR ) {
sender << ">" << jump_to << " not found." << endl;
@@ -185,6 +187,8 @@
}
else if ( resp == 2 ) {
string jump = jump_to;
m_escaper.unescape(jump);
 
const Talk* pTR = talks.communicate_search(jump, comAndMode);
if ( ! pTR ) {
sender << "≫" << jump_to << " not found." << endl;
/satoriya-utf8/satori/satori_load_dict.cpp
@@ -314,12 +314,18 @@
while (i->body.size() > 0 && i->body[i->body.size()-1].length() == 0) {
i->body.pop_back();
}
 
m_escaper.unescape(i->name);
if ( i->typemark == "*" )
{
// トークの場合
if ( is_for_anchor ) { anchors.push_back(i->name); }
talks.add_element(i->name, i->body, i->condition);
 
#ifdef _DEBUG
sender << "*" << i->name << " " << i->condition << endl;
#endif
}
else
{
@@ -329,6 +335,10 @@
{
words.add_element(i->name, *j, i->condition);
}
 
#ifdef _DEBUG
sender << "@" << i->name << " " << i->condition << endl;
#endif
}
 
}