Commit Graph
86814 Commits
Author SHA1 Message Date
Torbjörn Andersson 3d8d5541dc JANITORIAL: Silence GCC 7 fall through warning 2017-08-06 16:40:42 +02:00
Torbjörn Andersson a70767503e SWORD1: Silence GCC warning about potential overflow
Probably doesn't ever happen, but now 'fileName' is as large as it
needs to be if 'label' is as long as it can be.
2017-08-06 16:38:03 +02:00
Torbjörn Andersson 0bde79b2b8 JANITORIAL: Silence some more GCC 7 fall through warnings 2017-08-06 16:35:25 +02:00
Torbjörn Andersson 5602ca3d64 JANITORIAL: Silence some more GCC 7 fallthrough warnings
These weren't explicitly flagged as deliberate, but I recognize
Duff's Device when I see it.
2017-08-06 15:26:44 +02:00
Torbjörn Andersson 70a2ca8b7d JANITORIAL: Silence more GCC 7 warnings
All these fall through were marked as deliberate, so again I've only
changed the comment to silence GCC.
2017-08-06 13:30:51 +02:00
Thierry Crozat 38a8015b83 I18N: Update translations templates 2017-08-06 13:14:01 +02:00
Bastien Bouclet 3007bbe178 MOHAWK: Riven: Load only the data files for the current game version
The Steam version is a DVD version, but also has files from the CD
version in the data folder. We need to load only the files from the DVD
version to prevent data inconsistencies.

Also check on startup that all the required datafiles are present.

Possibly fixes #10052.
2017-08-06 13:13:28 +02:00
Torbjörn Andersson 9f34aa69b7 GOB: Fix what looks like an obviously incorrect condition
Though since I don't have the game I can't actually test it. :-)
2017-08-06 12:29:21 +02:00
Torbjörn Andersson 462f1c9859 JANITORIAL: Silence more GCC 7 warnings
There were all flagged as intentional fall throughs. I simply changed
the comments to something GCC would recognize.
2017-08-06 12:26:05 +02:00
Torbjörn Andersson 4fb0d1e56f JANITORIAL: Increase buffer size to fix potential overflow
Caught by GCC 7 (though the warning seemed misleading to me). Since
SoundDesc->name can potentially be 14 characters "%s_reg%03d.fla"
can be 25 characters, plus the terminating \0.
2017-08-06 12:00:32 +02:00
Torbjörn Andersson b4c1e86d9f JANITORIAL: Silence GCC warning
Since case 64 was added for "MM C64 Costume Animation", and
considering the way it's written to only affect game version 0,
it is clearly an intentional fall through.
2017-08-06 11:51:57 +02:00
Torbjörn Andersson 14525bb412 JANITORIAL: Silence some GCC 7 warnings
We have lots and lots of -Wimplicit-fallthrough warnings, and I
don't know if it's worth fixing them or not. But if we want to,
this is how it can be done.
2017-08-06 11:48:14 +02:00
Eugene Sandulenko 86d1b1b050 GRAPHICS: MACGUI: Fix cursor position when MacTextWindow is scrolled 2017-08-06 11:23:23 +02:00
Paul Gilbert bbd9247eb8 TITANIC: Maintain static movie frames on objects across saves 2017-08-05 22:38:00 -04:00
Paul Gilbert e29b2fc731 TITANIC: Fix original savegames from the bar not loading 2017-08-05 19:06:35 -04:00
Paul Gilbert 503b9c16d2 TITANIC: Don't show invalid meta info for original game saves 2017-08-05 18:34:50 -04:00
Eugene Sandulenko 9d2ca34ae4 GRAPHICS: MACGUI: Enforce surface cleanup on MacText clearing 2017-08-05 23:55:44 +02:00
Eugene Sandulenko a00ca84bdb WAGE: Implement Gui::clearOutput() 2017-08-05 23:50:45 +02:00
Eugene Sandulenko 5091968f4c GRAPHICS: MACGUI: More work on clearing MacTextWindow content 2017-08-05 23:50:45 +02:00
Paul Gilbert 31f17cd47c TITANIC: Fix getting into Lift 1 from a first class floor 2017-08-05 17:47:40 -04:00
Paul Gilbert 933927259e TITANIC: Fix releasing chicken in middle of parrot leaning out to eat 2017-08-05 17:09:46 -04:00
Paul Gilbert 5984111a26 TITANIC: Cleanup and fix for multi drop targets
The fix deals with a bug in the original that if an item was used
that the drop target didn't handle, the item wouldn't be returned
to the player's inventory
2017-08-05 15:49:17 -04:00
Paul Gilbert 1fdf0c70d4 TITANIC: Add missing conv fragment for Presidential bed during checkin 2017-08-05 14:55:35 -04:00
Paul Gilbert d9be91cc34 TITANIC: Only allow exiting SGT minilifts on the ground floor 2017-08-05 14:48:50 -04:00
Paul Gilbert 1e3a6be863 TITANIC: Fix arrow keys allow getting to bridge before Titania is fixed 2017-08-05 11:26:41 -04:00
Thierry Crozat b4a41a04ac I18N: Update translations templates 2017-08-05 14:55:51 +02:00
Bastien Bouclet c6e6d0b3df MOHAWK: Riven: Ensure the entire view is drawn when pan transitions complete
Fixes #10063.
2017-08-05 14:14:37 +02:00
Bastien Bouclet 51a342b9ec MOHAWK: Riven: Make sure to update the cursor when entering a card 2017-08-05 14:01:11 +02:00
Bastien Bouclet e5869ecdc9 MOHAWK: Riven: Remove the DVD flag from some versions
Those are obviously repackaged CD versions
2017-08-05 10:50:31 +02:00
Bastien Bouclet 550306fc05 MOHAWK: Riven: Set the ADGF_TESTING flag 2017-08-05 10:50:04 +02:00
Bastien Bouclet 8e4697946e OPENGL: Always clear the whole backbuffer
Previously we were clearing the whole backbuffer for 3 frames after a
window size change, and then only clearing the game area. This assumes
the OpenGL driver uses at most 3 render buffer and uses them in
sequential order. This does not seem to be the case on Linux when using
an Intel integrated GPU.
Instead we now clear the whole backbuffer on each frame to make sure
there are no leftovers remaining on the screen. All semi-recent GPUs
should have hardware clear anyway so this should not impact negatively
performance.

