#8602 closed patch
Loading NUT fonts on demand
Reported by: | eriktorbjorn | Owned by: | fingolfin |
---|---|---|---|
Priority: | normal | Component: | Engine: SCUMM |
Version: | Keywords: | ||
Cc: | Game: | Monkey Island 3 |
Description
Here's another way to possibly save a bit of memory. Currently, we pre-load all the NUT fonts. This happens both in the SCUMM engine, and in the SMUSH player. (The SMUSH player loads them as pixmaps, though, so they're not quite equal.)
But I imagine that most of the time, the game only uses one or two of the fonts, not (in the case of CoMI) all five. It's also possible that some are used only by the game and some only by the SMUSH movies, I don't know.
This patch delays the loading of the font until it's actually requested.
INSANE still pre-loads stuff. I haven't looked much at that.
Ticket imported from: #1640913. Ticket imported from: patches/707.
Attachments (1)
Change History (5)
by , 18 years ago
Attachment: | nut-ondemand.diff added |
---|
comment:2 by , 18 years ago
Status: | new → closed |
---|
comment:4 by , 6 years ago
Component: | → Engine: SCUMM |
---|---|
Game: | → Monkey Island 3 |
Patch against current SVN