Commit Graph

404 Commits

Author SHA1 Message Date
trembyle
e600322c12 STARTREK: Use CD detection flag
May be helpful to differentiate CD/Floppy versions
2022-01-19 11:04:07 -05:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Eugene Sandulenko
9804ae380d
STARTREK: Fix loading of MIDI music 2021-12-21 00:21:53 +01:00
Orgad Shaneh
3919f53326 ENGINES: Replace new[]/memset with new[]() 2021-11-10 19:53:15 +01:00
D G Turner
d107ac0dc8 STARTREK: Fix GCC Duplicated Branch Warning 2021-10-29 19:03:27 +01:00
eientei
94f9310a0f STARTREK: Mark CD demo as such in detection 2021-10-26 04:36:11 +03:00
eientei
78d269f7e9 STARTREK: Add 1993 Mac demo 2021-10-26 04:36:11 +03:00
Orgad Shaneh
fe104cc337 ENGINES: Use MetaEngine consistently for getting autosave slot
The autosave refactoring that was done in
7adad5aaf5 used g_engine for identifying the
autosave slot. This worked for in-game save/load, but doesn't fit when
called from the launcher.

Fix by passing MetaEngine to SaveStateDescriptor ctor and using it for this
query.

Amends 7adad5aaf5.
2021-10-24 16:46:06 +02:00
Eugene Sandulenko
33115992a0
STARTREK: Fix Mac version detection entry after MacResMan changes 2021-10-17 20:48:03 +03:00
trembyle
42ae6d184f STARTREK: Add detection for ST25 Mac demo
Found on Inside Mac Games December 1994.
2021-09-19 14:52:46 +02:00
Filippos Karapetis
5bead291d6 STARTREK: Initial work on the texts of the German and French versions
This is still a proof of concept, and only some of the first room texts
have been added
2021-08-30 22:05:30 +03:00
Filippos Karapetis
99b334f90f STARTREK: Fix loading of files in non-English versions - bug 12712 2021-08-30 15:19:48 +03:00
D G Turner
3e4ee7e23c STARTREK: Fix Coverity Warning for Identical Branches
CID 1394745
2021-08-26 22:10:18 +01:00
Orgad Shaneh
7adad5aaf5 ENGINES: Streamline auto-save write/delete protection
Some engines call setAutosave and some don't. isAutosave is used to
determine if a saved game is an autosave, but in fact, on most cases it
just falls back to comparing the name to "Autosave".

This is wrong for several reasons:
* Older versions of ScummVM used Autosave 0.
* The name "Autosave" is translated, so if you change the language, it
  won't be detected.

Instead of relying on the name, use the well-known getAutosaveSlot() from
Engine/MetaEngine.

