Commit graph

15 commits

Author SHA1 Message Date
Jaromir Wysoglad
bcd62c0669 SUPERNOVA: Code refactoring
Add constant for inverting sections (number 128)
Move some initialization in initState from derived classes to
    base class.
Simpilfy AxacussCorridor4::onEntrance
2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
061d14e799 SUPERNOVA: Add ciphered text image translation. 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
3cf9cfbf78 SUPERNOVA: Merge in the supernova2 engine. 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
33d7391f4a SUPERNOVA: Move part 1 files to it's own directory 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
5f355734fd SUPERNOVA: Partial merge of the engine
I am merging the second engine to the first one. Both should be
fully functional as before right now

Current merge file status:
console: should be done
graphics: should be done
detection: 0% merged
imageid: appears to not be used anywhere, so it may be removed
resman: partialy merged
rooms: totaly different, 0% merged
screen: should be done
screenstatic: done
sound: partialy done
state: a lot different, just started to merge
supernova: mostly done
2019-07-28 15:09:14 +01:00
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