Commit graph

11 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
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
5ce0e00b7d STARTREK: Add a console command to play bridge sequences 2020-12-22 21:08:50 +02:00
Filippos Karapetis
cf559249d5 STARTREK: Add a console command to show the score of all missions 2020-12-19 01:50:39 +02:00
Filippos Karapetis
5c48e50ce6 STARTREK: Enhance the filedump console command to dump multiple files 2020-11-23 01:24:51 +02:00
Filippos Karapetis
37b305c1fe STARTREK: Rewrite the resource loader, and add more console commands 2020-11-17 18:03:20 +02:00
Filippos Karapetis
e42bb39504 STARTREK: Add new console commands "bg" and "dumpfile" 2020-11-16 23:14:59 +02:00
Bastien Bouclet
f9dfb7f560 STARTREK: Add override keywords 2020-02-09 12:43:16 +01:00
Filippos Karapetis
6a9969ed25 STARTREK: Fix loading of some texts, and add the "text" console command 2019-08-19 00:18:00 +03:00
Filippos Karapetis
878675cbd0 STARTREK: Simplify screen name code and add the "actions" debug command
- The screen name and map name code have been merged and simplified
- Some usage of SharedPtr has been adapted
- Duplicate code for loading the room map has been merged
- The "actions" command has been imported from the tools code
- Cleanup
2019-08-16 14:16:43 +03:00
Filippos Karapetis
384715da84 STARTREK: Add a console
This also fixes an uninitialized pointer crash (_mapFile)
2019-08-15 11:58:15 +03:00