aboutsummaryrefslogtreecommitdiff
path: root/common/stack.h
diff options
context:
space:
mode:
authorThierry Crozat2017-11-05 02:59:22 +0000
committerThierry Crozat2018-01-23 02:15:37 +0000
commit841e7182f28471ffda0ecd0c692649f58fd3aea8 (patch)
tree74ef3b95878b69b82fb1aa90eab3f018c1906c87 /common/stack.h
parent73278c3f9f0157e1adf19134eceeb65eec3e37eb (diff)
downloadscummvm-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/stack.h')
0 files changed, 0 insertions, 0 deletions