43 Commits

Author SHA1 Message Date
Filippos Karapetis
49395f2a8a STARTREK: Rename sound IDs and remove calls to blank sounds 2020-12-29 16:14:02 +02:00
Filippos Karapetis
1cd061fa00 STARTREK: Always return a value in leftClickEvent() 2020-12-20 16:53:53 +02:00
Filippos Karapetis
9c25f9ee64 STARTREK: Add support for loading actors into dynamically assigned slots 2020-12-14 03:48:51 +02:00
Filippos Karapetis
691f460d9f STARTREK: Add more functionality related to bridge actions 2020-12-08 11:20:37 +02:00
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
5dbea61544 STARTREK: Refactor menu code to remove goto's. Some cleanup 2020-11-17 23:40:10 +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
ed24377900 STARTREK: Move resource-related functions into a separate class 2020-09-09 22:36:11 +03:00
Filippos Karapetis
df536ad6f8 STARTREK: Reduce usage of SharedPtr in sprites 2020-09-09 22:36:10 +03: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
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
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
3f7f1a2410 STARTREK: Remove the FileStream wrapper class 2019-06-11 00:48:15 +03:00
Matthew Stewart
552b88cbd5 STARTREK: Bugfix to map preview of republic 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
8885508237 STARTREK: Refactor code to remove more gotos 2019-05-27 19:11:10 +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
Matthew Stewart
a5d7b86206 STARTREK: VENG1 2018-08-09 08:37:30 +02:00
Matthew Stewart
bd1b9f66cb STARTREK: Implement republic map screen 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
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
aa41f89395 STARTREK: Fix memory leak in drawAllSprites 2018-08-09 08:37:30 +02:00
Matthew Stewart
37e6a886c1 STARTREK: Right-clicking & keyboard in menus 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
84a30e4dce STARTREK: Preliminary saving/loading 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
45ae72b763 STARTREK: DEMON1 done (klingon attack) 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
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
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