Commit Graph

222 Commits

Author SHA1 Message Date
Travis Howell
ab16d5d677 Cleanup costume renderer for C64 manac
svn-id: r21020
2006-03-03 02:04:58 +00:00
Travis Howell
ab0cf121c9 Always use music sound type, for music in 3DO versions of HE games
svn-id: r21019
2006-03-03 00:45:27 +00:00
Travis Howell
7423394bdd Use sound types for sound in HE Games
svn-id: r21018
2006-03-02 23:31:28 +00:00
Max Horn
907bd7128d Fix for bug #1438822 (Targets are case sensitive)
svn-id: r21017
2006-03-02 22:29:01 +00:00
Paul Gilbert
1ef22b315f Lure - started work on disassembling player walking
svn-id: r21016
2006-03-02 21:27:09 +00:00
Gregory Montoir
2d464787c1 fixed compilation.
svn-id: r21014
2006-03-02 20:08:41 +00:00
Andrew Kurushin
55898dfe61 apply CYX mem-leak fix patch
svn-id: r21013
2006-03-02 18:25:56 +00:00
Johannes Schickel
491cbcec5b Changed timeing related variables to unsigned.
Also changed the callback interval.

svn-id: r21012
2006-03-02 16:14:46 +00:00
Travis Howell
82a6f289de Fix using items in C64 maniac and cleanup
svn-id: r21011
2006-03-02 12:14:06 +00:00
Lars Persson
f00809788b Changed cast from int to int32, to use platform specified typedefs for the type.
svn-id: r21010
2006-03-02 12:09:19 +00:00
Lars Persson
dad7ee3e2f Add PACK macros to structs for it to work on all platforms
svn-id: r21009
2006-03-02 10:52:27 +00:00
Travis Howell
949057f790 Add sentence line to C64 maniac
svn-id: r21007
2006-03-02 10:31:11 +00:00
Max Horn
f4f8a9263a Yet another patch for bug #1407789 (FT: Invalid Actor when "Combining" Two Items)
svn-id: r21006
2006-03-02 09:34:48 +00:00
Travis Howell
fec05d5180 Typos
svn-id: r21005
2006-03-02 06:33:15 +00:00
Travis Howell
64ce4d6dd7 C64 maniac uses separate bitmasks for actor settings and misc settings
svn-id: r21004
2006-03-02 06:06:24 +00:00
Travis Howell
2c9f041178 Fix inventory display in C64 maniac
svn-id: r21003
2006-03-02 05:04:40 +00:00
Travis Howell
2584f0d69f Add difference in bitVars opcodes in C64 maniac
svn-id: r21002
2006-03-02 03:31:45 +00:00
Travis Howell
e3a48bf276 Fix actor glitches in C64 maniac and minor cleanup
svn-id: r21001
2006-03-02 02:10:54 +00:00
Travis Howell
fd8f11f7a4 Improve input in C64 maniac
svn-id: r21000
2006-03-02 01:17:41 +00:00
Max Horn
c01ef102af Breaking cine, in the hopes that somebody will fix this obviously totally bogus code (even if that fix just means uncommenting it :)
svn-id: r20999
2006-03-02 00:50:52 +00:00
Travis Howell
7f8a8b7ffb Initialize new SCUMM vars for V1/2
svn-id: r20998
2006-03-01 22:50:16 +00:00
Travis Howell
8f76068148 Fix compile
svn-id: r20997
2006-03-01 22:36:53 +00:00
Lars Persson
d1e1f7cb5b Fix for Symbian to close an open file in the right thread
svn-id: r20996
2006-03-01 21:37:00 +00:00
Gregory Montoir
9a9475169d added 2 SCUMM vars for v1/v2.
svn-id: r20994
2006-03-01 20:07:33 +00:00
Johannes Schickel
ce63f2bc38 Oops forgot to enable music again.
svn-id: r20993
2006-03-01 18:18:16 +00:00
Johannes Schickel
730eaf2dca Added debug calls to the adlib functions, also uses mixer samplerate now.
Fixed a bug in updateCallback41.

svn-id: r20992
2006-03-01 16:44:32 +00:00
Lars Persson
0653d509d3 Updated datatypes to resolve ambiguity
svn-id: r20991
2006-03-01 14:20:40 +00:00
Torbjörn Andersson
8a60a99140 Fixed updateCallback11() according to LordHoto's directions, and renamed it
update_writeAdlib(). (The "update_" prefix will probably be changed later, but
for now I want it to remain obvious that the functions belong to the other
updateCallback*() functions.)

