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
Matthew Stewart
f43c5d4687
STARTREK: Implement CD Audio handling.
2018-08-09 08:37:30 +02:00
Matthew Stewart
e4c5a34568
STARTREK: Add mouse cursor
2018-08-09 08:37:30 +02:00
Matthew Stewart
060d10c463
STARTREK: Fix off-by-1 bug in drawSprite
2018-08-09 08:37:30 +02:00
Matthew Stewart
a69f025818
STARTREK: Implement drawAllSprites properly.
...
Still need to do the part which calculates sprite priorities.
2018-08-09 08:37:30 +02:00
Matthew Stewart
7c62092367
STARTREK: Begin implementing menus
2018-08-09 08:37:30 +02:00
Matthew Stewart
2dd96e044f
STARTREK: Begin implementation of showText.
...
Also started using SharedPtrs.
2018-08-09 08:37:30 +02:00
Matthew Stewart
8cd5441959
STARTREK: Implement addSprite and delSprite
2018-08-09 08:37:30 +02:00
Matthew Stewart
cd45502501
STARTREK: Implement draw modes 2 and 3 for sprites
2018-08-09 08:37:30 +02:00
Matthew Stewart
c71a8a6d2a
STARTREK: Implement drawSprite function
2018-08-09 08:37:30 +02:00