Commit Graph
20 Commits
Author SHA1 Message Date
Le Philousophe 1a5ef8794a STARTREK: Don't use unsafe strcat and strcpy 2022-10-23 22:46:19 +02:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Filippos Karapetis 85b8806ca8 STARTREK: More work on bridge sequences
Also, unify the Common::String types
2020-12-21 03:13:56 +02:00
Filippos Karapetis 5f8675a07d STARTREK: Use Common::String in playTextAudio() 2020-12-19 01:50:39 +02:00
Filippos Karapetis f9ebef6e1a STARTREK: Implement the computer, some kb input and bridge functions 2020-11-21 14:40:56 +02:00
Filippos Karapetis 61bf089cb6 STARTREK: Remove the remaining goto's 2020-11-17 23:55:58 +02:00
Filippos Karapetis df536ad6f8 STARTREK: Reduce usage of SharedPtr in sprites 2020-09-09 22:36:10 +03:00
Filippos Karapetis f4a7652e20 STARTREK: Simplify the input box cursor code 2020-01-01 23:16:48 +02:00
Filippos Karapetis 0ae3cbc2e8 STARTREK: Reduce usage of SharedPtr, and simplify bitmap related calls 2019-12-28 13:22:18 +02:00
Filippos Karapetis 454149c49d STARTREK: Reduce usage of SharedPtr 2019-12-27 16:54:57 +02:00
Filippos Karapetis 0c1a04a23c STARTREK: Remove sound function wrappers out of StarTrekEngine 2019-11-03 13:21:41 +02:00
Filippos Karapetis b2d1cfa126 STARTREK: Refactored mouse cursor and bitmap handling
- Reduced usage of SharedPtr
- Simplified the mouse cursor code (normal, locked, stack handling)
- Simplified the background handling code
- Initialize the mouse cursor after the graphics are initialized
2019-10-29 02:58:36 +02: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 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 8885508237 STARTREK: Refactor code to remove more gotos 2019-05-27 19:11:10 +03:00
Strangerke 3fc6680f4f STARTREK: Silence a CppCheck warning 2018-08-10 07:47:44 +02:00
Eugene Sandulenko 85cd347503 STARTREK: Fix compilation on macOS
nullptr is an object on macOS.
2018-08-09 09:20:51 +02:00
Matthew Stewart 982502650f STARTREK: Replace min & max with MIN & MAX 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 abf711a4d3 STARTREK: text.cpp -> textbox.cpp 2018-08-09 08:37:30 +02:00