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
Paul Gilbert
7d110de48f
STARTREK: Silence most Visual Studio warnings
...
Enums are signed in at least Visual Studio, and it was generating
many warnings of the cast to byte in the Action constructor was
losing precision. Likewise, there were some cases of -1 being
passed as a parameter to Action. This resolves these warnings by
making the constructor parameters int
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
44b0a4c7bb
STARTREK: Remove optional parameters from methods
2018-08-09 08:37:30 +02:00
Matthew Stewart
933d21429f
STARTREK: LOVE1
2018-08-09 08:37:30 +02:00
Matthew Stewart
28debc6673
STARTREK: Fix some problems on old compilers
2018-08-09 08:37:30 +02:00
Matthew Stewart
efda57c114
STARTREK: LOVE0 (start of 3rd mission)
2018-08-09 08:37:30 +02:00
Matthew Stewart
6e322ebfc5
STARTREK: TUG3 (mission 2 finished)
2018-08-09 08:37:30 +02:00
Matthew Stewart
3d27a9a92c
STARTREK: Initialize strings in actor objects
2018-08-09 08:37:30 +02:00
Matthew Stewart
d0033df8ea
STARTREK: Fix animations underneath textboxes
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
688c988909
STARTREK: Fix some uninitialized variables
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
0c28fd964e
STARTREK: TUG1
2018-08-09 08:37:30 +02:00
Matthew Stewart
ad76c744af
STARTREK: TUG0 (first room of mission 2)
2018-08-09 08:37:30 +02:00
Matthew Stewart
ed7d22cd0f
STARTREK: Make "missionScore" mission-specific
2018-08-09 08:37:30 +02:00
Matthew Stewart
84a30e4dce
STARTREK: Preliminary saving/loading
2018-08-09 08:37:30 +02:00
Matthew Stewart
c17bef8285
STARTREK: Loop audio
2018-08-09 08:37:30 +02:00
Matthew Stewart
fe5658ca17
STARTREK: Mission 1 finished
2018-08-09 08:37:30 +02:00
Matthew Stewart
1290b7ea02
STARTREK: Demon6, including the special case menu
2018-08-09 08:37:30 +02:00
Matthew Stewart
e5a97d9137
STARTREK: Demon5
2018-08-09 08:37:30 +02:00
Matthew Stewart
2e80a35e08
STARTREK: Sort text alphabetically by ID
2018-08-09 08:37:30 +02:00
Matthew Stewart
5b28ece2b5
STARTREK: Begin with Demon4
2018-08-09 08:37:30 +02:00
Matthew Stewart
a6b87e84e7
STARTREK: Talk to miner action in Demon3
2018-08-09 08:37:30 +02:00
Matthew Stewart
30c41ae634
STARTREK: Refactor text using integer constants
2018-08-09 08:37:30 +02:00
Matthew Stewart
29e62d1a18
STARTREK: Finish demon3
2018-08-09 08:37:30 +02:00
Matthew Stewart
9e314e19d9
STARTREK: Demon2, half of Demon3 done
2018-08-09 08:37:30 +02:00
Matthew Stewart
45ae72b763
STARTREK: DEMON1 done (klingon attack)
2018-08-09 08:37:30 +02:00
Matthew Stewart
ca3a9dcc87
STARTREK: Finish implementing first room
...
Doors now work, and the system of "walking, then performing an action
afterward" is implemented.
2018-08-09 08:37:30 +02:00
Matthew Stewart
bd79e4d653
STARTREK: Begin on room-specific code for room 1
2018-08-09 08:37:30 +02:00
Matthew Stewart
66b4ec36bd
STARTREK: Cleanup some text code
2018-08-09 08:37:30 +02:00
Matthew Stewart
a6bee58f62
STARTREK: Default behaviour for look action
2018-08-09 08:37:30 +02:00
Matthew Stewart
f66b77d9fd
STARTREK: Rename objects to actors
2018-08-09 08:37:30 +02:00
Matthew Stewart
ec2306f8b0
STARTREK: Don't memset sprites, add Fixed16 type
2018-08-09 08:37:30 +02:00
Matthew Stewart
6117a89194
STARTREK: Inventory menu and hotspots
...
Action buttons now react when hovering over hotspots.
2018-08-09 08:37:30 +02:00
Matthew Stewart
02485484c3
STARTREK: Buffer all changes to the mouse bitmap
2018-08-09 08:37:30 +02:00
Matthew Stewart
edcc80393a
STARTREK: Tweak events to update mouse more often
2018-08-09 08:37:30 +02:00
Matthew Stewart
01970f43df
STARTREK: Fix draw priority of menus
2018-08-09 08:37:30 +02:00
Matthew Stewart
2120ce1062
STARTREK: Action menu
2018-08-09 08:37:30 +02:00
Matthew Stewart
2731ae2287
STARTREK: Refactor text and menus
...
Moved them out of the Graphics class and into their own files.
2018-08-09 08:37:30 +02:00
Matthew Stewart
be8e807a4b
STARTREK: Warps between rooms
2018-08-09 08:37:30 +02:00
Matthew Stewart
2a588200ed
STARTREK: Pathfinding
2018-08-09 08:37:30 +02:00
Matthew Stewart
1110fee2e4
STARTREK: Sprite layering
2018-08-09 08:37:30 +02:00
Matthew Stewart
65d24b0451
STARTREK: Basic walking
2018-08-09 08:37:30 +02:00