Commit Graph
62 Commits
Author SHA1 Message Date
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh 3919f53326 ENGINES: Replace new[]/memset with new[]() 2021-11-10 19:53:15 +01:00
Filippos Karapetis c1c4df9991 STARTREK: Add sanity checks when drawing sprites 2020-11-23 01:24:50 +02:00
Filippos Karapetis ed24377900 STARTREK: Move resource-related functions into a separate class 2020-09-09 22:36:11 +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 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 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
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 67f49429ae STARTREK: Replace getRectEncompassing() with extend() 2019-05-27 15:45:05 +03:00
Strangerke ae512d3bb3 STARTREK: Initialize more variables in graphics 2018-08-31 00:24:00 +02:00
D G Turner 86c6e3f460 STARTREK: Fix Various Compiler Warnings. 2018-08-09 19:02:00 +01:00
Matthew Stewart bd1b9f66cb STARTREK: Implement republic map screen 2018-08-09 08:37:30 +02:00
Matthew Stewart c8335cccd3 STARTREK: Fix memory leak in graphics.cpp 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 f412328181 STARTREK: Implement text input boxes
Needed for SINS mission with the keypads
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 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 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 6486579e6a STARTREK: Fixes to sprites when off-screen
There was a problem implementing FEATHER6 where a thrown rock goes
off-screen, which breaks an assertion that "rect.height() != 0" when
drawing it.
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 d0033df8ea STARTREK: Fix animations underneath textboxes 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 1290b7ea02 STARTREK: Demon6, including the special case menu 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 a6bee58f62 STARTREK: Default behaviour for look action 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 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 1110fee2e4 STARTREK: Sprite layering 2018-08-09 08:37:30 +02:00
Matthew Stewart 0187c795d5 STARTREK: Initialization of away mission.
Crew successfully beams in and does their idle animation.
2018-08-09 08:37:30 +02:00
Matthew Stewart dbeb58f392 STARTREK: Palette fading 2018-08-09 08:37:30 +02:00
Matthew Stewart d375429abe STARTREK: Objects and animations.
Testing them with the transporter room.
2018-08-09 08:37:30 +02:00
Matthew Stewart e578aa131f STARTREK: Rects don't include right/bottom pixel.
Fixes some off-by-one errors.
2018-08-09 08:37:30 +02:00
Matthew Stewart d37e2aba0e STARTREK: Options menu 2018-08-09 08:37:30 +02:00
Matthew Stewart e206d8e198 STARTREK: Remove executable bit on source files 2018-08-09 08:37:30 +02:00
Matthew Stewart 2932c392c4 STARTREK: Set default mouse sprite to stop crashes 2018-08-09 08:37:30 +02:00
Matthew Stewart e1d70e6a04 STARTREK: Disabling menu buttons + text menu. 2018-08-09 08:37:30 +02:00