Commit Graph
15 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
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 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
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
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 f583e307df STARTREK: Minor fixes to MUDD mission
Also make better names for variables.
2018-08-09 08:37:30 +02:00
Matthew Stewart bfb312a319 STARTREK: Done with atmosphere loss event 2018-08-09 08:37:30 +02:00
Matthew Stewart 933ab32b0e STARTREK: Start on MUDD's life-support-loss code 2018-08-09 08:37:30 +02:00
Matthew Stewart f85c296dc3 STARTREK: Move common MUDD functions to mudda.cpp 2018-08-09 08:37:30 +02:00
Matthew Stewart b3c3174102 STARTREK: MUDD5 2018-08-09 08:37:30 +02:00
Matthew Stewart 4c0eb3aa67 STARTREK: MUDD0 2018-08-09 08:37:30 +02:00