diff options
author | Max Horn | 2003-07-19 18:18:01 +0000 |
---|---|---|
committer | Max Horn | 2003-07-19 18:18:01 +0000 |
commit | 2fbf782c05bf5ff06e2817e487e152e8739be9ee (patch) | |
tree | c9f09796dea78d0a9fc22125c464b205644ac331 /scumm/string.cpp | |
parent | d516f3467cde8fa05ef26732a58e289cd13444e6 (diff) | |
download | scummvm-rg350-2fbf782c05bf5ff06e2817e487e152e8739be9ee.tar.gz scummvm-rg350-2fbf782c05bf5ff06e2817e487e152e8739be9ee.tar.bz2 scummvm-rg350-2fbf782c05bf5ff06e2817e487e152e8739be9ee.zip |
moved some functions out of scummvm.cpp into more appropriate files; rearranged stuff inside scummvm.cpp to be grouped a bit more logical
svn-id: r9083
Diffstat (limited to 'scumm/string.cpp')
-rw-r--r-- | scumm/string.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp index 670465345d..2697455bf3 100644 --- a/scumm/string.cpp +++ b/scumm/string.cpp @@ -28,6 +28,18 @@ #include "verbs.h" #include "scumm/sound.h" +void Scumm::setStringVars(int slot) { + StringTab *st = &_string[slot]; + st->xpos = st->t_xpos; + st->ypos = st->t_ypos; + st->center = st->t_center; + st->overhead = st->t_overhead; + st->no_talk_anim = st->t_no_talk_anim; + st->right = st->t_right; + st->color = st->t_color; + st->charset = st->t_charset; +} + void Scumm::unkMessage1() { byte buffer[100]; _msgPtrToAdd = buffer; |