2050 Commits

Author SHA1 Message Date
Travis Howell
6e5471029d Revert Amiga specific changes to EGA palette.
An option for C64 and Amiga palette should be added in future

svn-id: r8531
2003-06-17 13:06:40 +00:00
Chris Apers
d120ea093f I will add a wrapper for that (currently NULL driver)
svn-id: r8526
2003-06-17 08:50:15 +00:00
Jonathan Gray
d2bb0149d3 tweak ega palette a bit more
svn-id: r8525
2003-06-17 08:21:46 +00:00
Jonathan Gray
33791b7929 ega palette changes, correct colour used for sentence line and use amiga colour for colour normally used for skin colours, sarien does something similiar...
svn-id: r8524
2003-06-17 07:14:39 +00:00
Torbjörn Andersson
5a2678b72a Make the mouse-over hilight work again on the inventory arrows in V2 games.
svn-id: r8523
2003-06-17 07:11:58 +00:00
Torbjörn Andersson
9917c08f69 Comitted the partial (but seemintly good enough) actorHit implementation
from patch #754895.

Ship-to-ship combat is still rather glitchy, but there are probably other
reasons for that.

svn-id: r8519
2003-06-16 15:11:24 +00:00
Torbjörn Andersson
4abfb1f73c Bypass the Maniac Mansion copy protection by making the security door stay
open at all times, like some original versions did. This still leaves the
player the option of blowing the mansion up by entering the wrong code.

I still don't know if it has any unforseen side-effects.

svn-id: r8517
2003-06-16 14:45:23 +00:00
James Brown
a5a72ef3f8 V2 inventory arrow tweaks - closes cosmetic bug #751659
svn-id: r8516
2003-06-16 11:52:04 +00:00
Torbjörn Andersson
f339140776 After some consideration, I've reverted to the old Loom bypassing scheme
since I now believe that the variable is used to indicate that the game is
running in "demo" mode. This way, old savegames will still work.

The new bypassing scheme is still in the file, but commented out. If this
works, we can remove it completely later.

svn-id: r8515
2003-06-16 11:37:08 +00:00
Torbjörn Andersson
2d8bb4a6f6 The code to bypass the EGA Loom copy protection (which is necessary since
LucasArts have been selling cracked copies themselves) turned out to be
interfering with the ability to learn the fourth note under certain
conditions.

I've deviced an alternative bypass which should be a great deal safer,
though it won't do anything to salvage older savegames.

Ironically, Endy told me recently that he didn't like the idea of basing
the copy protection bypasses on the value of _currentRoom, but in this case
I really don't have any better idea.

svn-id: r8513
2003-06-16 06:18:30 +00:00
Torbjörn Andersson
e175f75e7d Made CharsetRendererNut::printChar() take the shadow into consideration
when calculating the dimensions of a printed message and when deciding
which parts of the screen to dirty.

I imagine this will fix most of the minor text-drawing glitches that have
been plaguing CoMI. Unfortunately, it fixes none of the major ones.

svn-id: r8511
2003-06-15 15:19:22 +00:00
Max Horn
b8b80805c1 fixed 'quit' entry in help for Mac OS X; disabled Alt-X/Ctrl-Z on OS X (Cmd-Q is the one and only true way to quit here :-)
svn-id: r8505
2003-06-15 11:32:14 +00:00
Jonathan Gray
46e8ed44c0 ctrl z quits not ctrl q
svn-id: r8499
2003-06-15 02:31:48 +00:00
Max Horn
fcc46ac891 more cleanup
svn-id: r8497
2003-06-15 01:56:47 +00:00
Max Horn
101df28e0b moved GameId declaration to common/engine.h (more logical); moved scumm specific stuff from gameDetector.h to scumm.h; cleaned up some #includes (ideally, never #include something in a header file if you can avoid it - this cuts down interdepencies)
svn-id: r8496
2003-06-15 01:42:19 +00:00
Max Horn
acec45a483 cleanup
svn-id: r8494
2003-06-15 01:00:43 +00:00
Max Horn
f1fc68773d made stuff in class Sound protected where possible; moved readCreativeVocFile to imuse_digi.cpp and turned it into a static function; put the DigitalTrackInfo stuff into sound.cpp (keeping it private); removed #includes from sound.h (this cuts down interdependencies a little)
svn-id: r8493
2003-06-15 00:54:14 +00:00
Max Horn
6ece4cfbda cleanup
svn-id: r8492
2003-06-15 00:33:16 +00:00
Max Horn
cff3cab692 fixed leaks
svn-id: r8491
2003-06-15 00:31:58 +00:00
Jonathan Gray
7d75334826 fix leak
svn-id: r8490
2003-06-15 00:18:19 +00:00
Jonathan Gray
4f6573794b fix leak
svn-id: r8489
2003-06-15 00:07:24 +00:00
Max Horn
b8e32a5b6f Patch #745843: Help Dialog; in addition, I moved the 'About' dialog button from the options dialog to the main save/load dialog and enlarged & rearranged that dialog
svn-id: r8485
2003-06-14 21:18:14 +00:00
Max Horn
08e772dcf0 Fix for bug #751782 (Quitting during SMUSH movies doesn't always work)
svn-id: r8483
2003-06-14 20:55:09 +00:00
Max Horn
f7a8cbf7c7 Patch #754151: Removed READ_*_UNALIGNED and always read stuff bytewise; augmented by some more changes of mine
svn-id: r8482
2003-06-14 18:52:30 +00:00
Torbjörn Andersson
67d1a48efc Fixed o6_band() to be "logical AND" instead of "logical OR". I've forgotten
who pointed this out, and I don't know which games use it.

