13841 Commits

Author SHA1 Message Date
Travis Howell
1057d5fa69 Rename sprite field.
Cleanup.

svn-id: r17931
2005-05-06 12:23:19 +00:00
Travis Howell
076e42c302 Use ScummVM code formatting for names.
svn-id: r17930
2005-05-06 11:37:33 +00:00
Max Horn
d04492a05a Allocate all 16bit surfaces with the same bitformat as the HW surface (Fixes bug #1196374)
svn-id: r17929
2005-05-06 10:07:33 +00:00
Travis Howell
947be5edc2 Rename sprite field.
Cleanup

svn-id: r17928
2005-05-06 08:46:45 +00:00
Travis Howell
21fe989da9 Fix regression in demos (Failed to find correct file to md5 checksum).
svn-id: r17927
2005-05-06 07:45:48 +00:00
Travis Howell
172b95d347 Check if stream exists first.
svn-id: r17926
2005-05-06 04:44:54 +00:00
Travis Howell
c8b17da61c Auto detect music and voice types, where possible.
Use correct set of MIDI tracks for MT32 in Simon the Sorcerer 2.

svn-id: r17925
2005-05-06 03:09:53 +00:00
Max Horn
0411be88db do not invoke a method on a non-existant stream
svn-id: r17924
2005-05-05 18:30:42 +00:00
Max Horn
d00117ec4b Fixed some doxygen warnings
svn-id: r17923
2005-05-05 15:59:24 +00:00
Travis Howell
c16cceafad Get XMAP from correct resource.
Avoid regression.

svn-id: r17922
2005-05-05 15:19:30 +00:00
Torbjörn Andersson
e42ea7f20c Oops.
svn-id: r17921
2005-05-05 14:38:32 +00:00
Travis Howell
30533838db HE90+ games set heap size in index.
svn-id: r17920
2005-05-05 14:30:37 +00:00
Travis Howell
4dacf09f72 Move to HE80
svn-id: r17919
2005-05-05 13:16:50 +00:00
Max Horn
f5900a917c Handle engine creation failure a bit more graceful
svn-id: r17918
2005-05-05 12:03:40 +00:00
Max Horn
fecc4d5f84 Return 0 in Engine_SCUMM_create if the game isn't found (instead of computing the MD5 of non-existant files)
svn-id: r17917
2005-05-05 12:03:16 +00:00
Max Horn
28e40b33a7 Add a comment regarding use of CoreAudio/AudioUnits v1 API
svn-id: r17916
2005-05-05 11:57:52 +00:00
Max Horn
54bf9bf1ad Turned File::exists into a static method (as it should have been from the start, silly copy&paste mistake
svn-id: r17915
2005-05-05 11:53:43 +00:00
Torbjörn Andersson
f1d59b4194 Applied patch #1195190. This may help the game run on 64-bit systems, but I
don't know anyone who can verify that.

svn-id: r17914
2005-05-05 11:37:41 +00:00
Torbjörn Andersson
fd326b4ce2 Cleanup
svn-id: r17913
2005-05-05 11:11:49 +00:00
Robert Göffringmann
4120ae9921 various PS2 system changes
svn-id: r17912
2005-05-05 03:06:32 +00:00
Marcus Comstedt
38c9a40c22 Dispense with the filename field of InVMSaves.
svn-id: r17911
2005-05-04 23:38:07 +00:00
Marcus Comstedt
fc25ef24b0 Cleanup of the cleanup code. :-)
svn-id: r17910
2005-05-04 23:34:26 +00:00
Marcus Comstedt
5b56b5ac01 Split VMSave into InVMSave and OutVMSave.
svn-id: r17909
2005-05-04 23:24:03 +00:00
Torbjörn Andersson
d1234bfdee Cleanup.
svn-id: r17908
2005-05-04 11:41:07 +00:00
Torbjörn Andersson
627095f1a6 The mult_playSound() function makes absolutely no sense at all to me, so
I've changed it to something that doesn't trigger assertions in the
Gobliiins demo intro.

svn-id: r17907
2005-05-04 07:32:12 +00:00
Torbjörn Andersson
1da2f1b627 Whitespace
svn-id: r17906
2005-05-04 06:44:42 +00:00
Travis Howell
77d6a04abc Switch link to web page with more detailed information on compression types.
svn-id: r17905
2005-05-04 01:57:03 +00:00
Eugene Sandulenko
575e94602c o Fixed ADPCM decoder length bug
o Plugged IMA ADPCM into SCUMM engine so latter HE titles now have speech
  though it is somewhat noisy don't know why as decoder is based on ADPCM
   reference implementation.

svn-id: r17904
2005-05-03 22:12:23 +00:00
Eugene Sandulenko
a71d60686c Moved Oki ADPCM aka VOX decoder from SAGA engine to common sound/ directory.
Implemented IMA ADPCM decoder.

svn-id: r17903
2005-05-03 20:36:07 +00:00
Eugene Sandulenko
6101cfd71b Skip wiz compression type 2 used by baseball2003
svn-id: r17902
2005-05-03 20:34:48 +00:00
Torbjörn Andersson
f5f9da940b More cleanup/restructuring: Moved walk-related code from Logic to Router.
(I may have to think up some better name for that class later.)

svn-id: r17901
2005-05-03 09:00:06 +00:00
Torbjörn Andersson
5f7b3d8cf2 Use File::size() instead of stat() to find the size of a file.
svn-id: r17900
2005-05-03 08:37:04 +00:00
Travis Howell
f17c35682a Add a few more HE demos.
svn-id: r17899
2005-05-03 02:23:16 +00:00
Max Horn
2b71af3de9 Const correctness
svn-id: r17898
2005-05-02 18:00:05 +00:00
Torbjörn Andersson
7947fa5d8a Don't let drawSprite() modify the SpriteInfo struct.
svn-id: r17897
2005-05-02 09:20:27 +00:00
Travis Howell
c090cc5a5f Add temporary hack for wizImages using compression type 2 for now.
svn-id: r17896
2005-05-02 07:36:23 +00:00
Travis Howell
6c34dcc0f2 Add work around for script bug in the first version of pajama.
svn-id: r17895
2005-05-02 07:20:44 +00:00
Torbjörn Andersson
cd6e22a3b1 Cleanup. Most of is simply moves the credits code out of Logic and into
Screen. I've also added an unused "splash screen" function that displays
the image that used to be shown by CacheNewCluster() while copying a data
file from CD to hard disk. ScummVM doesn't do that, but it's a nice image
that I wish we could do something useful with, and it's easier to have the
code here for reference than having to dig through old revisions of the
resource manager.

svn-id: r17894
2005-05-02 05:41:01 +00:00
Torbjörn Andersson
b56824d0cf Don't assert that "domain" is valid. One of the cases where this function
is called is when parsing the command-line, and we can't really expect the
user to always type something sensible.

svn-id: r17893
2005-05-02 05:29:50 +00:00
Travis Howell
0ab3872653 Add missing case for pajama.
Fixes music in MusicRm.

svn-id: r17892
2005-05-02 02:12:00 +00:00
Torbjörn Andersson
42ae68ff37 Whitespace
svn-id: r17891
2005-05-01 17:55:45 +00:00
Torbjörn Andersson
bbe41f0d3e This bugfix might warrant a mention.
svn-id: r17890
2005-05-01 17:51:15 +00:00
Torbjörn Andersson
81c84b683e If the sound ends before the cutscene, fall back on same synchronizing
mechanism as in the no sound case. In particular, don't hang while waiting
for the sound to play far enough to go to the next frame.

This should fix bug #1192646.

svn-id: r17889
2005-05-01 17:44:54 +00:00
Torbjörn Andersson
777618ddf9 Always check for _numDirtyRects overflow in addDirtyRect(). The 'mouseRect'
case didn't. This fixes bug #1193344.

svn-id: r17888
2005-05-01 17:39:38 +00:00
Travis Howell
a93b46c2a8 Missed two.
svn-id: r17887
2005-05-01 14:24:42 +00:00
Travis Howell
4e1cb79473 Add feature flag for HE games with 16bit color.
svn-id: r17886
2005-05-01 14:22:00 +00:00
Travis Howell
ae14f7049e HE80+ games store current charset numberin VAR80.
Fixes crash in bb2demo.

svn-id: r17885
2005-05-01 12:25:30 +00:00
Travis Howell
e3b906b569 Correction to copyHEPaletteColor()
Use checkRange(), like original.

svn-id: r17884
2005-05-01 11:29:14 +00:00
Travis Howell
d64e9d8c5c Add extra cases for bb2demo.
svn-id: r17883
2005-05-01 11:09:30 +00:00
Torbjörn Andersson
d6fb5517ed This should fix the negative frequency bug that caused some sound effects
to not be played, and probably fixes wrong frequency on some that were
played. It's all guesswork, though. I don't know if this is what the
original did.

svn-id: r17882
2005-05-01 10:15:30 +00:00