Commit graph

75468 commits

Author SHA1 Message Date
Paul Gilbert
847b9c8472 TITANIC: Fix compiler warnings 2016-08-20 07:36:40 -04:00
Eugene Sandulenko
fdd4e8369a DIRECTOR: Lingo: Defined 'mod' operator and specified operator precedence 2016-08-20 12:59:59 +02:00
Eugene Sandulenko
dcbc7e3b4d DIRECTOR: Lingo: Added all D2 text properties. This completes D2 grammar. Yay! 2016-08-20 12:20:59 +02:00
Eugene Sandulenko
8d30487b76 DIRECTOR: Lingo: Added stubs for all D2 sprite properties 2016-08-20 12:14:28 +02:00
Eugene Sandulenko
2bcae4cadc DIRECTOR: Lingo: Added stubs for all D2 properties 2016-08-20 12:09:47 +02:00
Eugene Sandulenko
223b7f1613 DIRECTOR: Lingo: Stub for 'menu' command. This completes all D2 commands 2016-08-20 11:49:42 +02:00
Eugene Sandulenko
80b8fcf693 DIRECTOR: Lingo: Added stub for 'instance' keyword 2016-08-20 11:42:01 +02:00
Eugene Sandulenko
1660b859a1 DIRECTOR: Lingo: Implemented 'exit repeat' keyword 2016-08-20 11:37:17 +02:00
Kirben
ff60ee30ad WIN32: Update build target and installer for SDL2. 2016-08-20 16:45:50 +10:00
Paul Gilbert
3c2c82fcd5 TITANIC: Implemented more game classes 2016-08-19 23:41:19 -04:00
Paul Gilbert
449d8a02e0 TITANIC: Implemented CEditControl class 2016-08-19 22:05:15 -04:00
Paul Gilbert
a5a1a08c50 TITANIC: Implemented more game classes 2016-08-19 20:48:05 -04:00
Eugene Sandulenko
5ec6f572c1 TITANIC: Fix infinite recursion 2016-08-19 23:18:29 +02:00
Eugene Sandulenko
164dffd096 Merge pull request #806 from sev-/sdl2-switch
BUILD: Switch SDL backend to SDL2 by default. SDL1 is still a fallback.
2016-08-19 22:56:01 +02:00
Eugene Sandulenko
f5a508ff4d FULLPIPE: Let the bitmaps flip twice 2016-08-19 22:36:42 +02:00
Eugene Sandulenko
557ad21e3d Merge pull request #809 from bSr43/master
CREATE_PROJECT: Fix Xcode project
2016-08-19 22:29:46 +02:00
Eugene Sandulenko
66a94b9eb9 FULLPIPE: Fix flipVertical too 2016-08-19 22:24:28 +02:00
Colin Snover
7f23c91de9 SCI32: Fix limited data range comparison warning
On at least DC platform, the ShowStyleType enum is fit to a 4-bit
data size, so the 16-bit input value needs to be checked for
validity *before* it is cast to a 4-bit ShowStyleType.
2016-08-19 15:23:10 -05:00
Colin Snover
da62a99a00 SCI32: Remove unused ResourceManager from GfxFrameout 2016-08-19 15:23:10 -05:00
Colin Snover
dc093742b3 SCI32: Bug fixes to PQ:SWAT script bugs and kList calls 2016-08-19 15:23:10 -05:00
Colin Snover
b106ba1102 SCI: Avoid attempts to use exe/txt/dll files as patches
Fixes some false warnings when games try to read in non-patch
files with names that start with A/B/S/T.
2016-08-19 15:23:10 -05:00
Colin Snover
c4250c05d0 SCI32: Enable multi-disc audio resources
Phant1, PQ:SWAT, GK2, and Phant2 all have different audio maps
and audio volumes on each CD. In order to make this work within
ScummVM, where CDs are never swapped, each RESOURCE.AUD for these
games must be renamed to RESAUD.00x and each RESOURCE.SFX renamed
to RESSFX.00x.
2016-08-19 15:23:10 -05:00
Colin Snover
0a4a2567a3 SCI32: Partially implement kCD 2016-08-19 15:23:10 -05:00
Colin Snover
051eae4639 SCI32: Increase maximum line width for graphics
Torin renders pics that are wider than 1024px; SCI3 bumps the
maximum line width to 4k.
2016-08-19 15:23:10 -05:00
Colin Snover
e55b774584 SCI32: Add kPlayVMDGetStatus kernel call
Used by Lighthouse.
2016-08-19 15:23:10 -05:00
Colin Snover
6708b58faf SCI: Remove references to SCI32 features from SCI16 video player 2016-08-19 15:23:10 -05:00
Colin Snover
4e1a9be816 SCI32: Remove CoordAdjuster32, at least for the moment
This may come back in the future to deduplicate some gfx code,
but SCI32 had two different inlined ways of doing coordinate
conversions with different rounding methods, so CoordAdjuster32
didn't get used when the graphics system was rewritten.