svn-id: r8479
2003-06-14 16:59:20 +00:00
Jonathan Gray
12edf335f3 init actor things to make valgrind happy
svn-id: r8475
2003-06-14 13:49:47 +00:00
Max Horn
9555bff099 small fix
svn-id: r8474
2003-06-14 13:39:03 +00:00
Max Horn
4e57157cda renamed _bcr -> _costumeRenderer
svn-id: r8473
2003-06-14 13:38:22 +00:00
Jonathan Gray
af979a4a7a oops
svn-id: r8472
2003-06-14 13:26:11 +00:00
Jonathan Gray
3fc2d76452 another leak
svn-id: r8471
2003-06-14 13:13:17 +00:00
Jonathan Gray
ab40e0cfc9 fix leaks
svn-id: r8470
2003-06-14 12:50:14 +00:00
Max Horn
e5d02f1774 init _2byteFontPtr
svn-id: r8469
2003-06-14 12:24:42 +00:00
Max Horn
f4a31da513 runHook -> runInventoryScript, VAR_HOOK_SCRIPT -> VAR_INVENTORY_SCRIPT
svn-id: r8468
2003-06-14 12:23:30 +00:00
Max Horn
aa83d4fd31 cleanup
svn-id: r8467
2003-06-14 11:52:34 +00:00
Torbjörn Andersson
54453b64bf Format string/argument mismatch fix.
svn-id: r8464
2003-06-14 08:58:56 +00:00
Torbjörn Andersson
c1880ad522 Format string/argument mismatch fixes.
svn-id: r8463
2003-06-14 08:57:56 +00:00
Torbjörn Andersson
6c1a5573af Cast %c error() parameters to byte before printing, like we do elsewhere.
svn-id: r8461
2003-06-13 18:09:18 +00:00
Torbjörn Andersson
423ccef9a2 Hack to avoid bad actor crash in o5_walkActorToActor() when using the camel
in the FOA "wits" path. We have a number of these hacks now...

svn-id: r8460
2003-06-13 17:35:44 +00:00
Max Horn
77aa2fe000 fix for bug #752843 (based on patch #748675)
svn-id: r8458
2003-06-13 09:24:00 +00:00
Max Horn
36c50f10f3 fix for bug #752860 (based on patch #748675)
svn-id: r8457
2003-06-13 09:11:31 +00:00
Torbjörn Andersson
70f3302a88 Added comment on how Sam & Max uses one of the current unimplemented
opcodes.

svn-id: r8456
2003-06-13 06:45:05 +00:00
Max Horn
9d76540e75 remove unnecessary newline
svn-id: r8455
2003-06-12 20:35:13 +00:00
Jamieson Christian
c6f7c50483 Removed S&M Bumpusville hack made unnecessary by
another fix (presumably the BOT Diner fix).

svn-id: r8453
2003-06-12 19:06:52 +00:00
Max Horn
5054e10573 this camera movement check seems to be new in V4 (or even V5 ?)
svn-id: r8451
2003-06-12 18:18:58 +00:00
Jamieson Christian
d7b7abd93f Fixed MSVC warning
svn-id: r8449
2003-06-12 17:33:45 +00:00
Jonathan Gray
aabfc254c1 rework loom subtitle option handing
svn-id: r8448
2003-06-12 16:38:43 +00:00
Jonathan Gray
c26bdae207 hook subtitle variable up to f9 for loomcd
svn-id: r8446
2003-06-12 12:22:57 +00:00
Chris Apers
6dd9f8c003 This was missing
svn-id: r8444
2003-06-12 07:46:48 +00:00
Torbjörn Andersson
a8b61e464f The compressed box matrix would sometimes refer to the box after the last
one. This was probably harmless, but the fix seems to be trivial. I hope.

svn-id: r8441
2003-06-12 06:53:05 +00:00
Max Horn
0503b553df some walk fixes
svn-id: r8439
2003-06-11 21:45:47 +00:00