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
Matthew Stewart
0f3efc0e55
STARTREK: TRIAL0
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
51e2c85a25
STARTREK: FEATHER0
2018-08-09 08:37:30 +02:00
Matthew Stewart
bfb312a319
STARTREK: Done with atmosphere loss event
2018-08-09 08:37:30 +02:00
Matthew Stewart
b3c3174102
STARTREK: MUDD5
2018-08-09 08:37:30 +02:00
Matthew Stewart
296bad07b8
STARTREK: Missing null-terminator with animations
2018-08-09 08:37:30 +02:00
Matthew Stewart
a636aacf51
STARTREK: MUDD4
2018-08-09 08:37:30 +02:00
Matthew Stewart
0879985ddd
STARTREK: MUDD3
2018-08-09 08:37:30 +02:00
Matthew Stewart
c471503581
STARTREK: MUDD2
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
62cd8e4730
STARTREK: Implement keybindings on away missions
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
d8e255e9e7
STARTREK: Implement synthesizer + bugfixes (LOVE)
2018-08-09 08:37:30 +02:00
Matthew Stewart
958a9065aa
STARTREK: LOVE5
2018-08-09 08:37:30 +02:00
Matthew Stewart
43a0a574ff
STARTREK: LOVE4
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
16042faa65
STARTREK: Start on LOVE3
2018-08-09 08:37:30 +02:00