Eugene Sandulenko
b59ef3cd71
Fix bug #1209059 "GOB: Gobliiins English Floppy version crash"
...
svn-id: r18268
2005-05-26 20:51:01 +00:00
Eugene Sandulenko
558308aa99
Include gob3 md5 from bugreport #1206539 "GOB: Goblins 3 MD5 Report". Although
...
it will be useless at least for some months :)
svn-id: r18233
2005-05-23 20:53:54 +00:00
Max Horn
e72b33e56f
Oops, was the wrong MD5, forgot to only compute it for the first MB. Now verified by letting ScummVM compute the checksum (note: ScummVM runs into a deep freeze running the gob1 target for the woordruff game data, very bad)
...
svn-id: r18157
2005-05-18 08:40:46 +00:00
Max Horn
8d782007c1
Added my Woodruff version to the MD5 list
...
svn-id: r18137
2005-05-17 11:46:07 +00:00
Torbjörn Andersson
af462aceaa
Added comment about which version of Woodruff I added an MD5 sum for.
...
svn-id: r18106
2005-05-15 13:39:27 +00:00
Eugene Sandulenko
19d238b85e
Check MD5 at runtime, so game features could be set at run time.
...
svn-id: r18084
2005-05-13 21:24:30 +00:00
Torbjörn Andersson
564c30a9ad
Added MD5 for (another) Gobliiins 1 CD. See bug report #1201233 . Made a few
...
other game detection-related changes, but they're mostly cosmetical at this
stage.
svn-id: r18082
2005-05-13 16:56:53 +00:00
Max Horn
2de46dc8eb
Moved some more stuff to namespace Audio (enough for tonight)
...
svn-id: r18040
2005-05-11 00:01:44 +00:00
Max Horn
1a615346ab
Moved class SoundMixer to Audio::Mixer (didn't call the namespace 'Sound' because we already have many classes with that name)
...
svn-id: r18039
2005-05-10 23:48:48 +00:00
Max Horn
b75c969e66
Moved class File and the MD5 stuff to namespace Common
...
svn-id: r18037
2005-05-10 22:56:25 +00:00
Torbjörn Andersson
e27f1456ff
The comment about the DOS version being sold without copy protection info
...
may not be correct after all, so I've removed it.
svn-id: r18002
2005-05-09 13:29:04 +00:00
Torbjörn Andersson
5093be8401
Added Gobliiins MD5 sums provided by Florian Zeitz.
...
svn-id: r17993
2005-05-09 06:59:32 +00:00
Max Horn
cca744f69a
Comply to our coding conventions
...
svn-id: r17975
2005-05-08 21:49:52 +00:00
Torbjörn Andersson
c6abbb225e
Added MD5 for The Bizarre Adventures of Woodruff and the Schnibble.
...
svn-id: r17944
2005-05-07 13:40:06 +00:00
Torbjörn Andersson
d08c307870
Initial game detection support. I've added the MD5 sums for the games and
...
demos I have, except for the Woodruff game which I don't have on this
particular computer. (I'll add that one later, if no one beats me to it.)
svn-id: r17936
2005-05-06 17:04:33 +00:00
Eugene Sandulenko
5c426e6908
Patch #1196638 'GOB: Simple "beeper"'. Thanks eriktorbjorn.
...
svn-id: r17935
2005-05-06 15:59:33 +00:00
Torbjörn Andersson
e42ea7f20c
Oops.
...
svn-id: r17921
2005-05-05 14:38:32 +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
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
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
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
Torbjörn Andersson
ac989534a7
Support for looping sounds.
...
svn-id: r17872
2005-04-30 11:32:18 +00:00
Torbjörn Andersson
3911fc6edb
Added comment.
...
svn-id: r17865
2005-04-29 15:13:21 +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
Torbjörn Andersson
589b65945a
This should fix a crash which could happen when placing several objects too
...
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
2005-04-28 10:34:48 +00:00
Torbjörn Andersson
5d392d90d6
We need to use unsigned chars here to be able to print accented characters,
...
e.g. in the German cutscenes.
svn-id: r17805
2005-04-26 06:34:52 +00:00
Torbjörn Andersson
74ae914df2
Make it possible to specify language at run-time, since the Gobliiins 1
...
support for other languages appears to work at least fairly well, and this
makes it easier to test it.
svn-id: r17804
2005-04-26 06:29:53 +00:00
Torbjörn Andersson
21ea71a762
Keep track per piece whether or not it was dynamically allocated, otherwise
...
we'll end up trying to free invalid pointers. (Happened to me at the end of
the level where you get the voodoo doll.)
svn-id: r17802
2005-04-25 19:03:13 +00:00
Torbjörn Andersson
f08a767aa8
This one looks wrong too, but I don't think it has caused any crash for me.
...
Not yet, at least. And now, hopefully, it never will.
svn-id: r17801
2005-04-25 18:53:58 +00:00
Torbjörn Andersson
eb3b057836
This ought to fix bug #1188910
...
svn-id: r17796
2005-04-25 05:14:01 +00:00
Max Horn
ff19273ae6
Must call openCD to support real Audio CD tracks
...
svn-id: r17747
2005-04-22 08:39:51 +00:00
Torbjörn Andersson
cca9fb4804
Initialized variable to avoid Valgrind warning.
...
svn-id: r17732
2005-04-21 06:53:15 +00:00
Torbjörn Andersson
5076c6a231
Call initCommonGFX() to set the graphics mode etc.
...
svn-id: r17684
2005-04-19 08:29:43 +00:00
Torbjörn Andersson
a420016970
Whitespace
...
svn-id: r17683
2005-04-19 07:45:55 +00:00
Max Horn
08424bf6db
Hack to get the CD version to play even if no CD track is present
...
svn-id: r17641
2005-04-16 23:31:02 +00:00
Eugene Sandulenko
3be91ebf6a
o Switch track on each new scene.
...
o Slight improvement on track time calculation.
o Stub for gob2.
svn-id: r17603
2005-04-15 00:07:14 +00:00
Eugene Sandulenko
bec1acac06
Fix from wjp for redraws and input during delays
...
svn-id: r17602
2005-04-14 21:53:37 +00:00
Eugene Sandulenko
8e8c2de3ff
Enable perfect timer so intro runs in sync now. Matches disassembly
...
svn-id: r17593
2005-04-13 22:32:59 +00:00
Eugene Sandulenko
07ed5e40a5
Patch from wjp. Fix keyboard input.
...
svn-id: r17592
2005-04-13 20:53:36 +00:00
Eugene Sandulenko
a5993b2112
Support for Red Book audio in CD version of gob1.
...
svn-id: r17588
2005-04-13 18:27:29 +00:00
Torbjörn Andersson
4aff3f0dc8
Fixed typo in comment.
...
svn-id: r17576
2005-04-13 06:17:54 +00:00
Eugene Sandulenko
1ac6a09a91
Fix hang in EGA version. Thanks to wjp. Be careful with that parse_printExpr()
...
svn-id: r17573
2005-04-13 00:52:15 +00:00
Eugene Sandulenko
bd9d8c6b31
Make VAR macros safer.
...
svn-id: r17572
2005-04-13 00:47:17 +00:00
Eugene Sandulenko
3536cd0aa2
Patch #1181639 . "GOB: Possible inter_renewTimeInVars() fix"
...
svn-id: r17570
2005-04-12 23:45:15 +00:00
Eugene Sandulenko
185aa76351
Add comments on CD-specific opcodes
...
svn-id: r17566
2005-04-12 08:59:45 +00:00
Eugene Sandulenko
e096cf83f2
Remove reference to resource.h
...
svn-id: r17559
2005-04-12 00:34:23 +00:00