14016 Commits

Author SHA1 Message Date
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
Travis Howell
2b351f73f4 VAR 78 controls platform in HE80+ games.
svn-id: r17881
2005-05-01 07:16:48 +00:00
Travis Howell
c76f228f67 VAR_NUM_SOUND_CHANNELS is 88 in HE80+ games.
svn-id: r17880
2005-05-01 06:54:27 +00:00
Travis Howell
cb6c2b9da5 Add extra cases for readdemo.
svn-id: r17879
2005-05-01 03:17:45 +00:00
Travis Howell
343debba1e Use correct safety check.
svn-id: r17878
2005-05-01 01:30:19 +00:00
Travis Howell
2260447e8b Add missing safety checks.
svn-id: r17877
2005-05-01 01:02:34 +00:00
Max Horn
051977cd17 cleanup closestPtOnLine
svn-id: r17876
2005-04-30 22:24:02 +00:00
Max Horn
ed4b43df73 Only allocate the actor sorting array once
svn-id: r17875
2005-04-30 22:01:16 +00:00
Eugene Sandulenko
280abe9e91 Convert windows path separators before opening wiz files.
svn-id: r17874
2005-04-30 20:48:59 +00:00
Max Horn
13a13ae10a cleanup
svn-id: r17873
2005-04-30 15:04:16 +00:00
Torbjörn Andersson
ac989534a7 Support for looping sounds.
svn-id: r17872
2005-04-30 11:32:18 +00:00
Travis Howell
211da446cc Reset additional fields
svn-id: r17871
2005-04-30 05:47:09 +00:00
Travis Howell
abef7907df Set sprite id & group number for wizImages.
svn-id: r17870
2005-04-30 05:34:31 +00:00
Travis Howell
7118921a2a Add expanded _wizParams used by HE100 games.
Add u32 version variable.

svn-id: r17869
2005-04-30 05:25:06 +00:00
Travis Howell
a08f1b8c69 Add a few case stubs for moondemo.
svn-id: r17868
2005-04-30 04:05:02 +00:00
Travis Howell
c20ee1e634 Add missing case.
svn-id: r17867
2005-04-30 01:26:57 +00:00
Travis Howell
ce909a35b3 Some sound resources in soccer2004 are compressed too.
Add Moonbase demo, as testing target only.

svn-id: r17866
2005-04-29 15:33:07 +00:00
Torbjörn Andersson
3911fc6edb Added comment.
svn-id: r17865
2005-04-29 15:13:21 +00:00
Travis Howell
c885171c51 Several HE100 games (moondemo/soccer2004) allow 1024 local scripts.
svn-id: r17864
2005-04-29 15:08:31 +00:00
Torbjörn Andersson
5a2d871a2b Replaced rand()/srand() with RandomSource. Of course, util_getRandom() is a
pretty unnecessary function - we could call RandomSource directly - but
let's take this one thing at a time.

svn-id: r17863
2005-04-29 15:01:03 +00:00
Torbjörn Andersson
9bd7d78199 Some limited - and quite possibly wrong - sound effects support. I have
assumed, given their tiny size, that the sound samples are 8-bit mono.

Looping is not implemented yet.

Some sounds are skipped since the engine asks that they be played at a
negative sample rate. (I think there is more to this than just a simple
signed/unsigned issue, because they sound wrong even if I treat the
frequency as unsigned.)

svn-id: r17862
2005-04-29 10:07:00 +00:00
Eugene Sandulenko
f8283f3aa5 Add comment to NES-specifix gfx hack with virtual screens
svn-id: r17861
2005-04-29 06:36:03 +00:00
Travis Howell
cbd2e319ea Ooops
svn-id: r17860
2005-04-29 01:45:38 +00:00
Travis Howell
2f262b3c3e Add HE90 version of processActors().
Add HE71 class, for HE71+ specifics.

svn-id: r17859
2005-04-29 01:36:30 +00:00
Travis Howell
4b4242e973 Remove extra whitespace.
svn-id: r17858
2005-04-29 01:10:49 +00:00
Travis Howell
08e115a516 pajama3 requires GF_HE_LOCALIZED
Add freddi2 specific filter for (PU1/PU2) prefix in subtitles.

svn-id: r17857
2005-04-29 01:08:58 +00:00