Commit Graph

3967 Commits

Author SHA1 Message Date
Max Horn
d78e9bb0ac cleanup
svn-id: r13529
2004-04-10 00:51:12 +00:00
Max Horn
a78fb36798 cleanup
svn-id: r13528
2004-04-10 00:17:42 +00:00
Max Horn
3b7af85adf Cleanup Sound constructor; change search order of SFX files
svn-id: r13527
2004-04-10 00:07:58 +00:00
Paweł Kołodziejski
95c17148ae fixed 'region' code
svn-id: r13526
2004-04-09 21:44:29 +00:00
Paweł Kołodziejski
6d4839d376 it seems to be needed for comi too, hmm
svn-id: r13525
2004-04-09 21:42:37 +00:00
Paweł Kołodziejski
e795a7ce65 revert
svn-id: r13523
2004-04-09 18:19:22 +00:00
Paweł Kołodziejski
c4383474cf refreshScripts only for full game dig, and cmi demo
svn-id: r13522
2004-04-09 18:18:42 +00:00
Paweł Kołodziejski
c2e0647f6a -fix for dig demo
-handle some music opcodes without filename

svn-id: r13514
2004-04-09 06:17:20 +00:00
Paweł Kołodziejski
5763122a69 back refreshScript only for DIG, add stopping music while changing bundle
svn-id: r13513
2004-04-09 05:43:24 +00:00
Paweł Kołodziejski
d368d2e7fa refreshScript was wrong used
svn-id: r13512
2004-04-09 04:56:18 +00:00
Paweł Kołodziejski
5f89f5b2b7 correction for stoping sequence
svn-id: r13511
2004-04-09 04:20:17 +00:00
Paweł Kołodziejski
6a175f294c rename to _nextSeqToPlay
svn-id: r13510
2004-04-09 03:57:18 +00:00
Max Horn
333a2aaea8 Fix for bugs #929722 (MI2: Difficulty selection screen regression) and #930385 (Subtitles are not shown correctly) by changing restoreCharsetBg() to only restore the screen area which is actually masked by text
svn-id: r13508
2004-04-08 23:43:30 +00:00
Max Horn
3dcd7bbfa8 Record on which virtual screen we last drew masked text
svn-id: r13507
2004-04-08 23:41:10 +00:00
Max Horn
2b94290c97 cleanup
svn-id: r13506
2004-04-08 23:38:09 +00:00
Max Horn
650dc2117c seems it is 'endianness' and not 'endianess'
svn-id: r13504
2004-04-08 22:46:46 +00:00
Paweł Kołodziejski
263bd0d0e7 another fix
svn-id: r13503
2004-04-08 22:46:22 +00:00
Paweł Kołodziejski
6da153dc12 fix for music code
svn-id: r13502
2004-04-08 21:59:40 +00:00
Paweł Kołodziejski
83b7d7f84c fix for region code
svn-id: r13501
2004-04-08 21:13:25 +00:00
Chris Apers
5ab0ba430b Can't do that on PalmOS, exit is event based
svn-id: r13499
2004-04-08 11:48:35 +00:00
Max Horn
bf0e879aa1 Semi-experimental change: revised _hasMask handling -> simpler code (after removing those FIXME's that is :-), which should still produce identical results (let's wait for the regressions rolling in :-)
svn-id: r13498
2004-04-08 01:38:07 +00:00
Paweł Kołodziejski
c210064420 ops and forgot :)
svn-id: r13496
2004-04-07 17:49:22 +00:00
Paweł Kołodziejski
ad65c8e6b2 corections to music code
svn-id: r13492
2004-04-07 07:17:16 +00:00
Max Horn
fa87f49784 cleanup
svn-id: r13490
2004-04-06 22:02:02 +00:00
Paweł Kołodziejski
2b9311aa26 - split imuse digital code,
- cleanup a little,
- added pool method for FT voc sample from resource,
- make struct sync, jump, regions dynamic memory allocation

svn-id: r13486
2004-04-06 19:46:43 +00:00
Max Horn
86dd5c56f6 voice_volume is now speech_volume
svn-id: r13485
2004-04-06 18:42:53 +00:00
Torbjörn Andersson
349f63ebfc Changed "voice_volume" to "speech_volume" for consistency with the Broken
Sword games. (The digial iMUSE code still calls it voice volume, though.)