At the moment, SCI32 code uses the mulru/mulinc methods from
helper.h for scaling up/down coordinates.
2016-08-19 15:23:10 -05:00
Colin Snover
eae6891404 SCI32: Fix kGlobalToLocal and kLocalToGlobal
Fixes (at least) the native SCI save dialogs.
2016-08-19 15:23:10 -05:00
Eugene Sandulenko
16a3f99230 FULLPIPE: Fix Bitmap flipping code. Thanks to wanwan 2016-08-19 22:12:31 +02:00
Colin Snover
0f2748b15a SCI32: Implement kRobot 2016-08-19 14:08:22 -05:00
Colin Snover
7da359755d SCI32: Split kPlatform for SCI32 2016-08-19 13:57:40 -05:00
Colin Snover
b1d53ca25d SCI32: Add kSetNowSeen variant for older SCI32 games
KQ7 2.00b, PQ:SWAT, Phant1, GK2, and Torin are all verified as
using the 'ignore' variant; SQ6 and QFG4CD are verified as using
the 'fail' variant. MGDX and Shivers could not be checked as they
have only Phar Lap Win16 executables, so took a guess based on
their release dates.
2016-08-19 13:57:40 -05:00
Colin Snover
fdb2290415 SCI32: Add some bounds checking, const-correctness, and errors to CelObj 2016-08-19 13:57:40 -05:00
Colin Snover
79d9e0af68 SCI32: Address TODO in seg_manager.h 2016-08-19 13:57:40 -05:00
Colin Snover
6e2e862d8e SCI32: Implement kShakeScreen for SCI32 2016-08-19 13:57:40 -05:00
Colin Snover
b74532fc1e SCI32: Clean up Cursor32 includes 2016-08-19 13:57:40 -05:00
Colin Snover
d5bcef1e66 SCI32: Hide cursors in 24bpp video playback mode
Drawing the cursor in this mode will result in a read overflow as
it is 8bpp.
2016-08-19 13:57:40 -05:00
Colin Snover
89a82f5b55 SCI32: Fix signature of kSetNowSeen 2016-08-19 13:57:40 -05:00
Colin Snover
ff00e93c67 SCI32: Remove GfxScreen from SCI32 2016-08-19 13:57:40 -05:00
Colin Snover
c8a2b9af22 SCI32: Fix comment 2016-08-19 13:57:40 -05:00
Colin Snover
03177721b8 SCI32: Allow pixel doubling of some cursors to improve usability 2016-08-19 13:57:40 -05:00
Colin Snover
80d9182554 SCI32: Implement SCI32 cursor support 2016-08-19 13:57:40 -05:00
Colin Snover
9bfeb3c297 SCI32: Remove GfxScreen from GfxFrameout
Only cursor remains to be updated to go through GfxFrameout, and
then we can let GfxScreen go back to being SCI16-only.
2016-08-19 13:57:40 -05:00
Eugene Sandulenko
97be9aa6dc DIRECTOR: Lingo: Improved debug output 2016-08-19 19:04:07 +02:00
Eugene Sandulenko
7896f2b6c2 DIRECTOR: Lingo: Enhanced Datum::toString() output 2016-08-19 18:56:07 +02:00
Eugene Sandulenko
835a9e1b57 DIRECTOR: Lingo: Better VAR symbol handling 2016-08-19 18:50:58 +02:00
Eugene Sandulenko
0a3d891f6e DIRECTOR: Lingo: Fix when..then code generation 2016-08-19 18:49:01 +02:00
Eugene Sandulenko
31b8ea453a DIRECTOR: Lingo: Fixed c_eval decompilation 2016-08-19 18:47:30 +02:00
Eugene Sandulenko
21d4d0aeb2 DIRECTOR: Lingo: Added generated script decompilation 2016-08-19 12:39:08 +02:00
Eugene Sandulenko
1abbe6bcf0 DIRECTOR: Lingo: Hide script hexdump under debug level 2016-08-19 09:55:22 +02:00