Fixes #12735.
2021-08-23 13:34:35 +02:00
Cameron Cawley
644e7354f5 CREDITS: Update credits 2021-08-22 22:25:33 +03:00
Filippos Karapetis
714c10f38b STARTREK: Rewrite the common MUDD function text references 2021-08-17 21:17:36 +03:00
Filippos Karapetis
13b64f6cb7 STARTREK: Implement VENG common messages 2021-08-17 02:52:45 +03:00
Filippos Karapetis
db4756c628 STARTREK: Convert MUDD4 room text offsets to the new format 2021-08-17 02:22:26 +03:00
Filippos Karapetis
9d6f12d98b STARTREK: Covert VENG3 and VENG5-8 room text offsets to the new format 2021-08-17 00:49:49 +03:00
Filippos Karapetis
9ab4c23129 STARTREK: Avoid adding \0 to strings
These characters aren't needed at all in strings, so we can safely
ignore them
2021-08-16 20:48:31 +03:00
Filippos Karapetis
71e5241b50 STARTREK: The demo does not contain bridge computer topics
This allows the demo to proceed a bit further, but it still crashes,
as it has differences from the full version which haven't been
implemented yet
2021-08-16 20:32:49 +03:00
Filippos Karapetis
00ad57c613 STARTREK: Convert VENG4 room text offsets to the new format 2021-08-01 14:58:10 +03:00
Daniel Kamil Kozar
e12c0f3f4e STARTREK: Fix format-security warnings 2021-06-11 06:22:47 +01:00
ysj1173886760
2c93928e5f STARTREK: move debug channels to metaEngineDetection 2021-05-22 01:34:57 +02:00
Orgad Shaneh
a05e54f00c JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03:00
Eugene Sandulenko
5e7fe2dc57
JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
D G Turner
eac50757db STARTREK: Fix Bug in text Command of Debug Console
This was incorrectly passing a single character, rather than a pointer
for the string.
2021-03-27 02:53:00 +00:00
D G Turner
804ea64f31 STARTREK: Fix GCC Warning for Implicit Copy Operator
This is emitted when -Wdeprecated-copy is enabled.
2021-03-27 02:31:45 +00:00
D G Turner
6769b2b93b STARTREK: Fix Memset on Non-Trivial Structure GCC Compiler Warnings 2021-03-22 13:51:16 +00:00
Filippos Karapetis
ff6ed65844 STARTREK: Convert more room texts to the new format 2021-02-21 14:34:57 +02:00
Filippos Karapetis
2d6b182487 STARTREK: Re-implement shared functionality in the LOVE mission 2021-02-20 22:04:14 +02:00
Filippos Karapetis
a465274c0e STARTREK: Update spockScan and mccoyScan calls 2021-02-20 21:32:52 +02:00
Filippos Karapetis
7401a55dcf STARTREK: Convert more room texts to the new format 2021-02-20 21:32:51 +02:00
Filippos Karapetis
bc45372332 STARTREK: Rewrite more room texts with the new format 2021-02-19 23:19:00 +02:00
Filippos Karapetis
31f2fc675c STARTREK: Convert more rooms to the new text resource format 2021-02-15 03:26:59 +02:00
Filippos Karapetis
2a6a3637ea STARTREK: Remove some obsolete TODOs 2021-02-15 03:26:58 +02:00
Filippos Karapetis
e9300f33d5 STARTREK: Fix the text scanner and convert 3 rooms to the new format 2021-02-08 03:11:46 +02:00
Filippos Karapetis
748aec5783 STARTREK: Refactor room text handling to use offsets (first part)
This is a major change, which allows us to read room texts directly
from RDF files in a deterministic way. The previous attempt to read
texts on the fly failed with some texts at runtime, which made it
unreliable. Additionally, the scope of all room text IDs has been
reduced to each room.

With this change, it's now possible to support text in CD and floppy
versions and support multiple game languages, without hardcoding all
of the game texts in the engine source.

This is 50% done (29 out of 55 rooms), with the following left to be
done:
- MUDD mission rooms (need to improve the text reader for these)
- TRIAL mission rooms (need to improve the text reader for these)
- SINS mission rooms (need to improve the text reader for these)
- The rest of VENG mission rooms

The DEMON, TUG, LOVE, FEATHER and part of the VENG mission rooms have
been converted.
2021-02-08 03:11:46 +02:00
Filippos Karapetis
9327e5a381 STARTREK: More bridge sequences functionality 2021-01-24 23:13:09 +02:00
Filippos Karapetis
eb8e1a33fd STARTREK: More functionality for bridge sequences and crew responses 2020-12-29 16:14:03 +02:00
Filippos Karapetis
f7d0670522 STARTREK: Remove more calls to blank sounds 2020-12-29 16:14:03 +02:00
Filippos Karapetis
1705cbc846 STARTREK: Use the SFX enum instead of hardcoded values 2020-12-29 16:14:03 +02:00
Filippos Karapetis
49395f2a8a STARTREK: Rename sound IDs and remove calls to blank sounds 2020-12-29 16:14:02 +02:00
Filippos Karapetis
2227b2a3a2 STARTREK: More bridge-related functionality 2020-12-29 16:14:02 +02:00
Filippos Karapetis
df67983e68 STARTREK: Sync several missing fields in saved games
Most of these are related to the bridge screens
2020-12-29 16:14:02 +02:00
Filippos Karapetis
0f8194ccd6 STARTREK: More work on mission ending, mission points and captain's log 2020-12-29 16:14:02 +02:00
Filippos Karapetis
c6d3f1df65 STARTREK: Ensure that we're not reading past the end of RDF files 2020-12-29 16:14:01 +02:00
Filippos Karapetis
a333cf4490 STARTREK: More bridge sequences functionality 2020-12-22 21:08:50 +02:00
Filippos Karapetis
5ce0e00b7d STARTREK: Add a console command to play bridge sequences 2020-12-22 21:08:50 +02:00
Filippos Karapetis
85b8806ca8 STARTREK: More work on bridge sequences
Also, unify the Common::String types
2020-12-21 03:13:56 +02:00