svn-id: r13483
2004-04-06 11:50:35 +00:00
Paweł Kołodziejski
b973869456 that is not needed anymore
svn-id: r13481
2004-04-06 06:20:51 +00:00
Paweł Kołodziejski
1470818bc0 that is not needed anymore
svn-id: r13480
2004-04-06 06:19:52 +00:00
Max Horn
cc954a70ae Fix for bug #929724 (MI2: Intro regression) -> since _outheight can be negative, negative y values aren't filtered out automatically anymore, so we have to explicitly check for them
svn-id: r13478
2004-04-06 01:06:54 +00:00
Max Horn
92301bff74 Replaced FIXME with proper explanation and code (the previous hack was actually correct, just incomplete)
svn-id: r13477
2004-04-05 23:56:28 +00:00
Max Horn
17fe0497f5 Renamed StringTab::backup to StringTab::_default, as that describes better what it does
svn-id: r13476
2004-04-05 23:54:58 +00:00
Max Horn
ce8099c89f Paranoid fix for potential 64bit issue; some possibly useful debug output added
svn-id: r13474
2004-04-05 22:02:58 +00:00
Paweł Kołodziejski
f44291f6b6 remove usage VAR_SYNC. in scripts used only one time, it's set to 0
svn-id: r13472
2004-04-05 20:07:04 +00:00
Paweł Kołodziejski
924f47ccdd there is no imuse in he engine
svn-id: r13470
2004-04-05 18:54:51 +00:00
Paweł Kołodziejski
74d902c62b removed exception for no used nut font
svn-id: r13469
2004-04-05 18:45:40 +00:00
Paweł Kołodziejski
f141ad488b added voice group volume to scumm engine for imuse digital and implemeted volume groups control
svn-id: r13468
2004-04-05 18:24:36 +00:00
Max Horn
781809ee2b pedantic const correction
svn-id: r13467
2004-04-05 00:24:26 +00:00
Max Horn
18b35e57c8 these debug() calls look as if they should be debugC() calls
svn-id: r13466
2004-04-04 23:29:10 +00:00
Max Horn
21b81b9ef4 Fix signedness issue (lead to incorred address computations on 64 bit machines)
svn-id: r13465
2004-04-04 22:43:54 +00:00
Max Horn
71bbdbfae4 Removed CharsetRenderer::_mask (this was used to optimize charset mask handling). This shouldn't cause any noticable slowdowns, but allows us to get rid of two nasty hacks, and fixes bug #895355 (DIG: Subtitles sometimes stay on the screen), maybe also others
svn-id: r13464
2004-04-04 20:20:09 +00:00
Max Horn
749d75cdcb Added TODO/FIXME comment
svn-id: r13463
2004-04-04 19:50:52 +00:00
Max Horn
4de4353c39 My recent change to _draw_bottom caused a regression in The Dig (and maybe elsewhere). Ah well, probably better to draw one line more than one line less anyway
svn-id: r13462
2004-04-04 19:41:02 +00:00
Max Horn
70237e74c9 Implement V8 queryQuit opcode
svn-id: r13461
2004-04-04 19:24:03 +00:00
Max Horn
d859bebb90 Fix for last part of bug #766749 (COMI: Text should not always have a shadow): do not draw shadow for charset 3
svn-id: r13460
2004-04-04 19:17:28 +00:00
Max Horn
5858a919a2 allow disabling of text shadow in NUT font renderer
svn-id: r13459
2004-04-04 18:07:26 +00:00
Max Horn
f1ee3c0163 let compiler optimize code better <g>
svn-id: r13458
2004-04-04 17:56:30 +00:00
Max Horn
55bbd875db Exit quietly if we just told the user we are going to exit; no need to call error() (which pops up the console etc.)
svn-id: r13456
2004-04-04 12:36:50 +00:00
Max Horn
e3e9ba99ee Fix for bug #885466 (FT: Text gets drawn under moving bits), by making AKOS codec 16 honor the charset mask
svn-id: r13455
2004-04-04 01:11:27 +00:00
Max Horn
a4e424a4fe got rid of _msgPtrToAdd; slightly improved error checking in addMessageToStack()
svn-id: r13454
2004-04-04 00:29:13 +00:00
Max Horn
a2413dad38 Fix for bugs #915586, #905856, part of bug #766749 (COMI: Bug with text being printed on the edge of the screen)
svn-id: r13452
2004-04-03 23:44:06 +00:00
Max Horn
3f2fc3e8be cleanup
svn-id: r13450
2004-04-03 22:52:36 +00:00
Max Horn
90dd9af577 fixed hypothetical off-by-one error when computing _draw_bottom (a semantical problem: _draw_bottom is supposed to be the bottom most pixel which is actually drawn; in the other case, it's top+height, i.e. one pixel *below* that last drawn pixel row. In addition, some cleanup
svn-id: r13449
2004-04-03 20:56:19 +00:00
Max Horn
6aa6b49ed5 cleanup StringTab stuff
svn-id: r13448
2004-04-03 19:41:31 +00:00
Max Horn
330cf43383 Fix for bug #896844 (DIG: Missing subtitle at the lab console)
svn-id: r13446
2004-04-03 13:16:02 +00:00
Max Horn
3ae3eccac8 cleanup
svn-id: r13444
2004-04-03 00:56:55 +00:00
Max Horn
a47793c8e0 oops
svn-id: r13443
2004-04-02 22:01:25 +00:00
Max Horn
4a41973804 Got rid of _transText
svn-id: r13442
2004-04-02 21:56:27 +00:00
Max Horn
15aa7c3343 cleanup
svn-id: r13441
2004-04-02 21:55:30 +00:00
Max Horn
67c6df86d4 Remove obsolete code fragment (a good sign for a refactoring is if it allows you to remove crufty hacks you didn't even think of :-)
svn-id: r13440
2004-04-02 21:51:56 +00:00
Max Horn
a16a86d90f simplify code by integrating a call to translateText() into addMessageToStack(); improved translateText() further
svn-id: r13438
2004-04-02 21:42:42 +00:00
Max Horn
d25da64937 Shouldn't be necessary to do a second translation run in this place (at least I couldn't find any place were it is)
svn-id: r13437
2004-04-02 20:35:04 +00:00
Max Horn
15922a5e61 Added support for %___ strings (used in localized version of The Dig)
svn-id: r13436
2004-04-02 20:31:39 +00:00
Max Horn
933aab3100 Use vsprintf instead of vsnprintf: more portable, less safe (but then again, vsnprinft isn't that safe either)
svn-id: r13434
2004-03-30 22:56:57 +00:00
Paweł Kołodziejski
70545f2c01 please fix
svn-id: r13433
2004-03-30 07:11:01 +00:00
Jonathan Gray
f12fbe1723 clean up FMUS handling, fix not being able to enable sound debug messages
svn-id: r13425
2004-03-29 11:02:45 +00:00
Travis Howell
ce7239115b Should have been disabled for Mac. indy3/loom.
Fixes distaff position

svn-id: r13423
2004-03-29 07:12:14 +00:00
Max Horn
f5f3ee903d Fix for bug #907174 (LOOM MAC: Crash after entering copy protection)
svn-id: r13420
2004-03-28 23:02:03 +00:00
Max Horn
0e36493349 Proper copy-protection bypass for Mac Loom (still crashes when entering the right code, though)
svn-id: r13419
2004-03-28 22:06:38 +00:00
Max Horn
39765b0d19 Remove explicit OSystem parameter from StackLock constructor; added OSystem::displayMessageOnOSD (not yet used; default implementation provided)
svn-id: r13413
2004-03-28 20:31:18 +00:00
Max Horn
14378cb56e Renamed more OSystem methods
svn-id: r13410
2004-03-28 16:30:50 +00:00
Torbjörn Andersson
0fb1d56589 Format string fix.
svn-id: r13408
2004-03-28 15:04:48 +00:00
Torbjörn Andersson
165e6c5eb5 Fixed format string to match the number of arguments.
svn-id: r13404
2004-03-28 14:48:05 +00:00
Max Horn
a06c097408 rename displayError() to displayMessage(); fix slightly incorrect usage of that method
svn-id: r13402
2004-03-28 13:28:44 +00:00
Max Horn
da400a38ed Small tweaks for MIPSPro compiler
svn-id: r13397
2004-03-28 13:02:28 +00:00
Max Horn
ce6e07db12 Fix bad array size (part of bug report #924685)
svn-id: r13394
2004-03-28 10:55:32 +00:00
Paweł Kołodziejski
fdd44a242d forgot them
svn-id: r13393
2004-03-27 20:55:26 +00:00
Paweł Kołodziejski
7041ba3568 implemented priorites for imuse sounds
svn-id: r13392
2004-03-27 20:26:25 +00:00
Paweł Kołodziejski
0974887290 cleanup, and fix bug in table
svn-id: r13389
2004-03-27 18:12:18 +00:00
Paweł Kołodziejski
f6d131f6c6 some changes to imuse digital
svn-id: r13387
2004-03-27 17:03:42 +00:00
Max Horn
2c327348a6 Added some new MD5s
svn-id: r13379
2004-03-25 11:22:02 +00:00
Paweł Kołodziejski
dbf56846c9 changed a little hook id code
svn-id: r13374
2004-03-23 22:51:44 +00:00
Paweł Kołodziejski
e2a5b67e42 fixed fade out delay
svn-id: r13373
2004-03-23 21:42:47 +00:00
Travis Howell
e1a1f291aa Move HE games together.
svn-id: r13370
2004-03-23 03:33:23 +00:00
Travis Howell
07770f58e9 Alter some HE games settings
svn-id: r13369
2004-03-23 01:59:02 +00:00
Max Horn
6a1532772a Revamped COMI/DIG speech decoding (this my cause regressions, watch out). Goal was to streamline code logic, and get rid of a FIXME
svn-id: r13347
2004-03-19 23:19:57 +00:00
Max Horn
c3c1dc176f addMessageToStack doesn't have to return anything anymore
svn-id: r13346
2004-03-19 19:40:34 +00:00
Max Horn
791696a9a3 turn down verbosity
svn-id: r13345
2004-03-19 17:58:47 +00:00
Max Horn
faa12496e4 Fix for bug #893254 (MI1VGA: Changes in object names are not saved); this may introduce regressions, please report them (overall, this is a neat patch, it removes so many ugly hacks :-)
svn-id: r13325
2004-03-17 01:50:15 +00:00
Max Horn
fd52b3a3c0 Patch #917503: Remove stray semicolons
svn-id: r13319
2004-03-16 23:51:41 +00:00
Travis Howell
d3826bfe79 Increase channel for Amiga V3 player.
svn-id: r13315
2004-03-16 07:02:21 +00:00
Max Horn
ff17962df5 cleanup
svn-id: r13312
2004-03-15 21:48:54 +00:00
Travis Howell
538e9a36ed Ooops
svn-id: r13303
2004-03-15 04:00:00 +00:00
Max Horn
af96fecb5d turn illegal SCUMM var access into an error
svn-id: r13302
2004-03-15 03:36:18 +00:00
Max Horn
e2617f90a1 disambiguate the two talkingActor() methods (one was a getter, one a setter -- reflect that in the name)
svn-id: r13301
2004-03-15 03:33:08 +00:00
Max Horn
ac11c62312 clearMsgQueue now just is a synonym for stopTalk -> remove it
svn-id: r13300
2004-03-15 03:24:29 +00:00
Max Horn
e1b25fb721 After the refactoring it's clearly that _messagePtr can be removed. Hooray, yet another obscure global 'parameter' gone :-)
svn-id: r13299
2004-03-15 03:22:36 +00:00
Max Horn
ba5aa37dcc refactor use of _messagePtr -> instead of using it as an implicit parameter for various methods, pass its value explicitly to those methods. Note: this *should* be just a code transformation, with no change to the program logic - unless I messed up once again <sigh>
svn-id: r13298
2004-03-15 03:09:48 +00:00
Max Horn
deb96003a2 Aaargh, didn't mean to commit this...
svn-id: r13296
2004-03-15 02:28:47 +00:00
Max Horn
782dabbcd3 ...and mor. Next big thing should be to document the overlay stuff, but that'll have to wait till after I slept :-)
svn-id: r13295
2004-03-15 02:21:04 +00:00
Paweł Kołodziejski
f2f6c75ba5 fix for voice bundle bug in german version comi
svn-id: r13260
2004-03-13 17:41:36 +00:00
James Brown
7000cb00e4 Forward-port maniac hack :)
svn-id: r13242
2004-03-13 12:55:40 +00:00
James Brown
6a155e028e Backport blee
svn-id: r13228
2004-03-11 04:13:22 +00:00
Max Horn
e448c1dfe4 renamed scumm/scummvm.cpp to scumm/scumm.cpp
svn-id: r13207
2004-03-07 03:34:09 +00:00
Jochen Hoenicke
e609820a5b Clear all channel variables in clear_channel
svn-id: r13203
2004-03-05 14:35:16 +00:00
Jochen Hoenicke
270c5cec52 Initialize _random_lsr to avoid valgrind warnings
svn-id: r13202
2004-03-05 14:34:39 +00:00
Torbjörn Andersson
bec9e69e42 We already know the Sam & Max screensavers trigger these assertions so
until someone figures out exactly what to do, let's do something less
drastic. Now if someone requests a pixel outside the known screen, assume
that pixel has colour 0.

svn-id: r13200
2004-03-05 11:08:29 +00:00
Eugene Sandulenko
00bf09fe07 Add maniac enchanced demo md5
svn-id: r13176
2004-03-04 05:02:47 +00:00
Eugene Sandulenko
b730376148 Add Russian Freddi HE md5's
svn-id: r13175
2004-03-04 04:46:04 +00:00
Travis Howell
fb1e289215 Add hack for demo script in maniac (Enchanced)
svn-id: r13174
2004-03-04 03:08:42 +00:00
Travis Howell
2f60f4485d Allow --demo-mode with maniac (Enchanced)
svn-id: r13173
2004-03-04 02:47:39 +00:00
Max Horn
ad820d7893 unsigned ints are always >= 0 (fix warnings)
svn-id: r13167
2004-03-03 10:56:46 +00:00
Travis Howell
306d16441e Add back HE sound differences for AKOS.
Remove old define
Avoid crash if using demo script in maniac (Enchanced)

svn-id: r13166
2004-03-03 08:17:21 +00:00
Travis Howell
5feaf410c8 That should have been maniac specific.
svn-id: r13163
2004-03-03 03:14:22 +00:00
Travis Howell
84cb720df5 Adjustments for Enchanced Maniac Mansion demo.
svn-id: r13161
2004-03-03 02:53:12 +00:00
Travis Howell
a79a0647d7 Adjustments for Enchanced Maniac Mansion demo.
svn-id: r13160
2004-03-03 02:42:51 +00:00
Paweł Kołodziejski
bb97464292 cleanup. soundlist originaly is shifted and started at 1 not as in scummvm at 0, match as rest of scummvm code : start at 0
svn-id: r13157
2004-03-02 21:55:14 +00:00
Paweł Kołodziejski
41e6bba009 synced local imuse. many bug fixes, and few new bugs :)
svn-id: r13153
2004-03-02 20:35:48 +00:00
Chris Apers
b088395e56 640x480 games not supported on PalmOS
svn-id: r13145
2004-03-02 13:09:35 +00:00
Travis Howell
65a50b800a Not 640 x 480 until HE7
svn-id: r13142
2004-03-02 10:37:51 +00:00
Travis Howell
7ad1d09f0a Not DOS specific anymore.
svn-id: r13141
2004-03-02 10:26:07 +00:00
Travis Howell
6d0e10433c Move to HE6
svn-id: r13140
2004-03-02 10:22:55 +00:00
Travis Howell
ca85e8d51d Ooops, just move everyting used by HE6 to HE6.
svn-id: r13137
2004-03-02 06:42:22 +00:00
Travis Howell
f80d6a7a26 Divide up some code for HE6 and HE7
svn-id: r13136
2004-03-02 06:19:26 +00:00
Travis Howell
5fbc3497c1 Avoid duplicate targets
svn-id: r13135
2004-03-02 06:04:38 +00:00
Eugene Sandulenko
2f65abff2f Implemented more HE opcode stringLen and added stub for opcode F4
svn-id: r13134
2004-03-02 04:11:57 +00:00
Travis Howell
0e3a8f3190 Update HE games list
Keep games divded by versions

svn-id: r13133
2004-03-02 04:05:40 +00:00
Travis Howell
0c4ddc32fc Exclude some var settings for HE7
svn-id: r13132
2004-03-02 02:12:30 +00:00
Travis Howell
b123197dc1 Remove fixme
svn-id: r13131
2004-03-02 01:28:32 +00:00
Travis Howell
5a3b17de54 Add better check for HE resource differences.
Move stringLen to HE7.

svn-id: r13130
2004-03-02 01:20:18 +00:00
Eugene Sandulenko
4accb5b006 Make use of GF_WINDOWS in HE games
svn-id: r13129
2004-03-02 01:01:36 +00:00
Eugene Sandulenko
3ca5007779 Introduced new platform GF_WINDOWS. Used for HE games. GF_PC is DOS
svn-id: r13128
2004-03-02 00:37:23 +00:00
Eugene Sandulenko
c84ad5e0d4 oops
svn-id: r13127
2004-03-02 00:23:25 +00:00
Eugene Sandulenko
dd3683f7e7 Implemented some HE specific opcodes
Added some HE GIDs

svn-id: r13126
2004-03-02 00:21:02 +00:00
Eugene Sandulenko
581e8f515a Update comment on runInventoryScript() argument in setOwnerOf().
svn-id: r13125
2004-03-01 21:36:15 +00:00
Torbjörn Andersson
e67aaba0c3 Got rid of the Sam & Max inventory hack. This fixes at least one aspect of
bug #907113. See also bug #493153 for the origins of the hack.

It would be very nice if we could get this fix into 0.6.0 as well, because
bug #907113 crashes ScummVM for reasons which escape me. But someone will
have to verify that the fix is correct first. Pretty please...?

svn-id: r13124
2004-03-01 16:07:16 +00:00
Jonathan Gray
fa625ce1be default to 1x for all of the active hev7 targets
svn-id: r13121
2004-03-01 08:08:42 +00:00
Travis Howell
d924893435 Enable some HE target to test with.
svn-id: r13116
2004-03-01 07:21:47 +00:00
Travis Howell
15c3202623 Add stub
svn-id: r13115
2004-03-01 07:06:36 +00:00
Travis Howell
db22318d61 Correct target
svn-id: r13114
2004-03-01 06:53:50 +00:00
Travis Howell
439b0b3859 Remove double check, all later games are 640 x 480.
svn-id: r13113
2004-03-01 06:45:24 +00:00
Eugene Sandulenko
a868e1d464 HE V7 games are 640x480. Now game forwards much further. Still no graphics, though.
svn-id: r13112
2004-03-01 06:38:26 +00:00
Travis Howell
f1c86bc86f HE7 resolution is 640 x 480.
svn-id: r13111
2004-03-01 06:31:06 +00:00
Travis Howell
6f214f3a9f Add HE7 vars
svn-id: r13110
2004-03-01 06:25:01 +00:00
Eugene Sandulenko
d7f9be12fe Move decodeParseString to script_v7he.cpp where it really belongs to.
svn-id: r13109
2004-03-01 06:23:25 +00:00
Eugene Sandulenko
9e894f6bf3 Started work on Freddi Fish. Since it is SPU version 7, added new class.
Implemented some SPUv7 specific opcodes

svn-id: r13108
2004-03-01 05:57:30 +00:00
Travis Howell
267a96ba4f HE games specific
svn-id: r13105
2004-03-01 02:55:08 +00:00
Travis Howell
807bc5e0fa Correct incorrect smush filename in Macintosh FT demo
svn-id: r13098
2004-02-29 13:43:08 +00:00
Travis Howell
5153499a0e Enable insane subtitles in Mac. version of FT demo
svn-id: r13094
2004-02-29 01:13:08 +00:00
Jonathan Gray
680160407b add support for the standalone maniac mansion demo
svn-id: r13090
2004-02-29 00:18:45 +00:00
Max Horn
c6752cccf5 renamed more OSystem methods to follow our naming scheme; renamed NewGuiColor to OverlayColor; fixed some calls to error() in the SDL backend
svn-id: r13087
2004-02-28 12:58:13 +00:00
Eugene Sandulenko
ec45e8dd81 Correct Mac fbear MD5
Remove slipped in spaces in some MD5's. Don't know either it prevented them
from being detected but anyway that's potential bug

svn-id: r13077
2004-02-28 00:22:14 +00:00
Eugene Sandulenko
c8811a3df6 Add reported MD5's
svn-id: r13072
2004-02-27 23:30:37 +00:00
Travis Howell
bfd65070c5 Don't reamp F1 in COMI demo
svn-id: r13067
2004-02-27 05:51:04 +00:00
Torbjörn Andersson
5c7c6ca2a3 Work around music glitch in Monkey Island 2:
In the scene where Largo is speaking to Mad Marty, the Woodtick music often
resumes way before Largo's theme has finished. With this workaround, it
waits until Largo's theme has definitely finished before starting the
Woodtick music again.

I wouldn't have done it this way if I hadn't been almost positive that it's
a script bug, rather than an iMUSE bug.

svn-id: r13061
2004-02-26 07:31:48 +00:00
Travis Howell
fbb6106514 Restrict hack
svn-id: r13059
2004-02-26 03:13:20 +00:00
Travis Howell
e495eea19f Disable var setting which could cause possible script issues.
Update comment

svn-id: r13053
2004-02-25 14:01:46 +00:00
Travis Howell
793bc427de Fix VAR_VOICE_MODE in COMI
svn-id: r13051
2004-02-25 10:48:35 +00:00
Max Horn
d158280425 the OSystem changes we discussed on the ML (note: renaming of the existing OSystem API is not yet finished); porters will have to fix their ports to get them to compile again
svn-id: r13036
2004-02-24 22:39:42 +00:00
Travis Howell
b52ef6463b COMI uses VAR_CHARINC in reverse, so adjust readvar.
svn-id: r13025
2004-02-24 14:29:56 +00:00
Travis Howell
43cab33e98 Remove warnings, they were dummy warnings in originals.
svn-id: r13024
2004-02-24 13:59:29 +00:00
Travis Howell
6bb7c78276 Reset more for a restart and avoid some code duplication.
svn-id: r13022
2004-02-24 10:52:40 +00:00
Travis Howell
b80a9a2a37 Add case for 3do version.
svn-id: r13020
2004-02-24 05:14:00 +00:00
Travis Howell
3586e77e1c Add case for 3do versions.
svn-id: r13018
2004-02-24 05:03:06 +00:00
Travis Howell
e68e003777 Minor correction
svn-id: r13015
2004-02-24 04:51:02 +00:00
Eugene Sandulenko
4117781522 Graphics decoders for 3DO HE titles. Preliminary implementation, don't
blame me :) After testing I'll convert it to C.

