Commit Graph
137148 Commits
Author SHA1 Message Date
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
Eugene Sandulenko 9e81f4de89 GRAPHICS: MACGUI: Better selection row detection 2017-08-04 21:54:20 +02:00
Eugene Sandulenko 55a241494e GRAPHICS: MACGUI: Improved text selection edge case behaviour 2017-08-04 21:54:20 +02:00
Eugene Sandulenko b284895100 GRAPHICS: MACGUI: Leave text highlight after selection is made 2017-08-04 21:54:20 +02:00
Eugene Sandulenko 532af0bb60 WAGE: Use MacTextWindow for Undo and Paste 2017-08-04 21:54:20 +02:00
Eugene Sandulenko dd2123f8bf GRAPHICS: MACGUI: Added method to append input to MacTextWindow 2017-08-04 21:54:20 +02:00
Eugene Sandulenko a5fa164b8e GRAPHICS: MACGUI: Bugfixes for selection copying in MacText 2017-08-04 21:54:20 +02:00
Eugene Sandulenko 951244ac3f WAGE: Use MacTextWindow code for copying to clipboard 2017-08-04 21:54:20 +02:00
Eugene Sandulenko 23649e8d87 GRAPHICS: MACGUI: Initial code for copying selection to clipboard 2017-08-04 21:54:20 +02:00