Major V7 update with vertical scrolling. Added a few scumm vars related to scrolling. Dig inventory isn't displayed where it should. I hope it doesn't break anything else in other game...

svn-id: r4066
This commit is contained in:
Vincent Hamm 2002-04-23 23:58:31 +00:00
parent 72798160d8
commit 20e9ad5e23
8 changed files with 80 additions and 35 deletions

View file

@ -237,6 +237,8 @@ void Scumm::CHARSET_1()
string[0].ypos = ((a->new_1 - s) >> 1) + s - a->elevation + a->y;
if (string[0].ypos < 1)
string[0].ypos = 1;
if (string[0].ypos < camera._cur.y - 100)
string[0].ypos = camera._cur.y - 100;
s = a->scalex * a->new_2 / 0xFF;
string[0].xpos = ((a->new_2 - s) >> 1) + s + a->x - camera._cur.x + 160;