svn-id: r20990
2006-03-01 13:57:32 +00:00
Torbjörn Andersson
5734717f8e Renamed 'unk9' to a slightly more descriptive 'repeatCounter'. (I should have
done that in the previous commit.)

svn-id: r20987
2006-03-01 08:13:38 +00:00
Torbjörn Andersson
272a19cf5b Use signed integers for jump offsets, so that the jump opcodes can jump both
forward and backward. This seems to fix the looping of the Black forest music
(and probably others as well), and might fix the invalid pointer crashes and
wrong music that would sometimes play after a song had finished. Changed the
names of the jump opcode functions, and added "update_" prefixes to the
previously cleaned-up opcode functions.

svn-id: r20986
2006-03-01 08:06:54 +00:00
Torbjörn Andersson
3a38721d02 Cleaned up updateCallback36() and renamed it setVibratoDepth().
svn-id: r20985
2006-03-01 07:27:35 +00:00
Torbjörn Andersson
55739f1715 Cleaned up updateCallback35() and renamed it setAMDepth(). It looks like the
_unkOutputByte2 variable is there to keep track of the current value of the
BD register (AM Depth / Vibrato Depth / Rhythm)

svn-id: r20984
2006-03-01 07:21:51 +00:00
Torbjörn Andersson
90cbe402b2 Minor cleanup and comments.
svn-id: r20983
2006-03-01 06:56:53 +00:00
Travis Howell
68f289398e Remove HE specific string array from SCUMM6 table, since the value is different in some games
svn-id: r20982
2006-03-01 05:00:25 +00:00
Travis Howell
0a3b58ff2a Update string array tables and use for all possible games and strings
svn-id: r20980
2006-03-01 04:32:44 +00:00
Travis Howell
d5710033a0 Update string array table for SCUMM7
svn-id: r20979
2006-03-01 01:17:40 +00:00
Travis Howell
2892e33f1d Add comment to workaround for music in Sam & Max, based on commit log. And limit the workaround to specific game.
svn-id: r20976
2006-02-28 23:02:15 +00:00
Gregory Montoir
e4ac92c2af updated some bugs/issues comments and removed wrong 'FIXME' markers.
svn-id: r20975
2006-02-28 22:20:13 +00:00
Johannes Schickel
1e2aa59bcb Added lock() and unlock() again to readBuffer.
Implemented stateCallback1_1.
Fix some small bugs here and there (can't say what the fixed but it should be correct now)
Also set's the correct timer call value (with the other the music was too fast)

svn-id: r20973
2006-02-28 17:02:14 +00:00
Torbjörn Andersson
6ee443f316 Added some basic comments, along with some very, very minor cleanup.
svn-id: r20972
2006-02-28 15:44:39 +00:00
Torbjörn Andersson
f03958be01 Removed unnecessary line.
svn-id: r20971
2006-02-28 09:54:09 +00:00
Torbjörn Andersson
005861cb14 This may be needless paranoia, but I always get nervous about order of
evaluation when there are multiple side-effects on the same variable (in this
case the internal state modified by va_arg()) in the same expression. So let's
just humor me and do the va_arg() calls one at a time.

svn-id: r20970
2006-02-28 08:49:51 +00:00
Travis Howell
41e7bb67e4 These zakTowns specific changes aren't explained and don't match original code. If problems still occur, add bug reports with details.
svn-id: r20967
2006-02-28 01:14:02 +00:00
Travis Howell
e1d96cba87 Typo.
svn-id: r20966
2006-02-28 00:49:54 +00:00
Travis Howell
db925b310e Update code and comment for screen savers issue in Sam & Max.
svn-id: r20965
2006-02-28 00:46:05 +00:00
Johannes Schickel
2bcd6bb95e Fixes hangs in the "Pool of Sorrow" scene (at least I don't get them anymore).
svn-id: r20964
2006-02-27 23:41:27 +00:00
Travis Howell
d0bba4cb56 Typo.
svn-id: r20963
2006-02-27 23:32:59 +00:00
Travis Howell
86c913a5f4 Update comment for SO_WAIT_FOR_TURN workaround in The Dig, this is due to script bugs. SO_WAIT_FOR_TURN is never used by FT r COMI either, so remove game check.
svn-id: r20962
2006-02-27 23:25:07 +00:00
Johannes Schickel
f3106feaf5 Added WIP Adlib sound playing code to kyra.
It needs some checks since it doesn't work correctly in every case at the moment.

svn-id: r20960
2006-02-27 22:39:55 +00:00
Gregory Montoir
1b1bc9cde4 Revert the 'get rid of SO_WAIT_FOR_TURN workaround' commit but keep it specific to TheDig
svn-id: r20959
2006-02-27 22:15:21 +00:00