Commit Graph
20 Commits
Author SHA1 Message Date
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01: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
D G Turner 3e4ee7e23c STARTREK: Fix Coverity Warning for Identical Branches
CID 1394745
2021-08-26 22:10:18 +01: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
Eugene Sandulenko 5e7fe2dc57 JANITORIAL: Replace spaces in indentation with tabs 2021-04-15 21:20:36 +02:00
Filippos Karapetis 7401a55dcf STARTREK: Convert more room texts to the new format 2021-02-20 21:32:51 +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 49395f2a8a STARTREK: Rename sound IDs and remove calls to blank sounds 2020-12-29 16:14:02 +02:00
Filippos Karapetis 5e7b556310 STARTREK: Move room action arrays to their respective room
All action arrays now end with a terminator entry. The array count has been removed.
Also, fixed a regression when changing missions in endMission().
2020-12-19 01:50:38 +02:00
D G Turner bffb4418bd STARTREK: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-01 00:59:20 +00:00
Filippos Karapetis 78958a01f8 STARTREK: Load more messages from RDF files 2019-10-30 01:42:47 +02:00
Filippos Karapetis 71346d15eb STARTREK: Read the text of the MUDD mission rooms from RDF files
Also, add a central mechanism to fix text typos
2019-10-20 15:23:44 +03:00
Filippos Karapetis e8f0e9e998 STARTREK: Rename the different showText() functions for disambiguation
Hopefully, this will fix the AmigaOS and DS builds
2019-06-11 01:28:12 +03:00
D G Turner 7e4faf2111 STARTREK: Hopefully Fix Remaining Compilation Issues. 2018-08-09 14:37:35 +01:00
Matthew Stewart 8970909318 STARTREK: Reorganize includes in room.h
This should avoid the costly rebuild of everything in the 'rooms/'
folder, at least sometimes...
2018-08-09 08:37:30 +02:00
Matthew Stewart fe98dbb69d STARTREK: Reformat with artistic style 2018-08-09 08:37:30 +02:00
Matthew Stewart f583e307df STARTREK: Minor fixes to MUDD mission
Also make better names for variables.
2018-08-09 08:37:30 +02:00
Matthew Stewart a636aacf51 STARTREK: MUDD4 2018-08-09 08:37:30 +02:00
Matthew Stewart 4c0eb3aa67 STARTREK: MUDD0 2018-08-09 08:37:30 +02:00