23 Commits

Author SHA1 Message Date
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Eugene Sandulenko
5031036421
SUPERNOVA: Fix new[]/delete mismatch 2021-12-24 21:58:43 +01:00
Thierry Crozat
532a983dcc SUPERNOVA: Fix TTS for multi-line text
The text is defined with the pipe as line separator, but we need
to replace it with a space to form a proper sentence before we
send the text to the TTS, otherwise we get unnatural pauses and
some incorrect text.
2021-09-08 01:07:40 +01:00
taylorzhancher
fa8845e367
SUPERNOVA: Add Text To Speech support 2021-09-04 19:24:12 +01:00
Thierry Crozat
75d647e071 SUPERNOVA: Fix access to unallocated memory in intro screens 2021-04-03 01:24:36 +01:00
Thierry Crozat
f9292bc97a SUPERNOVA: Fix display of text on intro and outro screen
This was a regression from 54b0b4ac4 that prevents from adding
null characters to a Common::String. For those screens the game
passes multiple strings as a single strings containing a '\0'
to separate the different parts. But that '\0' was no longer
added. I am now using '\1' and updated the parsing in the text
display to handle this.
2021-04-03 01:24:36 +01:00
D G Turner
719decda55 SUPERNOVA: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-01 00:31:33 +00:00
Jaromir Wysoglad
0e31a6163d SUPERNOVA: Merge create_supernova tools 2019-07-28 15:09:14 +01:00
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