Commit Graph
1672 Commits
Author SHA1 Message Date
Johannes Schickel 75e8452b6e OPENGL: Merged from trunk, from rev 52105 to 53396.
This includes an rather hacky attempt to merge all the recent gp2x backend
changes into the branch. I suppose the gp2x backend and probably all new
backends, i.e. gph, dingux etc., might not compile anymore.

Since I have no way of testing those it would be nice if porters could look
into getting those up to speed in this branch.

svn-id: r53399
2010-10-13 03:57:44 +00:00
David Turner 6527c01cb5 GOB: Add Debug Console.
This allows interactive control of debug flags and variables and provides a base to allow
for commands to aid in tracking down script bugs which are tricky to replicate.

svn-id: r53398
2010-10-13 03:49:54 +00:00
Torbjörn Andersson 54b2a8c98d JANITORIAL: Cleanup (mostly whitespace)
svn-id: r53161
2010-10-12 04:19:58 +00:00
Sven Hesse 8e523d9d2f GOB: Fix object videos with more than 255 frames
A regression of the CoktelDecoder rewrite.

svn-id: r53043
2010-10-07 09:18:15 +00:00
Sven Hesse 7ffd94004e GOB: Try to also open VMD files in Gob3 Win
Because the scripts reference it as IMD, while there are actually
only VMDs files in the data files of the Windows version

svn-id: r53037
2010-10-05 21:22:30 +00:00
Sven Hesse 2a99d3d4b1 GOB: Silence compiler warnings
svn-id: r53036
2010-10-05 20:59:47 +00:00
Sven Hesse b749b28c09 GOB: Fix text display in Gob3 Windows/ADI
svn-id: r53032
2010-10-05 18:54:30 +00:00
Arnaud Boutonné 305d6fc7f5 GOB: Remove useless variable
svn-id: r52957
2010-09-30 15:31:31 +00:00
Sven Hesse 947540c089 GOB: Fix 16bit cursors
svn-id: r52952
2010-09-30 13:04:43 +00:00
Sven Hesse 1d17a4157f GOB: Remove extra \n in debug warning()s
svn-id: r52951
2010-09-30 13:04:14 +00:00
Sven Hesse 89f946ba3e GOB: Transparency support for 16bit surfaces
svn-id: r52950
2010-09-30 13:03:51 +00:00
Sven Hesse 3ab8bf16a2 GOB: Create 16bit surfaces for true color games
Enabling basic Urban drawing again

svn-id: r52949
2010-09-30 13:03:22 +00:00
Sven Hesse 4f2b58b117 GOB: Remove the now useless VGAVideoDriver
svn-id: r52948
2010-09-30 13:02:50 +00:00
Sven Hesse 51fd528fe5 GOB: Change all drawing to use class Surface
svn-id: r52947
2010-09-30 13:02:16 +00:00
Sven Hesse 38e5060041 GOB: Add a new class Surface
This will be the new class managing all drawing, providing
depth-agnostic methods for all drawing operations, including 2
iterator-like classes, Pixel and ConstPixel.

svn-id: r52946
2010-09-30 13:01:07 +00:00
Sven Hesse e68b6e9f15 GOB: Remove dither stuff, commenting out most v6 drawing
svn-id: r52945
2010-09-30 13:00:30 +00:00
Sven Hesse b6766f0d7f GOB: Stub setting up of 16bpp graphics
svn-id: r52944
2010-09-30 12:59:48 +00:00
Sven Hesse 13d41dca41 GOB: Add kFeaturesTrueColor
svn-id: r52943
2010-09-30 12:59:18 +00:00
Sven Hesse 3cb3b1e692 GOB: Rename kFeatures640 to kFeatures640x480
svn-id: r52942
2010-09-30 12:58:52 +00:00
Torbjörn Andersson 971d5ca4b8 GOB: Don't crash if getCharData() returns NULL
This happened to me when playing the floppy version of Gobliins 2. I
don't know if it's a fix or a workaround, but the function can clearly
return NULL so let's guard against it.

svn-id: r52813
2010-09-20 00:02:12 +00:00
Torbjörn Andersson c91a07229a JANITORIAL: Removed most punctuation at end of warning() and error()
Our warning() and error() functions always add an exclamation mark
to the end of the message anyway.

svn-id: r52791
2010-09-18 10:55:16 +00:00
Arnaud Boutonné be569dad40 GOB: Add detection for polish gob2 and gob3
MD5s provided in bug #3067489

svn-id: r52767
2010-09-17 17:52:17 +00:00
Arnaud Boutonné 47c46cdfde GOB: Add detection for Gob1 CD Polish
svn-id: r52734
2010-09-15 19:00:28 +00:00
Arnaud Boutonné a002c6f2fd GOB: Fix 2nd Hebrew protection screen in Fascination
Add a workaround to avoid a crash when failing the protection check
This only applies for the 2nd protection screen in the Hebrew version
which is used when the intro is not skipped

svn-id: r52672
2010-09-10 23:40:08 +00:00
Arnaud Boutonné c2f29ba22d GOB: Change detection of Fascination CD
At the opposite of the other versions, the real name of the first 
stick file in Fascination CD is intro.stk, not disk0.stk.

svn-id: r52424
2010-08-28 12:36:19 +00:00
Arnaud Boutonné bbab21300a GOB: Detection of pirated games
Add detection of the known cracked Coktel 
games with the appropriate ADGF_PIRATED flag

