Commit Graph
117 Commits
Author SHA1 Message Date
Filippos Karapetis 108f3174f4 STARTREK: Implement basic functionality for the Enterprise's bridge
It's now possible to use the menu system and talk to some crewmates.
The game now starts in bridge mode, and it's possible to beam down
by using Kirk's transporter icon.
2020-11-23 01:24:51 +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 bc1d661cf8 STARTREK: Further work on the ST 25th demo 2020-11-17 21:24:12 +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 fe542f2dd7 STARTREK: Started implementing bridge functions. Some cleanup 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 40bfdb8d7a STARTREK: Plug memory leaks 2020-09-09 22:36:10 +03:00
Filippos Karapetis 468ca9e00e STARTREK: Hook bridge function stubs 2020-07-27 00:54:49 +03:00
Paul Gilbert bd381ae8d0 STARTREK: Refactor to use Engine debugger 2020-02-16 13:07:19 +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 da9bd9a102 STARTREK: Simplify setBackgroundImage() 2019-12-27 16:54:58 +02:00
Filippos Karapetis 9ebb737a06 STARTREK: Simplify the BAN (misc animations) code 2019-12-27 16:54:57 +02:00
D G Turner bffb4418bd STARTREK: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-01 00:59:20 +00: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
Cameron Cawley 537280c35a STARTREK: Simplify call to initGraphics() 2019-09-01 17:14:18 +01:00
Filippos Karapetis 8e69e9e462 STARTREK: Fix failed action texts 2019-08-19 00:18:02 +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
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
Thierry Crozat 66a335eb18 Revert "STARTREK: Start adding a console"
This reverts commit 33fb9809c3.
The engine/startrek/console.h and engine/startrek/console.cpp
files were missing from that commit, which break compilation.
2019-05-28 23:55:35 +01:00
Filippos Karapetis 33fb9809c3 STARTREK: Start adding a console
We need to properly inject it to all inner screen update loops
2019-05-28 21:44:07 +03:00
Matthew Stewart 944370c349 STARTREK: Fixes to drawR3Shape; red planet renders 2019-05-28 08:08:52 +03:00
Filippos Karapetis 4ade45cb11 STARTREK: Improve game responsiveness
- Add a delay after screen updates
- Do not update the screen when drawing the background - this is unnecessary
- Fix memory leak when drawing the background
2019-05-27 21:14:08 +03:00
Filippos Karapetis daf2f07e6b STARTREK: Use Common::String for animation strings 2019-05-27 19:39:29 +03:00
Filippos Karapetis b0699f703e STARTREK: Fix memory leak 2019-05-27 18:25:57 +03:00
Filippos Karapetis f6af273fca STARTREK: Fix MSVC warnings
- Disable duplicate if block
- Fix potentially uninitialized variables
- Change _activeMenu to be a regular pointer, instead of a SharedPtr - it was not
initialized correctly
- Fix struct packing in structs with pointers to complex objects
- Fix sound initialization
- Fix memory leaks (handles to files which were never deleted)
2019-05-27 14:53:44 +03:00
Strangerke a6e8744159 STARTREK: remove dead code, simplify if statement by moving out code identical in both branches 2018-08-31 00:24:00 +02:00
David Fioramonti 0805ac2be3 STARTREK: Update cos/sin table constructor change
They now take in the size rather than the power of 2 exponent.
2018-08-18 16:30:57 +02:00
Matthew Stewart ad6a2bb0bb STARTREK: Make FileStream extend MemoryReadStream 2018-08-09 08:37:30 +02:00
Matthew Stewart e5e54b8a1f STARTREK: Split up startrek.cpp into more files 2018-08-09 08:37:30 +02:00
Matthew Stewart c6834a997c STARTREK: Put CD ROM detection into features field 2018-08-09 08:37:30 +02:00
Matthew Stewart 06d7656d42 STARTREK: Play midi sounds on floppy version 2018-08-09 08:37:30 +02:00
Matthew Stewart ae6c86bc7a STARTREK: Implement save loading from launcher 2018-08-09 08:37:30 +02:00
Matthew Stewart 23b3782b52 STARTREK: SINS0 2018-08-09 08:37:30 +02:00
Matthew Stewart 5660ce8134 STARTREK: Fix .BAN file rendering behind textboxes 2018-08-09 08:37:30 +02:00
Matthew Stewart 919db23841 STARTREK: Implement "BAN" files.
These are background animations in various rooms, purely visual.
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 eff87179da STARTREK: Half-done implementation of drawR3Shape
Handles drawing, scaling, probably rotating objects in space.
2018-08-09 08:37:30 +02:00
Matthew Stewart 565bf0e967 STARTREK: atan2 function 2018-08-09 08:37:30 +02:00
Matthew Stewart 2b09f698ed STARTREK: sine & cosine 2018-08-09 08:37:30 +02:00
Matthew Stewart 710b9db0fd STARTREK: Rename fixed-point types 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 a024a3fd45 STARTREK: Move space functions into separate file 2018-08-09 08:37:30 +02:00
Matthew Stewart 639c02b76f STARTREK: Fix sound, support MT32.
Also jump to the first mission after the intro.
2018-08-09 08:37:30 +02:00
Matthew Stewart 52cfe60271 STARTREK: Get starfields working for the intro 2018-08-09 08:37:30 +02:00