Age | Commit message (Collapse) | Author |
|
svn-id: r17900
|
|
svn-id: r17899
|
|
svn-id: r17898
|
|
svn-id: r17897
|
|
svn-id: r17896
|
|
svn-id: r17895
|
|
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
|
|
is called is when parsing the command-line, and we can't really expect the
user to always type something sensible.
svn-id: r17893
|
|
Fixes music in MusicRm.
svn-id: r17892
|
|
svn-id: r17891
|
|
svn-id: r17890
|
|
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
|
|
case didn't. This fixes bug #1193344.
svn-id: r17888
|
|
svn-id: r17887
|
|
svn-id: r17886
|
|
Fixes crash in bb2demo.
svn-id: r17885
|
|
Use checkRange(), like original.
svn-id: r17884
|
|
svn-id: r17883
|
|
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
|
|
svn-id: r17881
|
|
svn-id: r17880
|
|
svn-id: r17879
|
|
svn-id: r17878
|
|
svn-id: r17877
|
|
svn-id: r17876
|
|
svn-id: r17875
|
|
svn-id: r17874
|
|
svn-id: r17873
|
|
svn-id: r17872
|
|
svn-id: r17871
|
|
svn-id: r17870
|
|
Add u32 version variable.
svn-id: r17869
|
|
svn-id: r17868
|
|
svn-id: r17867
|
|
Add Moonbase demo, as testing target only.
svn-id: r17866
|
|
svn-id: r17865
|
|
svn-id: r17864
|
|
pretty unnecessary function - we could call RandomSource directly - but
let's take this one thing at a time.
svn-id: r17863
|
|
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
|
|
svn-id: r17861
|
|
svn-id: r17860
|
|
Add HE71 class, for HE71+ specifics.
svn-id: r17859
|
|
svn-id: r17858
|
|
Add freddi2 specific filter for (PU1/PU2) prefix in subtitles.
svn-id: r17857
|
|
svn-id: r17856
|
|
svn-id: r17855
|
|
svn-id: r17854
|
|
svn-id: r17853
|
|
svn-id: r17852
|
|
close to each other on the ground. (Happened to me on the first level after
destroying the voodoo doll, where I'd drop the banana, the soap and the
false nose close to each other on the ground after using them.)
Reasoning behind the change:
From what I understand, map_itemsMap[] contains information for each "cell"
of the map about which objects are there. Each cell can contain two objects
which are stored in the upper and lower byte of a 16-bit word.
When dropping an object, it is written into map_itemsMap[], but not just to
the indicated cell but also to a few of the surrounding ones. Presumably to
make it easier to pick it up afterwards.
When writing an object to a cell, we check if one of the bytes is already
occupied. If it is, write to the other byte. Otherwise, write to that byte.
(If both bytes are occupied, one will be overwritten.)
The old code assumed that if one byte was free at position (x,y) the same
byte would automatically be the free one in the surrounding cells. This
could cause bad values in the array, since the item was added to an
existing value, rather than replacing it.
This new code makes the check for each cell that is modified. (It also gets
rid of some code duplication.)
svn-id: r17851
|