D G Turner
5035c81857
STARTREK: Fix GCC Compiler Warning
2019-08-26 03:38:45 +01:00
Filippos Karapetis
cb3030508e
STARTREK: Read most strings for the LOV mission from its RDF files
2019-08-26 02:45:33 +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
D G Turner
ef00f1d053
STARTREK: Fix introduced bug in mission chain loading code
...
This needs to avoid loading when the mission is "VENG" i.e. the last
mission, since there is no next mission to load and this would have
loaded an invalid memory string.
2019-08-17 22:29:15 +01:00
Filippos Karapetis
62d1dbac65
STARTREK: More explicit definition of text types
2019-08-17 21:56:13 +03:00
Filippos Karapetis
d74060e17a
STARTREK: Load all kinds of messages, and remove redundant variables
2019-08-17 21:56:12 +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
089c04f6f7
STARTREK: Cleanup away mission chain loading code
2019-08-15 11:58:16 +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
Filippos Karapetis
05301c240b
STARTREK: Load more messages from RDF files
...
The whole Demon chapter has been converted to the new logic.
The offsets for the extra room messages have been hardcoded, for now,
inside loadOtherRoomMessages(), until we figure out how they are
referenced.
2019-06-11 00:48:16 +03:00
Filippos Karapetis
709d606e01
STARTREK: Adapt many usages of Common::SharedPtr() to regular pointers
2019-06-11 00:48:16 +03:00
Filippos Karapetis
3f7f1a2410
STARTREK: Remove the FileStream wrapper class
2019-06-11 00:48:15 +03:00
Filippos Karapetis
42ac19e804
STARTREK: Start reading text from RDF files, instead of hardcoding it
...
Rooms DEMON0 and DEMON5 have been partially adapted to the new logic.
This isn't yet fully functional, for the following reasons:
- We only read the main text block. There are also some others which
are not handled yet. The unhandled blocks have been kept in text.cpp
- We load text in dictionaries, splitting the strings in look and talk.
However, there's a third category (look with a talker), which isn't
handled yet
- Text is loaded per-room, but there are enhancements where text and
samples are loaded from other rooms. These need to be refactored
2019-05-28 21:41:58 +03:00
Filippos Karapetis
daf2f07e6b
STARTREK: Use Common::String for animation strings
2019-05-27 19:39:29 +03:00
D G Turner
42a1b579cb
STARTREK: Even More Compilation Fixes.
2018-08-09 14:17:39 +01:00
Matthew Stewart
bd1b9f66cb
STARTREK: Implement republic map screen
2018-08-09 08:37:30 +02:00
Matthew Stewart
08ef636a98
STARTREK: VENG0
2018-08-09 08:37:30 +02:00
Matthew Stewart
ba05b5539b
STARTREK: Various code cleanup
2018-08-09 08:37:30 +02:00
Matthew Stewart
ce42cd940a
STARTREK: Use ARRAYSIZE macro
2018-08-09 08:37:30 +02:00
Strangerke
be4174dc3d
STARTREK: Janitorial: Add end of namespace comments
2018-08-09 08:37:30 +02: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
f412328181
STARTREK: Implement text input boxes
...
Needed for SINS mission with the keypads
2018-08-09 08:37:30 +02:00
Matthew Stewart
b2213cac9b
STARTREK: SINS1
2018-08-09 08:37:30 +02:00
Matthew Stewart
23b3782b52
STARTREK: SINS0
2018-08-09 08:37:30 +02:00
Matthew Stewart
b1fa6126cc
STARTREK: Link away missions together, temporarily
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
aa68655742
STARTREK: Formatting corrections
2018-08-09 08:37:30 +02:00
Matthew Stewart
0e85e19ee7
STARTREK: Move function descriptions to headers
2018-08-09 08:37:30 +02:00
Matthew Stewart
ac9cd1f00a
STARTREK: Implement fixed-point decimal class
2018-08-09 08:37:30 +02:00
Matthew Stewart
793a5b6020
STARTREK: TRIAL5
2018-08-09 08:37:30 +02:00
Matthew Stewart
3cccf65179
STARTREK: TRIAL1
2018-08-09 08:37:30 +02:00
Matthew Stewart
0f3efc0e55
STARTREK: TRIAL0
2018-08-09 08:37:30 +02:00
Matthew Stewart
6fa0efa4ed
STARTREK: Make a macro to simplify room detection
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
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
933ab32b0e
STARTREK: Start on MUDD's life-support-loss code
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
cfb5daa8f0
STARTREK: Fixes to textboxes
...
Center the speaker name, and show the choice number when there are
multiple choices.
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
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
dc1e44efb9
STARTREK: Most of LOVE2 done
2018-08-09 08:37:30 +02:00