svn-id: r13014
2004-02-24 04:45:50 +00:00
Travis Howell
e5392aa12c Removeout dated fixme (No reports of asserts in minefield)
svn-id: r13013
2004-02-24 01:50:13 +00:00
Travis Howell
10f95809ab Rename a few opcodes
svn-id: r13011
2004-02-24 00:43:01 +00:00
Travis Howell
b2f6ed6f23 Add back hack
svn-id: r13007
2004-02-23 11:15:03 +00:00
Max Horn
179ad3b845 the code was still wrong
svn-id: r13005
2004-02-23 09:21:22 +00:00
Eugene Sandulenko
1b82caa912 Add HE specific modifications to readArray and writeArray. That fixes
those crashes

svn-id: r13004
2004-02-23 05:38:20 +00:00
Eugene Sandulenko
a2ea28b56f Proper implementation of readFile, writeFile and redimArray.
HE specific fixes to defineArray.

Now many things started to work in HE games.

svn-id: r13003
2004-02-23 04:01:39 +00:00
Eugene Sandulenko
ab72dadbff Fix o6_readFile. Now it works
svn-id: r13002
2004-02-23 02:51:34 +00:00
Eugene Sandulenko
f878140895 o Add GID_FBEARPACK, previously for target fbpack GID_FBEAR was used, but there
were fbear-specific modifications which didn't apply to it. Hence another GID.
o seekFile and tellFile are enabled

