Commit Graph
60 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 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 00ad57c613 STARTREK: Convert VENG4 room text offsets to the new format 2021-08-01 14:58:10 +03:00
Filippos Karapetis ff6ed65844 STARTREK: Convert more room texts to the new format 2021-02-21 14:34:57 +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 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 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
Matthew Stewart 08ef636a98 STARTREK: VENG0 2018-08-09 08:37:30 +02:00
Matthew Stewart 23b3782b52 STARTREK: SINS0 2018-08-09 08:37:30 +02:00
Matthew Stewart 0f3efc0e55 STARTREK: TRIAL0 2018-08-09 08:37:30 +02:00
Matthew Stewart 092cf422ca STARTREK: FEATHER7 2018-08-09 08:37:30 +02:00
Matthew Stewart b02124b5ee STARTREK: FEATHER6 2018-08-09 08:37:30 +02:00
Matthew Stewart 5863f515f7 STARTREK: FEATHER5 2018-08-09 08:37:30 +02:00
Matthew Stewart 8aef8c4539 STARTREK: FEATHER4 2018-08-09 08:37:30 +02:00
Matthew Stewart 1e60b6f96b STARTREK: FEATHER3 2018-08-09 08:37:30 +02:00
Matthew Stewart ae3be7b407 STARTREK: FEATHER2 2018-08-09 08:37:30 +02:00
Matthew Stewart 007960e85e STARTREK: Remove MUDD code from LOVE mission 2018-08-09 08:37:30 +02:00
Matthew Stewart d486051a6c STARTREK: Fix initializer list warnings 2018-08-09 08:37:30 +02:00
Matthew Stewart 8c71f2db84 STARTREK: Make Action struct POD again 2018-08-09 08:37:30 +02:00
Matthew Stewart 051ea8c238 STARTREK: FEATHER1 2018-08-09 08:37:30 +02:00
Matthew Stewart 51e2c85a25 STARTREK: FEATHER0 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 a636aacf51 STARTREK: MUDD4 2018-08-09 08:37:30 +02:00
Matthew Stewart 0879985ddd STARTREK: MUDD3 2018-08-09 08:37:30 +02:00
Matthew Stewart c471503581 STARTREK: MUDD2 2018-08-09 08:37:30 +02:00
Matthew Stewart 7cff724864 STARTREK: MUDD1 2018-08-09 08:37:30 +02:00
Matthew Stewart 4c0eb3aa67 STARTREK: MUDD0 2018-08-09 08:37:30 +02:00
Matthew Stewart d4c5966151 STARTREK: Add missing "look at grate" action.
Also fix missing subscript for some text relating to N2 gas.
2018-08-09 08:37:30 +02:00
Matthew Stewart aca1987056 STARTREK: Implement common code for LOVE mission 2018-08-09 08:37:30 +02:00
Matthew Stewart a5c7d6ae11 STARTREK: Revamp of action callbacks.
Old system of putting a callback in an action wouldn't work since it
wasn't serializable. Now it seaches for an index corresponding to the
function pointer before constructing an action.
2018-08-09 08:37:30 +02:00
Matthew Stewart d8e255e9e7 STARTREK: Implement synthesizer + bugfixes (LOVE) 2018-08-09 08:37:30 +02:00
Matthew Stewart 958a9065aa STARTREK: LOVE5 2018-08-09 08:37:30 +02:00
Matthew Stewart 43a0a574ff STARTREK: LOVE4 2018-08-09 08:37:30 +02:00
Matthew Stewart 08ead492d8 STARTREK: LOVE3 finished.
Added "callback" variants of the "walkCrewman" and "loadActorAnim"
functions to simplify chains of calls in room-specific code.
2018-08-09 08:37:30 +02:00
Matthew Stewart 16042faa65 STARTREK: Start on LOVE3 2018-08-09 08:37:30 +02:00
Matthew Stewart dc1e44efb9 STARTREK: Most of LOVE2 done 2018-08-09 08:37:30 +02:00
Matthew Stewart 933d21429f STARTREK: LOVE1 2018-08-09 08:37:30 +02:00
Matthew Stewart efda57c114 STARTREK: LOVE0 (start of 3rd mission) 2018-08-09 08:37:30 +02:00
Matthew Stewart 6e322ebfc5 STARTREK: TUG3 (mission 2 finished) 2018-08-09 08:37:30 +02:00
Matthew Stewart 487c3fda32 STARTREK: TUG2 2018-08-09 08:37:30 +02:00
Matthew Stewart 0c28fd964e STARTREK: TUG1 2018-08-09 08:37:30 +02:00
Matthew Stewart ad76c744af STARTREK: TUG0 (first room of mission 2) 2018-08-09 08:37:30 +02:00