[ scummvm-Patches-1495487 ] residual: improve text object resource handling
SourceForge.net
noreply at sourceforge.net
Fri May 26 14:18:53 CEST 2006
Patches item #1495487, was opened at 2006-05-26 14:18
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=1495487&group_id=37116
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Christian Neumair (mannythegnome)
Assigned to: Nobody/Anonymous (nobody)
Summary: residual: improve text object resource handling
Initial Comment:
The attached patch ensures that the resources
associated with a killed text object are destroyed
(i.e. the bitmap) which prevents residual from becoming
a resource hog in the main menu.
I'm not sure whether the delete statement is
appropriate at that place, and I don't know enough CPP
to judge whether the remove statement is superfluous,
i.e. whether the delete statement implies removal from
lists.
The patch also removes the TextObjectExists statement
from BlastText(), which IMHO isn't neccessary (the
object will be destroyed right after it was drawn).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=1495487&group_id=37116
More information about the Scummvm-tracker
mailing list