svn-id: r13001
2004-02-23 02:07:56 +00:00
Travis Howell
02eab2641d Ooops, missed a call.
svn-id: r13000
2004-02-23 01:10:05 +00:00
Eugene Sandulenko
6588b17469 Added missing HE opcode (0xEB tellFile)
svn-id: r12999
2004-02-23 00:59:34 +00:00
Max Horn
9d5dace366 whitespaces
svn-id: r12998
2004-02-22 21:02:06 +00:00
Travis Howell
3fb6d8e63d Is used in maniac and zak.
svn-id: r12992
2004-02-22 16:31:12 +00:00
Travis Howell
244d19523f Correct extra slow subtitles in zak/maniac with old saves.
svn-id: r12991
2004-02-22 16:15:49 +00:00
Travis Howell
371cfa810f This should fix zak lotto bug correctly.
svn-id: r12989
2004-02-22 16:08:13 +00:00
Travis Howell
16b7122008 Code is required, according to disasm.
svn-id: r12987
2004-02-22 15:00:49 +00:00
Travis Howell
c689416ecc Only comi is different
svn-id: r12986
2004-02-22 14:48:13 +00:00
Travis Howell
aa8cfba102 Original comi doesn't check value at all
svn-id: r12985
2004-02-22 14:42:06 +00:00
Max Horn
aa6ec62e9d Patch #885904 (Flac Support) with some tweaks by me
svn-id: r12984
2004-02-22 14:11:16 +00:00
Travis Howell
6db3a8819e VAR confirmed awhile ago.
svn-id: r12983
2004-02-22 08:18:28 +00:00
Travis Howell
36e9979303 Restrict hack to COMI
svn-id: r12981
2004-02-22 08:02:56 +00:00
Travis Howell
8a8bbbf80f Missed one spot.
svn-id: r12980
2004-02-22 07:14:48 +00:00
Travis Howell
42028e984f Enable and use VAR_VOICE_MODE
svn-id: r12979
2004-02-22 03:08:18 +00:00
Eugene Sandulenko
ff93447108 Remove duplicated indy3 MD5's. If fr and es version do have different
MD5, it's better to add them later.

