Commit Graph

16698 Commits

Author SHA1 Message Date
Gregory Montoir
8f38cb6ff3 added mouse cursors
svn-id: r21321
2006-03-15 22:34:46 +00:00
Johannes Schickel
b46236ed71 - removes a wrong space in debugC calls in screen.cpp
- implements cmd_brandonToStoneSequence and cmd_pauseMusicSeconds

svn-id: r21320
2006-03-15 21:59:07 +00:00
Max Horn
2eaa929af7 Fix for bug #1449912 (DC: selector.cpp compilation failed)
svn-id: r21319
2006-03-15 17:56:53 +00:00
Torbjörn Andersson
056fbe4855 Fixed typo in debug message.
svn-id: r21317
2006-03-15 15:46:25 +00:00
Torbjörn Andersson
dc2143e6cf This is a bit of a hack: Before showing the mouse cursor, take care of any
pending events so that the it won't have to do a little dance, catching up,
every time you enter a room.

svn-id: r21316
2006-03-15 15:37:42 +00:00
Torbjörn Andersson
5d0ac7d57c On second thought, that comment is probably not necessary.
svn-id: r21315
2006-03-15 15:35:52 +00:00
Torbjörn Andersson
286434c88d Added mouse wheel scrolling to save/restore dialogs.
svn-id: r21314
2006-03-15 13:32:35 +00:00
Torbjörn Andersson
c473ded022 Revert previous change. I'm told some backends don't draw the mouse cursor
automatically, for some reason.

svn-id: r21312
2006-03-15 12:44:41 +00:00
Torbjörn Andersson
52b3c957fe The backend handled cursor drawing -- no need to update the screen manually.
svn-id: r21311
2006-03-15 12:32:07 +00:00
Paul Gilbert
15d4593412 In progress work on disassembling player tick/actions handler method
svn-id: r21310
2006-03-15 11:37:12 +00:00
Oystein Eftevaag
dabfcbf10c Moving the MacOS bundle file checking to another function, it was getting called redundantly.
svn-id: r21309
2006-03-15 09:41:22 +00:00
Oystein Eftevaag
58eed3830b * 'make bundle' now copies the default theme files into the bundle.
* Common::File will now look inside the application bundle on MacOS X for a file if
it can't find it anywhere else (so it'll find default-theme.ini and .zip)
* Cleaned up some #ifs.

svn-id: r21308
2006-03-15 07:43:44 +00:00
Travis Howell
34b89a3258 Correct VAR_OVERRIDE settings in override opcodes
svn-id: r21307
2006-03-15 06:29:28 +00:00
Travis Howell
cc8796248d Minor cleanup
svn-id: r21306
2006-03-15 05:59:30 +00:00
Torbjörn Andersson
1f603fdd98 Cleanup.
svn-id: r21304
2006-03-14 23:39:42 +00:00
Torbjörn Andersson
408b9a41ee Gave the loadBitmap debug message its old debug level back. (I.e. made it less
noisy.)

svn-id: r21303
2006-03-14 23:29:29 +00:00
Torbjörn Andersson
839b5d3e86 Added workaround in FMOPL for the pathological case where a note was turned off
while still at the very beginning of the "attack" phase. This is the very
lowest point on the attack curve, yet it would continue from the beginning of
the release curve, i.e. its very highest point. This is what caused Kyra to
often play low-frequency notes at the very beginning of a new song. (That, and
a truly bizarre function for initialising the channels.)

The proper fix would be to locate the correct point on the release curve and
continue from there. For now, though, only handle the trivial case.

