746 Commits

Author SHA1 Message Date
Torbjörn Andersson
df4f95f805 Let the [cursor] palette manager handle disableCursorPalette() too, to avoid
cursor glitch in at least some HE games which first set a cursor palette, and
then disable it. (The disabled palette would be re-enabled after dismissing the
GUI.)

svn-id: r23081
2006-06-13 09:48:46 +00:00
Travis Howell
486f181314 Add another version of SoccerMLS
svn-id: r23077
2006-06-13 04:05:16 +00:00
Eugene Sandulenko
fd7e9847fc Removed commented-out subtitles-related code. Requested by salty-horse.
svn-id: r23030
2006-06-11 20:29:07 +00:00
Travis Howell
db3a66569d Update prefix filters for subtitles in HE80+ games
svn-id: r23010
2006-06-10 12:05:27 +00:00
Travis Howell
afe07d82c0 Use convertFilePath for HE6x games too, for safety
svn-id: r22994
2006-06-09 09:01:06 +00:00
Travis Howell
763d7ef3ff Ooops, correct order
svn-id: r22993
2006-06-09 08:10:00 +00:00
Travis Howell
f571c471cc Add DOS and Macintosh versions of Putt-Putt & Fatty Bear's Activity Pack
svn-id: r22991
2006-06-09 08:06:38 +00:00
Eugene Sandulenko
9a46b6047d Add Russian pajama1 and lost.
svn-id: r22953
2006-06-06 15:39:58 +00:00
Travis Howell
04d8cef848 Minor cleanup
svn-id: r22950
2006-06-06 04:33:09 +00:00
Travis Howell
ca79b6c285 Add target for full versions of Blue's Birthday Adventure
svn-id: r22948
2006-06-06 04:09:32 +00:00
Travis Howell
fd4feeada3 Fix detection of updated Spy Fox 1 demo
svn-id: r22934
2006-06-05 14:52:57 +00:00
Travis Howell
ddb9863c39 Fix detection of some HE games and demos
svn-id: r22933
2006-06-05 14:46:34 +00:00
Travis Howell
50cbb8ca80 The F1-F8 keyboard shortcuts aren't available in FM-TOWNS version of Zak
svn-id: r22872
2006-06-03 13:33:05 +00:00
Travis Howell
fc26d9b413 Update talkspeed config setting, when set by game scripts
svn-id: r22854
2006-06-03 04:10:14 +00:00
Travis Howell
93a91f9c6d Update talkspeed config setting, when set by game scripts
svn-id: r22853
2006-06-03 03:51:17 +00:00
Travis Howell
61e9bc72e4 Correct setting of VAR_CHARINC in several functions, the value should only be reversed when using keyboard shortcuts (Due to the scrollbar)
svn-id: r22850
2006-06-03 03:04:19 +00:00
Lars Persson
4bc3f94589 Small correction, added space between filename and new line.
svn-id: r22805
2006-05-31 19:28:54 +00:00
Travis Howell
3b1062d2d4 Add patch for bug #1452272 - COMI: Verb strings aren't wrapped
svn-id: r22793
2006-05-31 10:48:40 +00:00
Gregory Montoir
7ff20a70a5 The ScummDebugger object needs to be created after _numVariables has been set. This is apparently only done in in readMAXS() which is called by readIndexFile(). Moved the call to the object constructor in the init() method. This fixes the 'scumm_vars' debugger command.
svn-id: r22755
2006-05-29 18:30:27 +00:00
Torbjörn Andersson
fa77904074 If we're going to intercept attempts to set VAR(VAR_CHARINC) in writeVar(), we
should probably set it the same way as updateSoundSettings() does it, i.e. to
9 - getTalkspeed(), not getTalkspeed().

I was testing the scene in Sam & Max where you give candy to Doug. I had set
the talk speed to max. The script tried to set CHARINC to 3, but instead it was
changed from 0 to 9...

svn-id: r22748
2006-05-29 17:27:22 +00:00
Johannes Schickel
cba9ef32c2 adds support for filling the thumbnail display in a given color if no thumbnail is present
svn-id: r22745
2006-05-29 14:40:18 +00:00
James Brown
38537899b3 Remove printf() debug message that appears annoyingly in Zak256. Anyone know what this was added to figure out?
svn-id: r22739
2006-05-29 14:15:19 +00:00
Travis Howell
a0d14a0832 Fix Commodore 64 versions
svn-id: r22732
2006-05-29 12:45:11 +00:00
Max Horn
dc2da7a804 Moved the hack that distinguishes MM V1 demo from the full version to a more appropriate location (so that the game gets correctly detected)
svn-id: r22718
2006-05-28 12:28:28 +00:00
Max Horn
d5c74ee633 No need to compute the SCUMM version here; rather, verify that the SCUMM version is already set correctly
svn-id: r22715
2006-05-28 12:12:30 +00:00
Paweł Kołodziejski
ea05e31330 increase buffer for comi smush audio track, that fixes bug #1479721
svn-id: r22702
2006-05-28 06:04:46 +00:00
Travis Howell
21f50b3267 Use different method to detect V1 demo of Maniac Mansion, since md5 matches the full version
svn-id: r22695
2006-05-28 03:47:20 +00:00
Eugene Sandulenko
b5355a9142 Backed up my own commit :/ The user did a mistake when supplied the data.
svn-id: r22691
2006-05-27 23:31:08 +00:00
Eugene Sandulenko
de1d77670f Added new samnmax demo file name pattern. See bug #1496105: "Sam & Max Hit
the Road (ENGLISH/PC-DEMO V2) - Path Error"