svn-id: r12978
2004-02-22 00:49:38 +00:00
Travis Howell
1831d71ed3 Ooops, didn't meant to revert
svn-id: r12968
2004-02-21 15:12:46 +00:00
Travis Howell
099bd2cb47 This is normal for earlier games
svn-id: r12967
2004-02-21 15:08:36 +00:00
Travis Howell
d669bb7028 Add comment
svn-id: r12966
2004-02-21 13:17:35 +00:00
Travis Howell
30fd4d66ac Add var
svn-id: r12965
2004-02-21 13:10:44 +00:00
Travis Howell
745b219596 Add vars
svn-id: r12964
2004-02-21 12:53:59 +00:00
Travis Howell
42a94ca017 Ooops
svn-id: r12963
2004-02-21 11:41:46 +00:00
Travis Howell
580a2ffcfe Add a few more actor inits. for later games.
svn-id: r12962
2004-02-21 11:37:52 +00:00
Travis Howell
fe667a67be Correct VAR_CHARINC in old saves.
svn-id: r12955
2004-02-21 08:21:11 +00:00
Travis Howell
a4a4c21956 Ooops
svn-id: r12954
2004-02-21 06:44:10 +00:00
Travis Howell
cb939708dd Adjust again for V1/V2 games.
svn-id: r12953
2004-02-21 06:36:40 +00:00
Travis Howell
0bb0d3a12b Adjust again for comi demo.
svn-id: r12951
2004-02-21 03:11:40 +00:00
Travis Howell
abffa78eca COMI needs an adjust for VAR_CHARINC writes.
svn-id: r12950
2004-02-21 02:56:47 +00:00
Travis Howell
dfe5828d4f Use correct method for subtitle speed.
svn-id: r12949
2004-02-21 02:03:53 +00:00
Nicolas Bacca
b3f4ba3417 EVC ... no ... comments ... please :)
svn-id: r12945
2004-02-20 22:16:44 +00:00
Travis Howell
5c59d9a66b Correct another bad comi var
svn-id: r12944
2004-02-20 17:12:16 +00:00
Travis Howell
83a76bb131 Update vars
svn-id: r12943
2004-02-20 15:46:11 +00:00
Travis Howell
f1b5b8fa24 Variable should be checked at this point.
svn-id: r12942
2004-02-20 15:04:51 +00:00
Eugene Sandulenko
1fe7d0c890 oops
svn-id: r12940
2004-02-20 03:29:39 +00:00
Eugene Sandulenko
76eff7e221 o Fixed crashes when file to open does not exist. (missed functionality)
o Fixed redimArray

