diff options
author | Thierry Crozat | 2017-11-05 02:59:22 +0000 |
---|---|---|
committer | Thierry Crozat | 2018-01-23 02:15:37 +0000 |
commit | 841e7182f28471ffda0ecd0c692649f58fd3aea8 (patch) | |
tree | 74ef3b95878b69b82fb1aa90eab3f018c1906c87 /common/tokenizer.cpp | |
parent | 73278c3f9f0157e1adf19134eceeb65eec3e37eb (diff) | |
download | scummvm-rg350-841e7182f28471ffda0ecd0c692649f58fd3aea8.tar.gz scummvm-rg350-841e7182f28471ffda0ecd0c692649f58fd3aea8.tar.bz2 scummvm-rg350-841e7182f28471ffda0ecd0c692649f58fd3aea8.zip |
SUPERNOVA: Reduce memory usage to store sections and simplify code
Each section was store dusing the full image size. Now it only uses the
section size, which should reduce considerably the amout of memory used
for each image.
Also when a section has one or more next section, they were all drawn on
the surface for this section, but then they were drawn again on their own
surface. And while this should not cause any issue, this was really
unnecessary (and prevented optimizing the surface size for each section).
So now this is no longer the case and the surface for a section only
contains this section.
Diffstat (limited to 'common/tokenizer.cpp')
0 files changed, 0 insertions, 0 deletions