1115 Commits

Author SHA1 Message Date
Johannes Schickel
570b9e2c9d - load fonts for kyra3
- adds screen dim tables for kyra3
- adds palette / screen backup for the vqa player
- small changes in the vqa player to use the Kyra::Screen functions
- adds (partially implemented/unimplemented) main menu drawing/handling functions (nothing to see yet)

svn-id: r22528
2006-05-18 22:46:34 +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
Torbjörn Andersson
6b90c405e8 Initialise _resList to avoid crash (from freeing an invalid pointer) if the
data files are missing.

svn-id: r22520
2006-05-18 14:28:19 +00:00
Eugene Sandulenko
9e3b78e1e9 --force-1x-overlay is no more. Remove leftovers.
svn-id: r22519
2006-05-18 13:59:20 +00:00
Torbjörn Andersson
e563d0c182 Renamed screenChanged() to handleScreenChanged().
svn-id: r22518
2006-05-18 13:58:33 +00:00
Torbjörn Andersson
5c1f91eed4 Allow changing scaler while playing MPEG cutscenes.
svn-id: r22515
2006-05-18 13:18:02 +00:00
Johannes Schickel
c65d45146c fixes kyra2 gameflag init
svn-id: r22514
2006-05-18 11:36:29 +00:00
Torbjörn Andersson
b9206a3e98 Removed leftover printf()
svn-id: r22513
2006-05-18 11:35:08 +00:00
Torbjörn Andersson
a3fc0682f4 Cleanup.
svn-id: r22512
2006-05-18 11:32:59 +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
Torbjörn Andersson
65091f7370 Added (optional) looping to the digital sound class.
svn-id: r22504
2006-05-17 21:14:19 +00:00
Torbjörn Andersson
6bf1e10768 Fixed two off-by-one errors. One would cause the same frame of the Kyra 3 to be
displayed twice in a row. The other, more serious one, would cause ScummVM to
crash when reaching the end of the music. Now the music loops properly. (It
does fade down before looping, but that's how it is in the original as well.
It's just the way the music is recorded.)

svn-id: r22503
2006-05-17 20:54:51 +00:00
Torbjörn Andersson
0099932d0d Loop the Kyra 3 animation indefinitely.
svn-id: r22502
2006-05-17 20:35:25 +00:00
Torbjörn Andersson
4da20ba369 Maybe the svn:keywords were already set? Maybe this will fix the file headers instead.
svn-id: r22501
2006-05-17 20:25:08 +00:00
Torbjörn Andersson
c27b1201d4 Fixed crackling in Kyra 3 sound. (At least what little of it ScummVM currently
plays before finishing.)

svn-id: r22499
2006-05-17 19:42:55 +00:00
Johannes Schickel
f7c29ccc8b - adds AUD file player (has still some problems with playing)
- adds a new sound class SoundDigital (only used for Kyra3) (needs more work though)

svn-id: r22497
2006-05-17 18:07:02 +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
Eugene Sandulenko
ba2a6152c7 Set gameflags for kyra3 properly.
svn-id: r22493
2006-05-16 17:38:04 +00:00
Johannes Schickel
3d10ecf1ae Removes ENABLE_KYRA2 and ENABLE_KYRA3.
svn-id: r22492
2006-05-16 16:31:23 +00:00
Johannes Schickel
47a39a8401 Oops forgot some define checks
svn-id: r22491
2006-05-16 16:15:33 +00:00
Johannes Schickel
c8aa32d095 - implements kyrandia 3 wsa loader
- fixes initalisation problems
- adds setX, setY, setDrawPage to Kyra::Movie instead of directly accessing _x, _y and _drawPage

svn-id: r22490
2006-05-16 16:04:24 +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
Torbjörn Andersson
0191738cce When receiving a "Reset All Controllers" message, the neutral position of the
volume controller should probably be 127, not 100. Actually, there's some
confusion as to whether this message should touch the volume controller at all.
Added some comments to hopefully clarify that a bit.

svn-id: r22478
2006-05-15 12:39:53 +00:00
Paul Gilbert
fa23893974 Disassembled code responsible for making NPCs walk between rooms
svn-id: r22476
2006-05-14 22:11:14 +00:00
Torbjörn Andersson
536beaf286 Fixed regression in Maniac/Zak inventory drawing.
svn-id: r22469
2006-05-14 10:48:03 +00:00
Torbjörn Andersson
16b7c74cc4 Cleanup.
svn-id: r22468
2006-05-14 10:40:06 +00:00
Torbjörn Andersson
bb9de08c73 Specify the right edge of the sentence line in Maniac/Zak. This fixes bug
#1488189, where the sentence line would only display the first character.

svn-id: r22467
2006-05-14 09:58:30 +00:00
Torbjörn Andersson
44ac23a81d Setting VAR_CHARINC = _defaultTalkDelay cannot possibly be right. It's not the
same thing as setting VAR(VAR_CHARINC) = _defaultTalkDelay.

svn-id: r22466
2006-05-14 09:22:49 +00:00
Travis Howell
ada0160e88 Check if VAR_CHARINC exists, before setting value in updateSoundSettings()
svn-id: r22462
2006-05-14 06:00:40 +00:00
Max Horn
0d6362ea48 Patch #1091170: ALL, SCUMM: Subtitle speed control
svn-id: r22456
2006-05-13 17:30:04 +00:00
Eugene Sandulenko
61c3f9d4aa Add newly discovered HE demos.
svn-id: r22455
2006-05-13 17:28:33 +00:00
Travis Howell
f840b356c6 Add newline to end of file
svn-id: r22434
2006-05-13 10:39:35 +00:00
Andrew Kurushin
64c3407500 extract GameDescriptions to separate files (this will help compress_saga tool to detect sound resource)
svn-id: r22433
2006-05-13 10:30:38 +00:00
Andrew Kurushin
45b249ee60 fix VS2005 compilation warnings
svn-id: r22431
2006-05-13 08:39:12 +00:00
Travis Howell
9baf8a72f9 Remove _rejectCount and cleanup
svn-id: r22430
2006-05-13 08:24:47 +00:00
Travis Howell
9dfcea8739 Split VGA resource management back into FF and Simon 1/2 versions
svn-id: r22427
2006-05-13 06:18:47 +00:00
Johannes Schickel
a5b4fb7f18 - little cleanups
- adds kyra3 dummies

svn-id: r22425
2006-05-12 23:57:53 +00:00
Max Horn
3623a94927 Added the new AbstractFilesystemNode::getCurrentDirectory() method. Also changed the semantics of the FilesystemNode constructors (see also the relevant doxygen comments for explanations). This also fixes bug #1485941.
svn-id: r22424
2006-05-12 21:41:54 +00:00
Torbjörn Andersson
860073c45a Fixed two regressions in the o1_specialFade() opcode: The wrong colours were
faded, and they weren't faded enough. Don't you just love opcodes that are only
ever used at the very end of the game?

svn-id: r22418
2006-05-12 20:09:15 +00:00
Max Horn
d00755de8e Removing some unused code from INSANE
svn-id: r22417
2006-05-12 18:00:41 +00:00
Torbjörn Andersson
4ecee0e0f2 In Simon 1, when returning to normal size, the MIDI music contains "All
Controllers Off" messages. This should, among other things, reset the channel
volume to 100. Until now, however, we did not re-adjust the volume by the
master volume (like we do for ordinary volume control changes), so all of a
sudden there would be channels playing at the wrong volume.

This was particularly noticeable if you first turned down the music volume to
really low.

svn-id: r22412
2006-05-12 10:29:58 +00:00
Torbjörn Andersson
171285e8e5 Whitespace changes.
svn-id: r22411
2006-05-12 08:49:04 +00:00
Sven Hesse
42e03bd707 - Sound! Still a bit glitchy, though:
- Negative frequences?!? Maybe "SFX"?
  - No sound for a small part of the intro
    (there aren't any sndKeys covering that part either)
  - A rythm-instrument (hi-hat?) in the titlemusic isn't played as one
- More differences in the drawing functions fleshed out
- Some of the goblin handling functions written
- More unnamed functions and variables, wheeee...

svn-id: r22410
2006-05-11 19:43:30 +00:00
Torbjörn Andersson
d6af07989d This could be completely wrong, but I don't think Hotspot::stopWalking() is
supposed to call setCurrentAction() in Resources, because then ScummVM will
crash in getCurrentActionStr() whenever we try to interact with any object.

Since Hotspot::walkTo() calls setCurrentAction() in Hotspot, it seems like a
reasonable guess that this is the setCurrentAction() that stopWalking() should
call as well.

svn-id: r22409
2006-05-11 08:25:09 +00:00
Torbjörn Andersson
21b91adcdf Changed "it's" to "its" in a few comments.
svn-id: r22408
2006-05-11 08:04:41 +00:00