From e21fd496f837dc13a4c232e931767b14fef43940 Mon Sep 17 00:00:00 2001 From: Nicola Mettifogo Date: Tue, 8 Jan 2008 20:46:58 +0000 Subject: Restructured label handling and moved all related code to Gfx. svn-id: r30345 --- engines/parallaction/parser_ns.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/parallaction/parser_ns.cpp') diff --git a/engines/parallaction/parser_ns.cpp b/engines/parallaction/parser_ns.cpp index 85a330ddd1..fef9cf803c 100644 --- a/engines/parallaction/parser_ns.cpp +++ b/engines/parallaction/parser_ns.cpp @@ -119,7 +119,7 @@ DECLARE_ANIM_PARSER(type) { DECLARE_ANIM_PARSER(label) { debugC(7, kDebugParser, "ANIM_PARSER(label) "); - renderLabel(&_locParseCtxt.a->_label._cnv, _tokens[1]); + _locParseCtxt.a->_label = _gfx->renderFloatingLabel(_labelFont, _tokens[1]); } @@ -1237,7 +1237,7 @@ DECLARE_ZONE_PARSER(label) { debugC(7, kDebugParser, "ZONE_PARSER(label) "); // printf("label: %s", _tokens[1]); - renderLabel(&_locParseCtxt.z->_label._cnv, _tokens[1]); + _locParseCtxt.z->_label = _gfx->renderFloatingLabel(_labelFont, _tokens[1]); } -- cgit v1.2.3