svn-id: r12939
2004-02-20 03:04:38 +00:00
Travis Howell
83935dd920 Revert recent change that breaks temporary saves (No music or even crashes)
svn-id: r12938
2004-02-20 01:31:29 +00:00
Eugene Sandulenko
9f073e44c7 oops. Restored needed debug output.
svn-id: r12937
2004-02-20 00:46:30 +00:00
Eugene Sandulenko
5d8bf5faf8 Added some more stubs for Kernel[Set/Get]functions. Some more comments
on opcodes

svn-id: r12936
2004-02-20 00:32:29 +00:00
Travis Howell
429c86f4f3 Fatty Bear games use positive size values in these opcodes.
svn-id: r12933
2004-02-19 08:21:59 +00:00
Travis Howell
e5c3d7329b An equal value should be allowed, originals used changeRange at this point.
svn-id: r12932
2004-02-19 02:18:05 +00:00
Travis Howell
929fd0591f Change debugs back to warnings (As requested)
svn-id: r12931
2004-02-18 11:46:07 +00:00
Max Horn
97472bd078 remove this *purely experimental and knowingly incomplete* test code from the release branch
svn-id: r12929
2004-02-18 10:59:47 +00:00
Max Horn
3e58cb906a Add some safety checks
svn-id: r12928
2004-02-18 10:42:26 +00:00
Eugene Sandulenko
a092b1536a INSANE debug output now can be turned on in debug console
svn-id: r12927
2004-02-18 05:21:32 +00:00
Eugene Sandulenko
cab9b2f34a INSANE debug output now can be turned ot in debug console
svn-id: r12926
2004-02-18 05:20:47 +00:00
Travis Howell
1f2ab0145b FT/DIG/COMI should always default to 100 for actor.forceclip.
svn-id: r12925
2004-02-18 04:21:19 +00:00
Max Horn
8e5df2bda3 Made explicitly clear that for GID_PJSDEMO, _numNewNames never got set (i.e. it always was stuck at 0)
svn-id: r12924
2004-02-17 17:45:22 +00:00
Max Horn
eefbe23801 delete certain unused non-perma resources when loading
svn-id: r12923
2004-02-17 17:43:27 +00:00
Eugene Sandulenko
2940a98cd3 Add reported Atari and Amiga md5's
svn-id: r12922
2004-02-17 06:34:02 +00:00
Eugene Sandulenko
742f4d89bc Add Putt-Putt Circus Mac demo
svn-id: r12921
2004-02-17 05:46:46 +00:00
Max Horn
41154fb613 save talkVolume
svn-id: r12919
2004-02-17 00:40:52 +00:00
Eugene Sandulenko
f219935e83 Fix bug in ScummEngine_v6::o6_setBoxSet
svn-id: r12918
2004-02-17 00:13:25 +00:00
Travis Howell
9d3ed96738 Rename opcode
svn-id: r12914
2004-02-16 05:53:17 +00:00
Travis Howell
7cc3bc357f Rename opcode
svn-id: r12913
2004-02-16 05:15:31 +00:00
Travis Howell
42dd31d9f3 Add comment and case
svn-id: r12912
2004-02-16 03:53:03 +00:00
Travis Howell
af305a31c3 Update comment
Remove duplicate code