svn-id: r22686
2006-05-27 20:08:42 +00:00
Eugene Sandulenko
b56c7b88d7 Major GUI update:
- Implemented padding in console
- Update only current line in console instead of whole screen
- Fixed caret positioning in edit text widget
- Improved buttons drawing, now they look more realistic
- Added label spacing in popup widget
- Correct shadow in popup widget
- Fixed up with selected popup widget being drawn on wrong tab
- Added shading to list dialog
- Adjusted shading of inactive widgets
- Proper coloring of browset (add game) dialog
- Introduced Container widget
- Used Container widget in scumm save/load dialog. Now it looks properly
- Adjusted button colors even more. Now they match almost perfectly albeit with banding
- Made scrollbar appear only when it is really needed

svn-id: r22670
2006-05-27 05:46:04 +00:00
Travis Howell
3d0aa0a4d9 snmdemo uses *.sm0/1 data files
svn-id: r22669
2006-05-27 00:12:30 +00:00
Travis Howell
b858a6de65 Fix V1 demo of maniac
svn-id: r22667
2006-05-27 00:01:25 +00:00
Max Horn
0035042725 Fix for bug #1495361 (MONKEY1 AMIGA: Error at gamedetection)
svn-id: r22648
2006-05-26 08:20:15 +00:00
Eugene Sandulenko
5fee4afc32 - Put scrollbar inside of list widget
- Use resize() instead of setPos() and setSize() where applicable

svn-id: r22646
2006-05-26 01:49:56 +00:00
Torbjörn Andersson
8062eb6ec3 Set and show/hide mouse cursors through a "cursor manager" (analogous to the
recently added (cursor) palette manager) so that the cursor can be properly
restored after returning from the GUI.

If there's any C++ magic that can keep the backend functions from being called
by anything else than these managing classes, that would probably be a good
idea. Also, since the cursor manager keeps a copy of the cursor image, perhaps
there are at least some backends that will no longer need to?

svn-id: r22639
2006-05-25 22:51:42 +00:00
Torbjörn Andersson
2f51f40c11 Downgraded startHETalkSound() error (when the speech file isn't open) to a
warning, since it happens on the Pajama Sam's Lost & Found demo's main menu
screen.

svn-id: r22593
2006-05-24 03:56:48 +00:00
Max Horn
e4ab8000f0 Pass values by-reference, using C++ references, and not by using pointers
svn-id: r22548
2006-05-20 15:09:15 +00:00
Torbjörn Andersson
05814a1458 Apparently, passing a file handle directly to a function causes that file
handle (a copy of the original?) to be destroyed at the end of the function,
and that closes the internal file handle, even though we want it to stay open.

Who am I to argue with how C++ handles its parameters? I've simply changed the
functions to take pointers to file handles instead. Seems to fix crashes in the
Macintosh resource extractor for me.

svn-id: r22546
2006-05-20 13:59:31 +00:00
Torbjörn Andersson
6cdd98b617 After the GUI has finished, restore the old cursor palette (if any). For this
to work, cursor palette now has to be set using the new "palette manager". See
graphics/paletteman.cpp

svn-id: r22543
2006-05-20 10:59:25 +00:00
Travis Howell
9bc90636f2 Update HE version for another English version of socks
svn-id: r22529
2006-05-19 00:35:13 +00:00
Torbjörn Andersson
2531fd5873 Added player for the Kyra 3 VQA cutscenes, based on my earlier prototype. It
could use some cleanup, and there are a couple of TODOs sprinkled throughout
the code, but it seems to work reasonably well. Until the Kyra 3 main menu is
implemented, it won't actually be used though.

It uses the appendable audio stream class, which I have moved out of the SCUMM
engine.

svn-id: r22526
2006-05-18 21:46:07 +00:00
Eugene Sandulenko
8e9db03379 Plug memory leak
svn-id: r22523
2006-05-18 19:37:38 +00:00
Eugene Sandulenko
e982782281 Fix bug #1483272: "GUI: SCUMM pause dialog breaks upon scaler switch". Also
fix same problem in scumm help dialog.

svn-id: r22522
2006-05-18 16:44:44 +00:00
Eugene Sandulenko
9e3b78e1e9 --force-1x-overlay is no more. Remove leftovers.
svn-id: r22519
2006-05-18 13:59:20 +00:00
Travis Howell
4d69cfeaa4 Update HE version for another English version of socks
svn-id: r22510
2006-05-18 02:34:55 +00:00
Eugene Sandulenko
9103ddda4e Give more feedback to users who misused our SAN compression tool and ignored
FLU index for cideos which are used by INSANE.

svn-id: r22506
2006-05-18 00:20:53 +00:00
Eugene Sandulenko
14ec3f45fa - Heavily modified patch #1214784: "Disable overlay scaling"
- Eriktorbjorn's patch from same tracker item for scaling sword1/2 cutscenes
  is applied as is. It lacks resolution switch on-the-fly.
- GUI widgets are repositioned on the fly and use most space, even aspect
  ratio corrected screen is used without scaling
- Heavy tesing is required, but works for me in all cases except for bug
  #1483272: "GUI: SCUMM pause dialog breaks upon scaler switch" which needs more
  work.
- I probavly broke some backend or two

svn-id: r22505
2006-05-17 23:52:45 +00:00
Max Horn
b6b53afe26 Tell people to only report the MD5 if it's a regular version of the game (and not e.g. a fan translation)
svn-id: r22495
2006-05-16 20:00:48 +00:00
Torbjörn Andersson
076f489107 If the options dialog calls it "Subtitle speed", then so should the indicator
displayed when pressing the + or - keys.

svn-id: r22485
2006-05-16 07:41:48 +00:00
Torbjörn Andersson
e723f7d1eb Ignore unknown SysEx manufacturer IDs, rather than erroring on them. This does
NOT fix bug #1481383, even if that's where I heard about this problem.

svn-id: r22479
2006-05-15 13:19:30 +00:00