Putting basic TOT handling into its own class
svn-id: r41821
This commit is contained in:
parent
7ba3205f58
commit
04d4ce4a8b
8 changed files with 214 additions and 76 deletions
|
@ -390,7 +390,7 @@ void Draw::printTextCentered(int16 id, int16 left, int16 top, int16 right,
|
|||
adjustCoords(1, &left, &top);
|
||||
adjustCoords(1, &right, &bottom);
|
||||
|
||||
uint16 centerOffset = _vm->_game->_script->getFunctionOffset(Script::kFunctionCenter);
|
||||
uint16 centerOffset = _vm->_game->_script->getFunctionOffset(TOTFile::kFunctionCenter);
|
||||
if (centerOffset != 0) {
|
||||
_vm->_game->_script->call(centerOffset);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue