Commit Graph
54649 Commits
Author SHA1 Message Date
Matthew Stewart 273131ce35 STARTREK: Quit game menu and mouse warp function 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 69dac4d62d STARTREK: Add debug channel for sound 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 9c2ed1d9b7 STARTREK: Implement sound effects in the midis
Removed amiga and mac sound code for now since I can't test it.
2018-08-09 08:37:30 +02:00
Matthew Stewart fd26d0a790 STARTREK: Begin implementing event system.
Textbox now responds to mouse input.
2018-08-09 08:37:30 +02:00
Matthew Stewart 295c55c510 STARTREK: Implement more text routines 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
Matthew Stewart b84a3bb4f2 STARTREK: Make Bitmap, Sprite, FileStream classes 2018-08-09 08:37:30 +02:00
Matthew Stewart 60d672db73 STARTREK: Fixes to file loading.
The "numbered" files that I implemented can also use letters as the last
character.
2018-08-09 08:37:30 +02:00
Matthew Stewart f2260d1e9a STARTREK: Implement loading "numbered" files 2018-08-09 08:37:30 +02:00
Matthew Stewart b1878174ec STARTREK: Add detection for the ST25 Mac demo 2018-08-09 08:37:30 +02:00
Matthew Hoops e07fe3f1a4 STARTREK: Import my startrek engine
Now updated even
2018-08-09 08:37:30 +02:00
David Fioramonti b47cae789b TINSEL: Fix displayed saved game month off by one
This corrects the displayed month for querySaveMetaInfos being a month
behind.
2018-08-07 18:38:40 -07:00
Andrei Prykhodko c255de107d PINK: implemented text drawing in ActionText for English version 2018-08-05 22:08:54 +03:00
Bastien Bouclet ad3feae490 MOHAWK: RIVEN: Fix crash when clicking on a marble with the mouse moving
In some cases a mouse moved event could be handled between the moment
the xtakeit script was queued and the moment it is executed (on the same
frame), causing the mouse position no longer to be over a marble
rectangle.

Fixes #10647.
2018-08-04 06:42:17 +02:00
Adrian Frühwirth a4ab2d8cfe SAGA: Deduplicate kScriptTimeTicksPerSecond constant 2018-08-03 14:58:09 +02:00
David Fioramonti de1a35a9d9 GROOVIE: Allow saving via GMM and increase save slots to 25
If the user enters in an invalid description for the save then it will be
simplified by the saved name cache process in Script::savegame.

I checked this with t7g, but not with the 11th guest or any other Groovie game.

The original in-game loading/saving can still only access the first 10 save
slots (0-9).

Its possible to saving via the GMM when the game is interactive.

Loading a game saved via the gui using the original in-game load menu
works fine.

Saving via the GMM with timestamp works, but only only saves the characters
up to the first non-alpha non-letter characer.
2018-08-03 14:53:43 +02:00
David Fioramonti f06cf65479 TINSEL: Add playTime to saved game and display it
Also bumps the saved game format version to 3.

I changed the order of how the data is saved so that the playtime could
be read in without skipping as much data.

This is because querySaveMetaInfos only needs the metafields where as
saveload::DoRestore() needs more of the header.

A crash was happening when trying to delete a saved game from the launcher.
It is because the engine is not initalized. I assign a dummy value to
resolve the issue.

Loading saved games from previous versions works.

When an old version saved game is loaded it will start with zero playtime.

Old saved games are shown as not having playtime data.
2018-08-03 14:52:47 +02:00
David Fioramonti 2649c429db LAB: By default skip thumbnail loading for readSaveGameHeader
This changes the convention back to skipping the thumbnail loading
for readSaveGameHeader. querySaveMetaInfos is the only place it
shouldn't be skipped.
2018-08-03 14:51:12 +02:00
David Fioramonti 3922370275 BLADERUNNER: Add cos/sine table
This uses the one in Common.

The engine now contains a 10-bit cosine and sine table.
It used mostly for vector math.

This also allows two vector functions to be removed from vector.h.
2018-08-03 14:50:45 +02:00
whiterandrek e9fde87cf2 PINK: fixed bug when in walking state you choose another location 2018-08-02 21:09:27 +03:00
Colin Snover 8da86418bf PARALLACTION: Fix use-after-free on quit
Parallaction::_gfx is referenced by objects destroyed when
Parallaction::_input is destroyed so it cannot be destroyed first.
2018-08-01 16:44:51 +01:00
Colin Snover 69df2e2d0e PARALLACTION: Fix null pointer dereference on quit 2018-08-01 16:44:51 +01:00
Colin Snover 8f7f7a9c2b PARALLACTION: Fix invalid array access at dialogue selection
Also removes an unnecessary second condition check for oldAnswer
by moving that closer to its point of use.
2018-08-01 16:44:51 +01:00
D G Turner 574318c052 MOHAWK: Fix Unused Variable Compiler Warning.
This occurs when FreeType2 is not enabled and thus fontHeight variable
is unused.
2018-07-31 13:38:33 +01:00
D G Turner 2a4fa26d52 CRUISE: Fix Possible Invalid Thumbnail Pointer Access. 2018-07-31 09:22:26 +01:00
Bastien Bouclet 3a7f85971f MOHAWK: MYST: Add support for the localized 25th games 2018-07-30 20:13:16 +02:00
D G Turner 3f91accbd7 DM: Fix Possible Uninitialized Variable Usage Compiler Warnings. 2018-07-30 14:07:23 +01:00
Andrei Prykhodko f79eceda10 PINK: force cursor updating when entering to pda page 2018-07-29 22:54:05 +03:00
Andrei Prykhodko 8530d9fbc5 PINK: fixed Coverity warnings 2018-07-29 21:34:20 +03:00
Andrei Prykhodko bb732cd9c8 PINK: add partial implementation of ActionText 2018-07-29 21:23:04 +03:00
D G Turner d1d521c61c SLUDGE: Fix Unused Function Compiler Warnings. 2018-07-29 09:40:32 +01:00
Torbjörn Andersson f6a0e197b1 ZVISION: Add workaround for ZGI bug #10605
It's possible to get the "Fire! Fire!" timer stuck after setting
the the inquisitor doll on fire. This should work around that.
2018-07-29 09:48:47 +02:00
Torbjörn Andersson 2982792eb1 ZVISION: Add workaround for bug #10604
It was possible to render the game unplayable simply by looking at
Jack's cigar box while waiting for him to return to examine the
lamp. Note that this bug is only present in the DVD version. For
whatever reason, it adds a dummy location for playing the cutscene.
Applying the bugfix in the CD version actually breaks the game.
2018-07-29 09:48:19 +02:00
Cameron Cawley 7730fbb36e WINTERMUTE: Return Common::kUnsupportedColorMode if the required screen format is unavailable 2018-07-29 09:38:12 +02:00
D G Turner 51a2685e3f SUPERNOVA: Fix Unused Variable Compiler Warnings. 2018-07-29 08:25:37 +01:00
D G Turner 6ae2bff1c7 PINK: Fix Unused Const Variable Compiler Warning. 2018-07-29 08:08:03 +01:00
D G Turner 1f3aaac12c MOHAWK: Silent Compiler Warning About Unused VM Pointer.
This can be restored if required at a later time.
2018-07-29 06:00:42 +01:00
D G Turner 8f1e1bdd8c LILLIPUT: Minor Sound Function Name Change For Consistency.
This has no functional change, but improves the consistency with the
renamed stopSound() function.

Also, minor fixes for formatting, removal of redundant comments and code
in sound class.
2018-07-29 05:30:37 +01:00