Commit Graph
451 Commits
Author SHA1 Message Date
Joseph-Eugene Winzer 8c4af9f175 SUPERNOVA: Adds text reader to view text files 2019-05-28 02:24:43 +02:00
Joseph-Eugene Winzer 38e04455fc SUPERNOVA: Adds Help screen 2019-05-28 02:24:42 +02:00
Joseph-Eugene Winzer e7b91fe40f SUPERNOVA: Adds getters for screen width and height 2019-05-28 02:24:42 +02:00
Joseph-Eugene Winzer 7c3b128661 SUPERNOVA: Removes optional parameter for getKeyInput()
It doesn't serve a purpose anymore. The parameter was used to keep
waiting for key input if it was a 'non text editing' event, like
pressing the shift modifier key. The only place it was used was for text
input when interacting with the computer in ShipSleepCabin.
2019-05-28 02:24:42 +02:00
Joseph-Eugene Winzer 6da729171c SUPERNOVA: Adds strings for help screen 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 498de6347e SUPERNOVA: Fixes OOB read 2019-02-06 09:42:11 +01:00
Joseph-Eugene Winzer ff36f94c1f SUPERNOVA: Adds missing initializations 2019-02-06 09:42:11 +01:00
Joseph-Eugene Winzer 1d00e625cf SUPERNOVA: Fixing header file includes 2019-02-06 09:42:11 +01:00
Joseph-Eugene Winzer 21c9c885ba SUPERNOVA: Stops time and animations when reading the newspaper
After leaving the cell on Arsano there's a desk you need to attach your
watch to and set the alarm to attract the guard in the next room. If the
alarm goes off while reading the newspaper, the game glitches out with
wrong palette colors, scene, ..
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 536630aece SUPERNOVA: Removes invalid ImageId entry 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
Joseph-Eugene Winzer 437b1c0003 SUPERNOVA: Updates NOTES
The audio samples' offset and corresponding file number are better
described in sound.h. Also the variable timer2 was renamed quite a while
ago and served only as a reference to the original source code.
2019-02-06 09:42:11 +01:00
Joseph-Eugene Winzer ebaa6739ec SUPERNOVA: Adds Outro image
msn_data.055 that stores the outro image was missed to be added
to imageInfo and thus not loaded during the engine init/
2019-02-06 09:42:11 +01:00
Joseph-Eugene Winzer c20b960d80 SUPERNOVA: Adds renderImage overload for ImageId 2019-02-06 09:42:11 +01:00
Joseph-Eugene Winzer 1e62c55338 SUPERNOVA: Moves function definitions from rooms.h 2019-02-06 09:42:11 +01:00
Joseph-Eugene Winzer d1fb1d45e8 SUPERNOVA: Adds missing image id 2019-02-06 09:42:10 +01:00
Joseph-Eugene Winzer 480d6c60b8 SUPERNOVA: Adds 'Image' prefix for ImageId constants 2019-02-06 09:42:10 +01:00
Thierry Crozat 287f40358e SUPERNOVA: Save sleep savegame at end of normal saves
This replaces using slot 999 to save this savegame and allows
to properly handle having several playthroughs with a different
state when going to sleep. This is also similar to what the
original engine was doing.
2018-12-28 20:40:27 +01:00
Cameron Cawley f6015086e1 ENGINES: Add GUIErrorMessageFormat to replace duplicated functions (#1455) 2018-12-19 08:31:26 +02:00
Bastien Bouclet 9a4c0ae281 ENGINES: Normalize the getName() result of metaengines
Also-By: Matthew Hoops <clone2727@gmail.com>
2018-12-10 06:47:27 +01:00
D G Turner 51a2685e3f SUPERNOVA: Fix Unused Variable Compiler Warnings. 2018-07-29 08:25:37 +01:00
Eugene Sandulenko a6d900db88 SUPERNOVA: Fix warning 2018-06-29 09:14:17 +02:00
Adrian Frühwirth a20f90cbb7 JANITORIAL: Fix formatting 2018-04-22 00:56:21 +02:00
Adrian Frühwirth 9bee9e1ba6 JANITORIAL: Fix whitespace 2018-04-19 12:08:31 +02:00
Joseph-Eugene Winzer 77c06fe487 SUPERNOVA: Removes unused variable 2018-04-16 11:47:06 +02:00
Joseph-Eugene Winzer d4592b6077 SUPERNOVA: Removes global nullObject
Before nullObject was a static member of Object class and now a member
of GameManager. Also the Inventory constructor was extended for taking a
pointer to the nullObject that Invetory::get() returns if no Object was
found.
2018-04-15 18:47:33 +01:00
Joseph-Eugene Winzer 94ebc96705 SUPERNOVA: Implements renderImage with ImageId 2018-04-15 18:28:39 +01:00
Joseph-Eugene Winzer a4ac8895da SUPERNOVA: Removes renderImageSection() from SupernovaEngine
This function is never called by itself. It is a helper function for
renderImage().
2018-04-15 18:28:39 +01:00
Joseph-Eugene Winzer 2a170fb929 SUPERNOVA: Moves constants to screen.h 2018-04-15 18:28:38 +01:00
Joseph-Eugene Winzer 3bc9a5a779 SUPERNOVA: Corrects header includes 2018-04-15 18:28:38 +01:00
Joseph-Eugene Winzer 0668f9d363 SUPERNOVA: Removes unused RNG instance 2018-04-15 18:28:38 +01:00
Joseph-Eugene Winzer 3749f98dea SUPERNOVA: Fixes type camel case 2018-04-15 18:28:38 +01:00
Joseph-Eugene Winzer 454b8a98c3 SUPERNOVA: Wraps resources in ScopedPtr 2018-04-15 18:28:38 +01:00
Joseph-Eugene Winzer 0193814796 SUPERNOVA: Recreates ProtrackerStream on getSoundStream 2018-04-15 18:28:38 +01:00
Joseph-Eugene Winzer 93dde5d235 SUPERNOVA: Renames Music/AudioIndex to Music/AudioId 2018-04-15 18:28:38 +01:00
Joseph-Eugene Winzer d5105ab9c7 SUPERNOVA: Fixes fallthrough warning 2018-04-15 18:28:38 +01:00
Joseph-Eugene Winzer f78a835816 SUPERNOVA: Moves font data to screenstatic.cpp 2018-04-15 18:28:38 +01:00
Joseph-Eugene Winzer af4f3ab4c5 SUPERNOVA: Moves cursor buffer to resman.cpp 2018-04-15 18:28:38 +01:00
Joseph-Eugene Winzer 5008e88d4b SUPERNOVA: Fixes setCurrentImage 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
Joseph-Eugene Winzer f525efa1d4 SUPERNOVA: Adds image information
ImageID gives every image a name that will be used as an index into
imageInfo that returns filenumber and section.
2018-04-15 18:23:12 +01:00
Joseph-Eugene Winzer ab208d1077 SUPERNOVA: Implements image buffering 2018-04-15 18:23:12 +01:00
Joseph-Eugene Winzer 88a2026830 SUPERNOVA: Adds comment for using KNIFE on WIRE2 2018-04-15 18:23:12 +01:00
Joseph-Eugene Winzer 6187e25199 SUPERNOVA: Renames NULL to nullptr 2018-04-15 18:23:11 +01:00
Joseph-Eugene Winzer d963827dbb SUPERNOVA: Renames MSNImageDecoder to MSNImage 2018-04-15 18:23:11 +01:00
Joseph-Eugene Winzer b2dc8d5424 SUPERNOVA: Adds resource abstraction
The resource abstraction includes loading of sound files and cursor
graphics.
2018-04-15 18:22:57 +01:00