Possibly fixes #10025.
2017-08-05 08:36:32 +02:00
Bastien Bouclet d6de8e52c3 MOHAWK: Myst: Set the clicked resource only if the active resource was updated
Fixes #10053.
2017-08-05 08:36:32 +02:00
Bastien Bouclet cd6a4423ef MOHAWK: Myst: Display every second fireplace button animation frame
The animation is too slow when displaying each frame at 60 fps.

Fixes #10053
2017-08-05 08:36:32 +02:00
Eugene Sandulenko 75491291f9 GRAPHICS: MACGUI: Made CLIP statemements more useful 2017-08-05 08:12:43 +02:00
D G Turner 81a236ee8f GRAPHICS: MACGUI: Fix GCC Compiler Warnings. 2017-08-05 06:16:22 +01:00
Paul Gilbert a851c3b185 TITANIC: Don't allow loading games when Bellbot is summoned 2017-08-04 22:57:36 -04:00
Paul Gilbert c393c1faa0 TITANIC: Fix using chicken on Bilge SuccUBus 2017-08-04 22:35:13 -04:00
Paul Gilbert 3a798b09be TITANIC: Fix arrow movements ignoring restricted moves 2017-08-04 22:20:25 -04:00
Paul Gilbert e44c5bdcc6 TITANIC: Introduce movement via arrow keys
This also fixes a bug with Page Up, Down, Home, & End not working for
the Conversation tab. Additionally, code for scrolling individual
lines in the conversation and glyphs via the arrow keys has been
removed in favor of this centrallised movement, since they were
somewhat redundant, and the mouse wheel can be used for scrolling.
2017-08-04 22:00:49 -04:00
Paul Gilbert f9c370d942 TITANIC: Fixes for names in the CursorId enum 2017-08-04 21:08:35 -04:00
Eugene Sandulenko fe88fab431 WAGE: Mark Gui::clearOutput() as stub 2017-08-05 00:29:28 +02:00
Eugene Sandulenko b60e2eb89b WAGE: Remove all old console code
Now we have fully switched to MacTextWindow. Yay!
2017-08-05 00:27:12 +02:00
Eugene Sandulenko 58a30b9146 GRAPHICS: MACGUI: Do not crash when window callback is null 2017-08-05 00:24:28 +02:00
Eugene Sandulenko 2feeefaed3 WAGE: Implemented Cut and Clear actions over MacTextWindow 2017-08-05 00:06:22 +02:00
Eugene Sandulenko 4fea533dfd GRAPHICS: MACGUI: Added more selection manipulation methods to MacTextWindow 2017-08-05 00:05:44 +02:00
Eugene Sandulenko dfaadb1763 GRAPHICS: MACGUI: Fix compilation 2017-08-04 21:55:08 +02:00
Eugene Sandulenko 2aac665a2b GRAPHICS: MACGUI: Fix displaying two line text selections 2017-08-04 21:54:20 +02:00
Eugene Sandulenko 1241ada63a GRAPHICS: MACGUI: Fixed bug with column detection in text selection 2017-08-04 21:54:20 +02:00
Eugene Sandulenko c7f83cd435 GRAPHICS: MACGUI: Fix end line text selection hihglight 2017-08-04 21:54:20 +02:00
Eugene Sandulenko 410efd9ff5 GRAPHICS: MACGUI: Fix detection for Cut command enablement 2017-08-04 21:54:20 +02:00