diff options
author | James Brown | 2003-05-16 12:58:49 +0000 |
---|---|---|
committer | James Brown | 2003-05-16 12:58:49 +0000 |
commit | 914d8867692eea52373c74d0afa80bde6a1fa7b8 (patch) | |
tree | 4de31c93ed97706495abded5dee6f01f71dd20eb /scumm | |
parent | ce6e5993c366ea95a7479a9f2137d6ad9a8d12a6 (diff) | |
download | scummvm-rg350-914d8867692eea52373c74d0afa80bde6a1fa7b8.tar.gz scummvm-rg350-914d8867692eea52373c74d0afa80bde6a1fa7b8.tar.bz2 scummvm-rg350-914d8867692eea52373c74d0afa80bde6a1fa7b8.zip |
test stuff
svn-id: r7573
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/script_v2.cpp | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp index 58c4f15745..b6c79e2c92 100644 --- a/scumm/script_v2.cpp +++ b/scumm/script_v2.cpp @@ -875,7 +875,25 @@ void Scumm_v2::o2_doSentence() { } void Scumm_v2::o2_drawSentence() { - warning("TODO o2_drawSentence()"); + byte *verb_bit = getResourceAddress(rtVerb, getVerbSlot(_scummVars[26],0)); + byte *name_bit, *name2_bit; + + if (_scummVars[27] > 0) { + name_bit = getObjOrActorName(_scummVars[27]); + } else { + name_bit = NULL; +//(byte*)strdup(""); + } + + if (_scummVars[28] > 0) { + name2_bit = getObjOrActorName(_scummVars[28]); + } else { + name2_bit = NULL; +//(byte*)strdup(""); + } + + warning("TODO o2_drawSentence(%s, %s, %s)", + verb_bit, name_bit, name2_bit); } void Scumm_v2::o2_ifClassOfIs() { |