Eugene Sandulenko
3521d35085
Add Russian puttrace and pajama3
...
svn-id: r21209
2006-03-10 19:35:35 +00:00
Torbjörn Andersson
47589ec06f
More comments, and some very minor cleanup.
...
svn-id: r21208
2006-03-10 15:30:22 +00:00
Torbjörn Andersson
b07e6f6eed
Added comment detailing what I believe I know about the remaining "unk"
...
variables in OutputState.
svn-id: r21207
2006-03-10 14:53:48 +00:00
Torbjörn Andersson
f670d2b2b7
Further guesswork: 'unk2' appears to be the priority of a sound, since the
...
callbackOutput() and updateCallback3() functions won't change the channel data
pointer unless the new sound has a higher unk2 and the current one.
Since it's set to 0 when the data pointer is nulled, I've changed the priority
to be unsigned.
The updateCallback22() function is now update_setPriority().
svn-id: r21206
2006-03-10 14:22:27 +00:00
Torbjörn Andersson
b294175eb6
Fleshed out some guesswork comments.
...
svn-id: r21205
2006-03-10 13:29:34 +00:00
Torbjörn Andersson
6f2f70d071
Renamed _unkOutputByte1 _curRegOffset. It doesn't always correspond to the
...
_curTable channel, but it probably does so whenever both of them are used
together.
svn-id: r21204
2006-03-10 11:26:32 +00:00
Torbjörn Andersson
a4ba0066bc
Added guesswork comments for stateCallback2_1() and its related functions and
...
variables, and cleaned it up slightly. (Some of its variables are now signed.)
svn-id: r21203
2006-03-10 11:18:40 +00:00
Torbjörn Andersson
ac997a2493
Added guesswork comments for stateCallback1_1() and its related functions and
...
variables.
svn-id: r21202
2006-03-10 10:55:36 +00:00
Torbjörn Andersson
0b7f7f66ea
Fixed some obvious errors in the comments I added before.
...
svn-id: r21201
2006-03-10 10:30:31 +00:00
Torbjörn Andersson
69b18f1744
Added some guesswork comments about stateCallback1_2() and related functions
...
and variables.
svn-id: r21200
2006-03-10 10:18:05 +00:00
Torbjörn Andersson
95196056bd
The calculateLowByte1() and 2() functions are used for calculating the "total
...
level", which I believe is the individual channel volume. (The functions also
return the "scaling level" bits, but they are preserved, not calculated.) I
have renamed these functions calculateOpLevel1() and 2().
The unk25 and unk26 variables have been renamed opLevel1 and opLevel2. These
are called oplvl_1 and oplvl_2 in our MidiDriver_ADLIB class.
The unk26, unk27 and unk28 variables are potentially added to both operator
levels, and have been renamed opExtraLevel1, opExtralevel2 and opExtraLevel3.
The updateCallback25() function has been remamed update_setExtraLevel1().
The updateCallback33() function has been renamed update_setExtraLevel2().
The updateCallback32() function has been renamed update_setExtraLevel3().
Note that these callbacks aren't quite as similar as their names would seem to
indicate: They differ in whether or not the volume is updated and/or how the
parameters are passed.
svn-id: r21199
2006-03-10 09:24:50 +00:00
Torbjörn Andersson
8a9286ce53
Renamed "algorithm" "twoChan" to be more consistent with our MidiDriver_ADLIB
...
class, where the corresponding variable is called _twochan.
svn-id: r21198
2006-03-10 08:55:19 +00:00
Torbjörn Andersson
37b5e3bcca
Since updateAndOutput2() is the only function that sets up wave forms and
...
stuff, it pretty much has to be our "set instrument" function. Also, while I'm
not entirely sure of the implications, "unk23" is the Algorithm bit for the
Feedback / Algorithm register, so I've renamed it "algorithm".
svn-id: r21197
2006-03-10 08:19:53 +00:00
Torbjörn Andersson
19aba0e88f
Some more/updated comments.
...
svn-id: r21196
2006-03-10 07:56:22 +00:00
Travis Howell
259e3cf301
Adjust talk sound check in CHARSET_1(), since processSfxQueues() doesn't exist in HE games. Fixes glitch when time machine is used in putttime.
...
svn-id: r21195
2006-03-10 06:05:49 +00:00
Travis Howell
de1cd95927
Revert that mistaken change to English verb table for C64 maniac
...
svn-id: r21191
2006-03-10 00:53:09 +00:00
Travis Howell
e0a4add194
Update German verbs for C64 maniac, to match original
...
svn-id: r21190
2006-03-10 00:39:37 +00:00
Gregory Montoir
8476b7a94f
minor cleanup.
...
svn-id: r21189
2006-03-09 23:02:29 +00:00
Gregory Montoir
2cf5859404
oo'ified sound code and added basic support for OS adlib music.
...
svn-id: r21186
2006-03-09 22:37:19 +00:00
Johannes Schickel
f0106cd59c
- Removes deleted waitTicks prototype in KyraEngine
...
- Adds sound fading support to the adlib player
- Adds support for stopping running tracks
- Changes baseFreq type back to uint8
- corrects octave handling in updateAndOutput1
(Thanks to eriktorbjorn for doing that)
svn-id: r21185
2006-03-09 20:50:19 +00:00
Torbjörn Andersson
a5e0c392ba
As LordHoto pointed out to me, updateCallback41() was slightly different after
...
all: it adjusts the frequency even when state.unk16 is zero. Fixed that, and
added some comments to hopefully explain the differences between the cleaned up
code and the original disassembly.
svn-id: r21184
2006-03-09 18:42:05 +00:00
Torbjörn Andersson
c571026a20
More cleanups and renamings:
...
* Rewrote updateCallback41() in terms of updateAndOutput1(), since they were
almost identical to begin with.
* Rewrote updateAndOutput1() for better readability.
* Made unk10 signed, and renamed it baseOctave.
* Made unk14 signed, and renamed it baseNote.
* Made unk15 signed, and renamed it baseFreq.
* Renamed unk17 regAx. It appears to be a cache for that register.
* Renamed unkOutputValue1 regBx. It appears to be a cache for that register.
* Renamed updateCallback8() update_setBaseOctave().
* Renamed updateCallback13() update_setBaseNote().
* Renamed updateCallback20() update_setBaseFreq().
Which still leaves the mystery of unk16 and _unkTables[]. Perhaps *this* is the
pitch bend?
svn-id: r21183
2006-03-09 17:04:00 +00:00
Max Horn
6db0289f30
Moved SAGA plugin interface code from saga.cpp to game.cpp
...
svn-id: r21181
2006-03-09 14:33:07 +00:00
Max Horn
6b988a51bd
Moved SIMON plugin interface code from simon.cpp to game.cpp
...
svn-id: r21180
2006-03-09 14:30:43 +00:00
Lars Persson
04151343a7
Compile fixes for VC6
...
svn-id: r21179
2006-03-09 13:54:36 +00:00
Max Horn
1d14d18893
Modified SIMON engine to use DetectedGame::updateDesc
...
svn-id: r21176
2006-03-09 13:29:45 +00:00
Max Horn
aad520026c
Modified SAGA engine to use DetectedGame::updateDesc (note: there is a new TODO in the saveload code now)
...
svn-id: r21171
2006-03-09 13:22:30 +00:00
Max Horn
783264fe28
Made sure the generic ITE description matches the 'special' ones in game.cpp
...
svn-id: r21169
2006-03-09 13:03:23 +00:00
Max Horn
de295c562d
Replaced GF_ENGLISH in LureGameSettings by a proper Common::Language member variable; added (commented out) entries for the german and french lure
...
svn-id: r21168
2006-03-09 12:59:46 +00:00
Max Horn
6b19677e1d
Make use of DetectedGame::updateDesc in the kyra & lure engines
...
svn-id: r21167
2006-03-09 12:52:54 +00:00
Max Horn
46ee5c8f26
Added new method DetectedGame::updateDesc, to ease generation of uniform description strings
...
svn-id: r21166
2006-03-09 12:52:10 +00:00
Torbjörn Andersson
671450fcb8
Set down in comments what I know about _outputTable[], and what I suspect about
...
_unkTable[]. Investigating the latter further might help unravelling several of
the "unk" variables. (Right now, I'm suspecting that unk15 is the pitch bend.)
svn-id: r21164
2006-03-09 12:36:11 +00:00
Torbjörn Andersson
9d19f7d32e
Corrected a few comments where I had mistaken the note on/off bit for one of
...
the octave bits.
The unkOuput1() function always turns off the note, so I've renamed it
noteOff(). I've added some comments to unkOuput2() as well, but I'm still not
quite sure what its purpose is. It seems unlikely that it's simply a "note on"
function, given the many things it will clear for the channel. It does end by
turning the note on, though. Strange.
svn-id: r21162
2006-03-09 12:04:41 +00:00
Eugene Sandulenko
8a5f44d797
Converted last dialogs to new scheme. Now it seems to be everything. Please,
...
test throghoutly.
svn-id: r21157
2006-03-09 05:18:00 +00:00
Jamieson Christian
effed85448
Implemented SysEx command 1 for non-S&M SCUMM games, per the latest comment on Bug 1088045.
...
svn-id: r21156
2006-03-09 03:29:12 +00:00
Max Horn
ea26ccea4a
Add the known 'extra' info to the description string; and removed the old hack which added this information during launch (which really was a bad hack)
...
svn-id: r21155
2006-03-09 03:21:23 +00:00
Max Horn
e53e0e5885
- Removed the code from the launcher that adds language/platform to the
...
game descriptions. Doing this now is the responsibility of the engines.
- Adapted the SCUMM engine to add lang/platform to the desc string if
necessary. Other engines still have to be adapted (but many do not seem to
need this at all, since they either are lang/platform agnostic, or already
include this information in their MD5 tables).
svn-id: r21154
2006-03-09 03:09:21 +00:00
Max Horn
12755197f2
Tiny code simplification
...
svn-id: r21152
2006-03-09 03:01:28 +00:00
Eugene Sandulenko
51495fb199
Moved keys mapping dialog to new scheme. Made it generic. Fixed several
...
compilation errors associated with it.
svn-id: r21151
2006-03-09 02:54:02 +00:00
Max Horn
86565fcca5
- Renamed GameSettings to PlainGameDescriptor
...
- Added new GameDescriptor struct (similar to PlainGameDescriptor but with
Common::String members instead of const char * ones)
- Changed DetectedGame to subclass GameDescriptor
- Removed toGameSettings() in favor of new (template) constructors in
DetectedGame and GameDescriptor
- Fixed a bug in the obsolete gameid handling in the SCUMM & SIMON engines
svn-id: r21150
2006-03-09 02:52:51 +00:00
Max Horn
d2f78184af
- added new toDetectedGame() template function (analog to toGameSettings)
...
- made use of the new DetectedGame constructor from my last commit
- some related cleanup
svn-id: r21149
2006-03-09 01:42:56 +00:00
Eugene Sandulenko
c3f91ca288
Converted all scumm dialogs to new scheme
...
svn-id: r21147
2006-03-09 01:08:25 +00:00
Johannes Schickel
f5efc8b169
Commits patch #1437774 ("KYRA1: Game will crash if bitmap is missing").
...
svn-id: r21146
2006-03-08 21:21:56 +00:00
Oystein Eftevaag
39c9af43ae
Implemented the last menu (the settings screen). Walking speed, text speed,
...
and speech modes (text only, speech only, speech & text) can now be
configured. Toggling music and sound in general is not enabled yet.
Also formatted the static menu resources a bit differently, made
sure some vars in the menu code always got initalized, and
fixed a slight formatting error :).
svn-id: r21145
2006-03-08 13:15:13 +00:00
Max Horn
d9a9fac937
Fixed tons of format string warnings for debug/error calls (including several errors where the format string didn't match the number of arguments to the call)
...
svn-id: r21141
2006-03-08 11:37:25 +00:00
Max Horn
14f1337c60
Use %p to print pointers portably (even on 64bit systems). Note: this will add a 0x prefix automatically
...
svn-id: r21140
2006-03-08 10:07:02 +00:00
Eugene Sandulenko
a8a8624511
o Converted most (all?) widgets to new scheme.
...
o Converted global options dialog to new scheme.
svn-id: r21137
2006-03-08 01:42:02 +00:00
Oystein Eftevaag
cca7da5ba1
The adlib code was calling the Kyra delay() function instead of the
...
system delay, which was causing concurrency problems.
svn-id: r21136
2006-03-08 01:38:27 +00:00
Travis Howell
431c820e4f
Correct order of cases in o72_redimArray()
...
svn-id: r21135
2006-03-07 22:27:14 +00:00
Oystein Eftevaag
3f31e1b27d
Added the proper death dialog, changed the sequence skipping code a bit to avoid
...
possible frame losses, and removed a (now) redundant call to showOverlay() in the
debugger.
svn-id: r21125
2006-03-07 14:16:52 +00:00
Johannes Schickel
4aaa3eacbd
Renamed setTempo to update_setTempo, also fixed tempo handling (intro is too fast now though, but seems to be another problem).
...
Also changed some unsigned values to signed.
svn-id: r21111
2006-03-06 16:37:03 +00:00
Torbjörn Andersson
628d64f136
More renamings: _unkTableByte1 is now _tempo, and updateCallback29() is
...
setTempo().
svn-id: r21110
2006-03-06 16:31:19 +00:00
Torbjörn Andersson
ddd312cea7
Cleanup
...
svn-id: r21109
2006-03-06 15:10:48 +00:00
Gregory Montoir
45656e9fcf
fixed palette handling regression, as reported on the forum.
...
svn-id: r21108
2006-03-05 23:50:24 +00:00
Jamieson Christian
06398d1a84
Removed tag2str usage, which eliminates scumm/util.h dependency.
...
svn-id: r21107
2006-03-05 22:35:26 +00:00
Torbjörn Andersson
ac33309a4d
I guess this is really a WORKAROUND, rather than a HACK. Updated comment.
...
svn-id: r21106
2006-03-05 22:31:49 +00:00
Johannes Schickel
e2779a0658
Corrects implementation of updateCallback48.
...
svn-id: r21105
2006-03-05 21:48:55 +00:00
Jamieson Christian
5e25b3b679
Restructured IMuse and IMuseInternal.
...
* IMuse is no longer a concurrency front-end.
* IMuseInternal now derives from IMuse.
* Common::StackLock used to protect thread-sensitive interface methods (same as IMuseDigital).
* clear_queue() included in stopAllSounds() so it can be removed from the public interface.
* Game ID now specified at init using property().
* Timer callbacks receive a struct containing IMuseInternal and MidiDriver refs, instead of just the latter.
* OSystem pointer from init is now cached and used instead of global.
All references to the g_system and g_scumm globals are now gone. BOOYAH!
Tested with MI2, DOTT and S&M, under Windows, in Native MIDI, Adlib, and Mixed modes. No regressions or concurrency issues observed. Manifestations of the latter are the biggest concern at this point.
svn-id: r21104
2006-03-05 21:30:44 +00:00
Torbjörn Andersson
27e49b6f56
Note to self: compile before commit.
...
svn-id: r21103
2006-03-05 20:11:43 +00:00
Torbjörn Andersson
4fb6c92473
The updateUnk6Value() appears to be some sort of random number generator, so I
...
have renamed it getRandomNr(). The _unk6 variable has been renamed _rnd. (Our
MidiDriver_ADLIB class also has its own random number generator, so it's not
such a far-fetched guess as it may seem.)
svn-id: r21102
2006-03-05 20:09:02 +00:00
Torbjörn Andersson
525690344b
Renamed output1() to adjustVolume(). I'm still uncertain exactly *how* the
...
volume is modified (it depends on several still unknown variables), but that's
all it does as far as I can tell.
svn-id: r21101
2006-03-05 19:48:22 +00:00
Torbjörn Andersson
0651236066
Make sure there actually is a SMUSH mixer before stopping and deleting it.
...
svn-id: r21099
2006-03-05 13:57:05 +00:00
Paweł Kołodziejski
7a6ff46b38
that was not what I want. it should stop audio only for immediately stop.
...
svn-id: r21095
2006-03-05 12:29:13 +00:00
Paweł Kołodziejski
38b82fb585
that should help for bug #1352486 , smush sound tracks are not stopped immediately, but outside smush when sound data are depleted in sound mixer buffer.
...
svn-id: r21094
2006-03-05 12:15:39 +00:00
Travis Howell
3fbf207ee5
Update box flags for C64 maniac
...
svn-id: r21093
2006-03-05 10:54:41 +00:00
Travis Howell
24493b3f45
Add back exclusion lost in last commit, exclude some verbs from verbs error script
...
svn-id: r21091
2006-03-05 10:02:43 +00:00
Travis Howell
279ad67506
Correct case of verb names in C64 Maniac
...
svn-id: r21090
2006-03-05 09:05:44 +00:00
Travis Howell
7a9ed5425b
Add German verbs and more work on input in C64 maniac
...
svn-id: r21089
2006-03-05 08:22:39 +00:00
Travis Howell
5bf6fdf2f5
Update, to add new imuse file
...
svn-id: r21087
2006-03-05 05:53:29 +00:00
Travis Howell
429f7d43d6
Fix compiler warnings
...
svn-id: r21086
2006-03-05 05:43:46 +00:00
Jamieson Christian
b1f7f32ed1
Separated the IMuse Part methods into their own file. Updated the Bloodshed Dev-C++ project file at the same time.
...
svn-id: r21085
2006-03-05 05:14:20 +00:00
Travis Howell
1fe0deeb54
Add some basic walkbox support for C64 maniac
...
svn-id: r21084
2006-03-05 03:46:41 +00:00
Torbjörn Andersson
623514df01
Cleanup: output0x388(0xABCD) is now writeOPL(0xAB, 0xCD), which is slightly
...
more easy to read.
svn-id: r21081
2006-03-04 20:27:51 +00:00
Jamieson Christian
857abe4c8b
Removed the default ignoreFadeouts parameter value for ImuseInternal's getSoundStatus method. The disposition of this method is going to be changing soon, and I'm getting confused by the assumptions being made by many of the calls to it.
...
svn-id: r21080
2006-03-04 19:35:38 +00:00
Jamieson Christian
01af975df4
Rearranged methods in the IMuse class declaration to denote those derived from the MusicEngine base class.
...
svn-id: r21079
2006-03-04 18:38:27 +00:00
Max Horn
6a4c709af6
No need to use generateSubstResFileName when we already know the result
...
svn-id: r21072
2006-03-04 12:57:12 +00:00
Max Horn
feeaa2c35e
Removed unnecessary strcpy calls
...
svn-id: r21071
2006-03-04 12:34:14 +00:00
Travis Howell
bc735c4595
Older naming style only used by PC version of FT demo
...
svn-id: r21070
2006-03-04 12:08:19 +00:00
Max Horn
f66cc08bdb
Const as const can (marking things as const/static allows better compiler optimizations and helps to catch certain bugs)
...
svn-id: r21069
2006-03-04 11:57:14 +00:00
Max Horn
7085bf3724
Slightly clarified an odd subcase in ScummEngine::openRoom
...
svn-id: r21068
2006-03-04 11:55:49 +00:00
Max Horn
bde6c151ad
Cleanup for the container loading code (and always disable file name substitution when a container file is used
...
svn-id: r21067
2006-03-04 11:53:28 +00:00
Max Horn
cf0716734c
When container files are used, we don't need file name substitution anymore
...
svn-id: r21066
2006-03-04 11:31:09 +00:00
Max Horn
78985cc8a6
Added a comment about the first few entries in substResFileNameTable
...
svn-id: r21065
2006-03-04 10:50:23 +00:00
Max Horn
a3069bbc1a
Since findSubstResFileName / applySubstResFileName only compare up to the first '.', we should be able to safely remove anything after the '.' in all substResFileNameTable entries (I am leaving the 00.LFL names untouched for now, for clarity)
...
svn-id: r21064
2006-03-04 10:46:11 +00:00
Max Horn
5e881c158a
This particular case in ScummEngine::openRoom only occurs for V4 games; changing the check accordingly, to ease future refactoring
...
svn-id: r21063
2006-03-04 10:41:40 +00:00
Max Horn
bb38ea2c17
Renamed SubstResFileNames::winName and macName to almostGameID / expandedName (the old names were misleading; the new ones aren't great either :)
...
svn-id: r21062
2006-03-04 10:38:05 +00:00
Travis Howell
16a8c60483
Add/Update string var tables for COMI and The Dig, to allow translated strings
...
svn-id: r21059
2006-03-04 05:44:48 +00:00
Travis Howell
28b6c92503
Update hack for bug #915575 - MANIAC: Disappearing New Kid verb
...
svn-id: r21058
2006-03-04 04:46:15 +00:00
Travis Howell
2cf16b0d14
Add correct md5 for second version of Simon the Sorcerer 2 patched to Russian
...
svn-id: r21057
2006-03-04 04:29:38 +00:00
Travis Howell
bd7d05dae6
Update opcodes for C64 maniac
...
svn-id: r21051
2006-03-03 23:52:48 +00:00
Eugene Sandulenko
76a4bf9e77
Eliminate flip_support.cpp file.
...
svn-id: r21045
2006-03-03 19:38:17 +00:00
Max Horn
140f6fce26
Hiding the implementation of ADPCMInputStream from the public, in favor of a factory function (just like with the other AudioStream subclasses)
...
svn-id: r21043
2006-03-03 15:51:33 +00:00
Jamieson Christian
a1a6967d76
Partial fix for Bug 1088045. Additional configuration of Part parameters in response to iMuse SysEx command 0. Addresses Parts 2, 3 and 4 of the bug. (Part 4 not yet verified against referenced bug manifestation; awaiting testcase savegame.)
...
svn-id: r21039
2006-03-03 15:27:33 +00:00
Max Horn
bac32d1a5c
Moved ScummFile etc. to the new file.cpp / file.h
...
svn-id: r21038
2006-03-03 15:16:02 +00:00
Max Horn
6ff8d3b9fd
Turn _file member of BundleMgr into a pointer
...
svn-id: r21037
2006-03-03 14:55:04 +00:00
Max Horn
5d3ef6aec2
String constants are const -> fixing compiler warnings
...
svn-id: r21036
2006-03-03 14:44:50 +00:00
Eugene Sandulenko
5e1f3fa2fa
Fix bug #1439279 : "SCUMM: SubstResFileNames partial breakage"
...
svn-id: r21034
2006-03-03 14:29:28 +00:00
Travis Howell
ef564119ed
Update opcodes in C64 maniac, fixes not been chased when caught in house
...
svn-id: r21029
2006-03-03 13:50:11 +00:00
Travis Howell
0b30043f93
Read array bounds in checkArrayLimits() correctly on all systems
...
svn-id: r21024
2006-03-03 07:40:34 +00:00
Travis Howell
09543f873e
DOS versions of HE games sounds like Roland music too
...
svn-id: r21023
2006-03-03 06:25:59 +00:00
Jamieson Christian
e37f85d079
Added MT-32 device-specific reset on shutdown. Rearranged MT-32 initialization sequence to give the ScummVM welcome message a better chance of showing up on the LCD panel.
...
svn-id: r21022
2006-03-03 02:51:11 +00:00
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