svn-id: r52395
2010-08-25 20:10:45 +00:00
Arnaud Boutonné eface88e31 GOB: Add information about a cracked Fascination
Add a comment about a cracked versions of Fascination. The crack used
is based on the original executable's tolerance, it crashes in 
Scummvm.

svn-id: r52360
2010-08-24 21:30:44 +00:00
Arnaud Boutonné b563a9d265 GOB: Little cleanup of Fascination detection
svn-id: r52359
2010-08-24 21:25:19 +00:00
Arnaud Boutonné a85cb60e00 GOB: Two fixes for the Fascination delay issue.
Add two more workarounds for the delay issue between the storage 
room and the lab. This fixes the PC Floppy Hebrew and german 
versions.

svn-id: r52334
2010-08-24 12:50:12 +00:00
Arnaud Boutonné a484a99e9f GOB: Avoid a crash in the protection screen of Fascination (PC).
When failing the protection check, the script of the PC version was writing on purpose everywhere in the memory to hang the computer. This resulted in a crash in Scummvm, fixed by this workaround. (Tested on the 256 Col version french and german)

svn-id: r52316
2010-08-24 06:25:08 +00:00
Arnaud Boutonné 704ee45b98 GOB - Suppress debug comments
svn-id: r52290
2010-08-22 23:21:48 +00:00
Arnaud Boutonné c8005dfb75 GOB - Fix 2 bugs in Fascination Hebrew, now playable.
Again, thanks SylvainTV for the debugging efforts

svn-id: r52288
2010-08-22 23:11:29 +00:00
Arnaud Boutonné 4109b40d88 GOB - Add detection for all the languages on Fascination CD
Add detection for Spanish, Italian, German and French

svn-id: r52286
2010-08-22 19:54:12 +00:00
Arnaud Boutonné 5cd3ea41db GOB: Clean up of Fascination code
Move Fascination specific function to appropriate classes, plus some style modifications

svn-id: r52267
2010-08-21 18:16:04 +00:00
Arnaud Boutonné 10066443b0 GOB: Add an initGame() for Fascination.
Added in order to suppress the speaker and the adlib flag. When the speaker flag is set, some sounds are skipped. The adlib flag will be required the day the MDY/TBR player will work: SB music for the moment

svn-id: r52247
2010-08-20 22:23:12 +00:00
Arnaud Boutonné b6c929a02a Fascination - (SylvainTV) Implement window traces
svn-id: r52238
2010-08-20 20:31:05 +00:00
Arnaud Boutonné 588472a8e6 Fascination - Add a delay before entering the lab. This was a script issue only present in the Amiga and Atari ST versions
svn-id: r52221
2010-08-20 07:59:23 +00:00
Arnaud Boutonné 67c1997bf4 Fascination - Fix protection screen (and several other glitches like in the very last screen behavior)
svn-id: r52217
2010-08-19 21:32:54 +00:00
Arnaud Boutonné f23cc57ad5 Fascination : Avoid to set _showCursor in initCursorAnim as it enables the cursor all the time, which is wrong. This fixes the bad icon while loading issue, and the weird icon in the lab. Thanks SylvainTV for solving it.
svn-id: r52178
2010-08-18 00:03:58 +00:00
Arnaud Boutonné bdedf90c59 Suppress one more useless debug message
svn-id: r52162
2010-08-17 19:04:04 +00:00
Arnaud Boutonné b37b0d9b0c Fascination - Suppress some debug messages
svn-id: r52160
2010-08-17 16:27:56 +00:00
Eugene Sandulenko b6d1c45bb7 GOB: Fix warnings about potentially uninitialized vars.
svn-id: r52142
2010-08-17 10:19:06 +00:00
Arnaud Boutonné e075f05395 Gob - Clean up: suppress blanks and tabs present at the end of line
svn-id: r52136
2010-08-17 08:33:50 +00:00
Arnaud Boutonné 8ed0a70b06 Fascination - Fix the texts not cleaned up (eg Hotel Hall). Thanks SylvainTV for identifying the problem
svn-id: r52135
2010-08-17 07:41:15 +00:00
Arnaud Boutonné 0bfb74fd57 Fascination - Suppress a debug warning, and replace several warnings by errors.
svn-id: r52133
2010-08-16 21:18:38 +00:00
Arnaud Boutonné 97943cef45 Fascination - (SylvainTV) Replace DRAW_DRAWLETTER by DRAW_BLITSURF. It makes a difference for Fascination, not for the other games using mult_v2. This fixes the refresh of all the little animations in Fascination.
svn-id: r52132
2010-08-16 21:16:13 +00:00
Arnaud Boutonné e26da1a634 Fascination - (SylvainTV) Always free anims when initializing the scenary. (Hopefully) Fixes every window display issues in lab, villa, picture labo, and lounge.
svn-id: r52109
2010-08-16 00:29:05 +00:00
Alejandro Marzini b0409d6739 Merge trunk, from r51777 to r52105
svn-id: r52108
2010-08-16 00:21:07 +00:00
Arnaud Boutonné 8b649178ce Fascination - Add workaround for script bug: wrong track name is called in storage room
svn-id: r52107
2010-08-15 23:40:24 +00:00
Arnaud Boutonné 58987824c2 Gob - Follow cppcheck advices
svn-id: r52106
2010-08-15 23:37:56 +00:00