svn-id: r21302
2006-03-14 23:01:44 +00:00
Torbjörn Andersson
59b6f0f715 Fixed a potential bug that could cause memory to be read out-of-bounds.
(Unfortunately, this does not fix the Kyra bug I'm looking for.)

In the most extreme case:

* DR and RR will point to &DR_TABLE[60], and AR will point to &AR_TABLE[60]
* SLOT->KSR will be 0
* CH->kcode will be 15

In that case, it will attempt to access AR[15], RR[15] and DR[15], i.e.
AR_TABLE[75] and DR_TABLE[75]. So these arrays need to be 76 elements, not 75.

We used to initialise element 75, but this was changed to 74 to match the size
of the arrays. Buf if my reasoning is correct, it was the arrays that were too
small.

svn-id: r21301
2006-03-14 20:09:32 +00:00
Johannes Schickel
c12a5a35be - Deletes wrong spaces in debugC calls in resource.cpp
- Adds support for amiga .pak files (and a filelist)

svn-id: r21299
2006-03-14 19:48:08 +00:00
Torbjörn Andersson
ee6f7626bf Fix typo in comment.
svn-id: r21298
2006-03-14 19:08:09 +00:00
Max Horn
e6f329e3fc To the best of my knowledge, it's really 'C64' and not 'C-64'
svn-id: r21296
2006-03-14 15:36:04 +00:00
Max Horn
f319865837 Merged two consecutive 'if's with identical condition
svn-id: r21295
2006-03-14 15:25:29 +00:00
Johannes Schickel
fa4471fae4 - Fixes a bug in update_primaryEffect (wrong sound from the birds outside brandons home is fixed with this)
- Changes _tempo, tempo, position, unk41, unk32, unk18, unk19, _unkValue3 to unsigned (should be correct this time)

svn-id: r21293
2006-03-14 15:15:04 +00:00
Max Horn
3582efc5d2 Fixes for the DC backends (see patch #1436898)
svn-id: r21292
2006-03-14 14:52:36 +00:00
Max Horn
0a3e4f04e5 Use SDL_GetError in an attempt to display slightly more information about the reason(s) SDL_SetVideoMode failed
svn-id: r21291
2006-03-14 14:37:13 +00:00
Johannes Schickel
a68e8c2db9 Fixes wrong sound then showing the death screen.
svn-id: r21290
2006-03-14 14:25:13 +00:00
Travis Howell
68bc8ea52e Update comment about use of procC64 by C-64 version
svn-id: r21289
2006-03-14 14:10:33 +00:00
Max Horn
0cc41c7cbb Renamed & documented the LIGHTMODE flags
svn-id: r21288
2006-03-14 14:06:44 +00:00
Johannes Schickel
9673573bec Fixes _unkTables, I made a mistake while extracting those last time it seems.
svn-id: r21287
2006-03-14 13:37:15 +00:00
Max Horn
ee087df293 Enhance the new getCurrentLights to work for V6+ games, too, making it possible to remove several special cases throughout the code
svn-id: r21286
2006-03-14 13:36:13 +00:00
Max Horn
ab1694aef9 Compute the full game title when detecting games & creating engine instances, and also use that for savegames (all for debugging)
svn-id: r21285
2006-03-14 13:28:28 +00:00
Max Horn
d68b64184e Add a virtual destructor to class SoundDriver of the CINE engine (fixes a warning)
svn-id: r21284
2006-03-14 13:26:06 +00:00
Travis Howell
4f10a71b98 An actor is completely reset by showActor() in SCUMM1-2 games. Fixes bug #902391
svn-id: r21283
2006-03-14 13:16:11 +00:00
Oystein Eftevaag
53c5b8cf47 Actually, removing the --disable-altivec from the
help output, it is potentially only useful in very specific
situations.

svn-id: r21282
2006-03-14 12:26:48 +00:00
Travis Howell
4b1e03f37a Remove unused var, to prevent compiler warning
svn-id: r21281
2006-03-14 12:19:17 +00:00
Oystein Eftevaag
c3d8674a26 Adds support for building on Intel Macs, using a modified
version of patch 1448395 by Aubin and some of my 
own changes.

Notably:
* Two elements of a struct in backends/midi/quicktime.cpp
needed to be forced to BE.
* NASM set to build Mach-O binaries
* configure now checks for Altivec support on Darwin hosts,
instead of assuming it. Altivec support can also be disabled (not 100% sure if t
his is actually needed, but might be handy for crosscompiling).
* The aliasing of the symbols contained in the .asm files
done on Windows were also needed on MacOS.

Note that while the asm code is properly compiled and linked
in, HQ2/3x support will still not work properly on Intel macs
if NASM is enabled.

svn-id: r21280
2006-03-14 12:18:04 +00:00
Travis Howell
c822f49676 Remove unused vars, to prevent compiler warnings
svn-id: r21279
2006-03-14 12:13:27 +00:00
Travis Howell
3d0e69a495 Adjust one last spot, for previous VAR_CURRENT_LIGHTS changes
svn-id: r21278
2006-03-14 12:11:16 +00:00
Travis Howell
be7a28f65e Avoid all scumm var conflicts in C64 maniac
svn-id: r21277
2006-03-14 12:06:37 +00:00
Travis Howell
806ee522d1 Move unused scumm vars in C64 maniac to safe position, to prevent conflicts for now
svn-id: r21276
2006-03-14 10:35:01 +00:00
Torbjörn Andersson
660c23ba3f Updated comment with more circumstantial evidence that the low-frequency note
bug is a bug in our fmopl.cpp. Ken Silverman's Adlib emulator doesn't seem to
exhibit the bug either. (But is apparently less feature complete than MAME's.)

svn-id: r21275
2006-03-14 09:55:41 +00:00
Travis Howell
f6d69c6d45 Camera scrolling only effects subtitles in SCUMM4-6 games. Fixes bug #1329482.
svn-id: r21274
2006-03-14 09:33:37 +00:00
Travis Howell
c196543572 Fix regression in C64 zak, script 5 was not been run when room changed
svn-id: r21273
2006-03-14 07:45:46 +00:00
Eugene Sandulenko
a483083f35 Tweaked a little scumm main dialog and scumm save/load dialog. Still plenty
to do.

svn-id: r21271
2006-03-14 03:52:29 +00:00
Eugene Sandulenko
60793c0e64 Positioned logo properly, added different version number rendering and
got rid of antialiasing artifacts

svn-id: r21270
2006-03-14 03:08:14 +00:00
Eugene Sandulenko
b45dcc4df3 Fix logo drawing.
svn-id: r21269
2006-03-14 02:55:54 +00:00
Eugene Sandulenko
c9970b78b5 Rearrange launcher.
Logo is still shown weirdly.

svn-id: r21268
2006-03-14 02:19:38 +00:00
Torbjörn Andersson
784728bf8d Further clarifications to the comment about the "low-frequency notes at
beginning of music" bugs. As an experiment, I tried hooking up ScummVM with the
most recent version of the FMOPL code, and the bug went away.

Unfortunately, I believe we are stuck with the ancient version for license (and
performance?) reasons.

svn-id: r21267
2006-03-13 23:53:15 +00:00
Eugene Sandulenko
94f5bd81ad Fix Chooser dialog.
svn-id: r21266
2006-03-13 23:18:22 +00:00
Torbjörn Andersson
221263e275 Cleaned up the comments in unkOutput2(), and added a big note about the bug
where low-frequent noises are playing at the beginning of some new sounds.

svn-id: r21265
2006-03-13 23:05:11 +00:00