Mercurial > mm7
diff mm7_5.cpp @ 254:d1af3319bc44
BuilDialogueString: replaces %xx in dialogue strings by appropriate values
author | Nomad |
---|---|
date | Mon, 18 Feb 2013 08:48:23 +0200 |
parents | 37dcbe8f3cca |
children | 8cf4fe6b4941 |
line wrap: on
line diff
--- a/mm7_5.cpp Mon Feb 18 07:26:48 2013 +0200 +++ b/mm7_5.cpp Mon Feb 18 08:48:23 2013 +0200 @@ -13570,7 +13570,7 @@ dword_506548 = 0; dword_506520 = 0; v7 = *pStorylineText->StoreLine[v6].pText;//*(&pStorylineText->field_0 + 3 * v6); - v8 = sub_495461( + v8 = BuilDialogueString( pStorylineText->StoreLine[v6].pText, uActiveCharacter - 1, 0, @@ -16108,7 +16108,7 @@ a1.DrawTitleText(pFontArrus, 0, 0xCu, v13, v11, 3u); a1.uFrameWidth -= 24; a1.uFrameZ = a1.uFrameX + a1.uFrameWidth - 1; - v14 = sub_495461((char *)lpsz, uActiveCharacter - 1, 0, 0, 0, 0); + v14 = BuilDialogueString((char *)lpsz, uActiveCharacter - 1, 0, 0, 0, 0); a1.DrawText(pFontArrus, 100, 36, 0, v14, 0, 0, 0); } }