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
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
da9bd9a102
STARTREK: Simplify setBackgroundImage()
2019-12-27 16:54:58 +02:00
Filippos Karapetis
f7a5c21d4d
STARTREK: Move isPointInPolygon() inside the Room class
...
This accesses the room data, so it's better to move it inside the Room
class, to reduce direct visibility of the room vertex data
2019-12-27 01:33:28 +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
D G Turner
d68ab5e4af
STARTREK: Fix MSVC Signed vs. Unsigned Byte Warning
2019-09-30 03:03:11 +01: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
709d606e01
STARTREK: Adapt many usages of Common::SharedPtr() to regular pointers
2019-06-11 00:48:16 +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
0355ebdacf
STARTREK: Reduce a couple of variable scope, add a CHECKME
2018-08-10 07:31:07 +02:00
Eugene Sandulenko
85cd347503
STARTREK: Fix compilation on macOS
...
nullptr is an object on macOS.
2018-08-09 09:20:51 +02:00
Strangerke
be4174dc3d
STARTREK: Janitorial: Add end of namespace comments
2018-08-09 08:37:30 +02:00
Matthew Stewart
42b228144a
STARTREK: Allow engine to run without voc files
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
0e85e19ee7
STARTREK: Move function descriptions to headers
2018-08-09 08:37:30 +02:00
Matthew Stewart
c2dd39a6c2
STARTREK: Remove some gotos
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
2771797eb0
STARTREK: "Use" action was bypassing "disableWalk"
...
When objects could be walked to by "using" them, this bypassed the
"disableWalk" variable.
2018-08-09 08:37:30 +02:00
Matthew Stewart
5863f515f7
STARTREK: FEATHER5
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
bfb312a319
STARTREK: Done with atmosphere loss event
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
b3c3174102
STARTREK: MUDD5
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
aa41f89395
STARTREK: Fix memory leak in drawAllSprites
2018-08-09 08:37:30 +02:00
Matthew Stewart
c3bd0347ad
STARTREK: More minor fixes to LOVE mission
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
e367f9d25e
STARTREK: Fix swapped McCoy & Spock speaker names
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
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
Matthew Stewart
dc1e44efb9
STARTREK: Most of LOVE2 done
2018-08-09 08:37:30 +02:00
Matthew Stewart
a4b67dabf6
STARTREK: Change spawn room back to room 0
2018-08-09 08:37:30 +02:00
Matthew Stewart
487c3fda32
STARTREK: TUG2
2018-08-09 08:37:30 +02:00
Matthew Stewart
41997ebc20
STARTREK: Default text for undefined actions
2018-08-09 08:37:30 +02:00
Matthew Stewart
fe5658ca17
STARTREK: Mission 1 finished
2018-08-09 08:37:30 +02:00