Commit Graph
10 Commits
Author SHA1 Message Date
Joseph-Eugene Winzer e7b91fe40f SUPERNOVA: Adds getters for screen width and height 2019-05-28 02:24:42 +02:00
Joseph-Eugene Winzer 5ff4764442 SUPERNOVA: Fixes possible OOB read 2019-02-06 09:42:11 +01:00
Joseph-Eugene Winzer 641a4307f2 SUPERNOVA: Uses setCurrentImage in renderImage
Although renderImage for ImageId doesn't use _currentImage, it needs to
be set for compatibility with the section based renderImage function.
The functionality doesn't change with this commit, except that the
palette brightness gets updated if the image is in a different file.
2019-02-06 09:42:11 +01:00
Joseph-Eugene Winzer bd298f3b3d SUPERNOVA: Removes GameManager dependency for Screen
All calls from Screen member functions to the GameManager instance
are relocated to the wrapper functions in SupernovaEngine.
2019-02-06 09:42:11 +01:00
Adrian Frühwirth 9bee9e1ba6 JANITORIAL: Fix whitespace 2018-04-19 12:08:31 +02:00
Joseph-Eugene Winzer 94ebc96705 SUPERNOVA: Implements renderImage with ImageId 2018-04-15 18:28:39 +01:00
Joseph-Eugene Winzer 3749f98dea SUPERNOVA: Fixes type camel case 2018-04-15 18:28:38 +01:00
Joseph-Eugene Winzer 6ea629f944 SUPERNOVA: Moves VGA Palette to screenstatic.cpp 2018-04-15 18:28:38 +01:00
Joseph-Eugene Winzer 2ead17f09f SUPERNOVA: Implements render functions
Although SupernovaEngine forwards render calls to screen, it also
exposed members publicly like _brightness. Therefore, a few changes were
necessary in rooms and state.
2018-04-15 18:28:29 +01:00
Joseph-Eugene Winzer ac438cc918 SUPERNOVA: Adds skeleton for screen abstraction 2018-04-15 18:23:12 +01:00