svn-id: r12911
2004-02-16 03:08:17 +00:00
Travis Howell
d5bf1699ca Add akos drawing offsets
svn-id: r12910
2004-02-16 02:55:23 +00:00
Travis Howell
2e7badd6dc Add back fix for bug #738352 and restrict to needed games only (Checked against disasm.)
svn-id: r12905
2004-02-15 13:06:09 +00:00
Travis Howell
71fb488482 Another Amiga V3 sounds update from Quietust:
Music is closer to the way it sounds on a real Amiga
Fixes the drums in the Indy3 'Berlin' music

svn-id: r12903
2004-02-15 08:06:32 +00:00
Eugene Sandulenko
7b67425bc2 More fixes to ScummEngine_v6::o6_pickVarRandom
svn-id: r12899
2004-02-15 03:53:03 +00:00
Travis Howell
955a96ada5 Add fix for akos colorKey issue in fbear
svn-id: r12898
2004-02-15 03:47:26 +00:00
Eugene Sandulenko
e4e4336c0d Fix crash at fbear end scene
svn-id: r12896
2004-02-15 02:47:00 +00:00
Paweł Kołodziejski
c1ee0aeb4f fixed warning
svn-id: r12891
2004-02-14 17:01:28 +00:00
Paweł Kołodziejski
8cd11f33f4 changed to debug
svn-id: r12890
2004-02-14 16:59:28 +00:00
Eugene Sandulenko
4e7850b0f1 Fix E4 opcode implemetnation. Now it works
svn-id: r12888
2004-02-14 16:09:07 +00:00
Paweł Kołodziejski
abdb4fbe87 fixed bug #892426 - improved FT sound loops
svn-id: r12886
2004-02-14 15:14:30 +00:00
Eugene Sandulenko
0459089ca8 Some part of E4 opcode is FT/Dig only
svn-id: r12885
2004-02-14 15:01:27 +00:00
Eugene Sandulenko
d766470e34 Implementation of o6_unknownE4
svn-id: r12884
2004-02-14 14:48:14 +00:00
Eugene Sandulenko
d51f4c3b46 Fix compilation
svn-id: r12883
2004-02-14 14:44:47 +00:00
Max Horn
7447ea8fb3 Explaining odd hacks with a comment is usually a good idea :-)
svn-id: r12875
2004-02-14 12:01:07 +00:00
Paweł Kołodziejski
a690c17bb2 fix for bug #896525, it align pull data and freq to 25 calls per sec.
svn-id: r12873
2004-02-14 10:52:08 +00:00
Torbjörn Andersson
d660faa231 Reverted patch #889552. Kirben confirmed it was wrong for DOTT, and it was
causing regressions in FOA. See bug #884171 and #893500 for details.

svn-id: r12872
2004-02-14 10:43:55 +00:00
James Brown
5ee96b4625 Add mutex tracking to make it easier to debug imuse deadlocks
svn-id: r12870
2004-02-14 08:56:26 +00:00
Travis Howell
b924e502b1 Fix valgrind warning in PC version of FT demo
svn-id: r12868
2004-02-14 05:39:18 +00:00
Travis Howell
29b21ca8f8 Fix FUNPACK: puzzle blocks regression
svn-id: r12867
2004-02-14 04:12:22 +00:00
Travis Howell
5f4641d8a1 Use correct order, to prevent mingw warnings.
svn-id: r12865
2004-02-14 01:39:09 +00:00
Travis Howell
324ce1f4ef Init the correct way
svn-id: r12863
2004-02-14 01:12:02 +00:00