Commit graph

28 commits

Author SHA1 Message Date
Hubert Maier
53e486f53a JANITORIAL: SUPERNOVA: Fix typos 2024-09-16 20:25:12 +03:00
Matthew Jimenez
5219c99400 GRAPHICS: Move PaletteManager definition to a separate header 2024-03-12 12:24:00 +02:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Thierry Crozat
41d4434529 SUPERNOVA: Improve synchronization of TTS with text displayed on screen 2021-09-08 20:03:24 +01:00
Thierry Crozat
4680538951 SUPERNOVA: Fix buffer overflow for two dialogs
This was partially caused by a bug in the original source code
that was missing a comma between two strings for those two dialogs.
The original did not have a buffer overflow, but was not correctly
displaying the strings.

This fixes bug #12856.
2021-09-08 01:07:40 +01:00
Orgad Shaneh
a05e54f00c JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03: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
mataniko
06242a712b JANITORIAL: Rename EVENT_RTL
Now that ScummVM is adding RTL support, the EVENT_RTL should be disambigious that it is for returning to launcher
2020-05-12 10:36:38 +02:00
Bastien Bouclet
3b4a2dfadc SUPERNOVA: Add override keywords 2020-02-09 12:43:16 +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
D G Turner
a7c881e56d SUPERNOVA: Replace String Copy With Safer ScummVM Common Version 2019-09-14 00:26:47 +01:00
Thierry Crozat
7f05cba9f1 SUPERNOVA: Change type of an array to avoid casting 2019-09-13 23:51:22 +01:00
D G Turner
2c5cdfb37e SUPERNOVA: Fix Reported MSVC Compiler Warnings
These are from Henke37 via IRC.
2019-09-13 23:20:31 +01:00
Jaromir Wysoglad
fc3ae4c9b9 SUPERNOVA: Fix most of Codacy issues
* Fix mismatched delete in create_image.cpp
* Add shebangs to create_ms2_data.***.sh
* Reduce scopes of some variables
* Substitute bitwise and for logical and in
    GamaManager2::passageConstruction
2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
c2177f8453 SUPERNOVA: Merge getInput and waitOnInput methods. 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
e734872fc8 SUPERNOVA: Fix some code issues pointed by Criezy
Remove 2 unused variables and a function call with wrong datatype
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
61975aa2e2 SUPERNOVA: Add improved mode 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
c1317bb9c7 SUPERNOVA: Finish pyramid door translation
Change password to TOAST, remove subtitle on room entrance
2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
24ff7b26ff SUPERNOVA: Fix some room comparison issues. 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
a4ca2a838f SUPERNOVA: When dead return back to main loop ASAP 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
5ddc251528 SUPERNOVA: Preload exit list on room entry 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
09975e10c2 SUPERNOVA: Remove meaning TODOs from MS2 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
43131d8e02 SUPERNOVA: Add intermediate room classes 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
01d601b237 SUPERNOVA: Reformat StringId enums and gametext.h 2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
8125f7b67d SUPERNOVA: Fix street animation.
Street animation was changing memory that it shouldn't, so
going into the kiosk resulted in a segfault.
Also remove 2 debug lines from supernova2/state.cpp
2019-07-28 15:09:14 +01:00
Jaromir Wysoglad
ab4af5c614 SUPERNOVA: Add info, doc, help screens for MS2 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