16 Commits

Author SHA1 Message Date
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Daniel Kamil Kozar
e12c0f3f4e STARTREK: Fix format-security warnings 2021-06-11 06:22:47 +01:00
Orgad Shaneh
a05e54f00c JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03: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
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
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
Filippos Karapetis
ed24377900 STARTREK: Move resource-related functions into a separate class 2020-09-09 22:36:11 +03: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
1641bd3a61 STARTREK: Allow lowercase for mission names in console commands 2019-08-17 21:56:11 +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