Commit graph

315 commits

Author SHA1 Message Date
Torbjörn Andersson
b8080605cc Inverse iris transition effect for V2 games. Also, some transition effects
weren't working properly unless the entire screen was first marked as not
dirty. I hope fixing that didn't break anything else.

svn-id: r8314
2003-06-05 07:05:37 +00:00
Paweł Kołodziejski
1cbd8b55ed fixed compilation for vc6
svn-id: r8312
2003-06-05 05:03:57 +00:00
Bertrand Augereau
23196c1257 added a global CostumeRenderer in the VM, to avoid actors reinstancing it every time
svn-id: r8307
2003-06-05 02:44:18 +00:00
Bertrand Augereau
69b55ea45f put a setFeatures member that allows to precompute game-wide stuff, such as CostumeRenderer, when features change, ie extremely rarely
svn-id: r8301
2003-06-04 23:03:23 +00:00
Max Horn
ffef453d1a cache room strip offsets (this should help performance on PalmOS)
svn-id: r8300
2003-06-04 21:45:29 +00:00
Max Horn
10b31ba7f0 init _CJKMode properly, in all cases
svn-id: r8297
2003-06-04 20:06:55 +00:00
Max Horn
6fd0e4a07f Patch #747021: DIG&CMI 2 byte charset support (very heavily modified by me; still needs more cleanup but already works well enough)
svn-id: r8293
2003-06-04 14:37:43 +00:00
Travis Howell
bc9a04b0cf Add MANIAC64 to these two MANIAC checks
svn-id: r8291
2003-06-04 13:15:06 +00:00
Paweł Kołodziejski
6dbd36d668 more v1 load directory ...
svn-id: r8274
2003-06-02 18:15:09 +00:00
Max Horn
67c8782431 make V2 games use transition effects
svn-id: r8271
2003-06-02 11:33:48 +00:00
James Brown
9be08a55f9 Clean up debugger Restart function and move to SCUMM restart function
svn-id: r8263
2003-06-02 05:38:45 +00:00
Max Horn
4292d621af cleaned up the restart/pause/shutdown situation a bit; added comment that explains how restart might be implemented
svn-id: r8260
2003-06-02 02:25:24 +00:00
Jochen Hoenicke
ff5705b32c Added VAR_MUSIC_TIMER support to playerV2. Now Zak intro is synchronized.
svn-id: r8245
2003-06-01 16:42:29 +00:00
Travis Howell
fa481d90e5 Enable loom sound patch, works in both loomega and indy3ega
Use Amiga flag for Amiga versions for now

svn-id: r8222
2003-06-01 04:03:40 +00:00
Max Horn
e63dec5f56 clearUpperMask -> clearCharsetMask
svn-id: r8206
2003-06-01 01:02:35 +00:00
Max Horn
5d3bef9c57 added hack to make The Dig work again, tbus might break all sorts of other things (though I don't really see how, but that won't stop the bugs :-)
svn-id: r8189
2003-05-31 17:58:15 +00:00
Torbjörn Andersson
3a64beb904 Fix typo in previous commit
svn-id: r8174
2003-05-31 13:45:45 +00:00
Torbjörn Andersson
98986713d1 Set the "machine speed" variable for V2 games. I think it's safe to assume
that modern hardware will handle the more elaborate version of the EGA Zak
intro without any problems.

svn-id: r8173
2003-05-31 13:43:05 +00:00
Max Horn
d5d0440e8c cleanup
svn-id: r8169
2003-05-31 11:57:18 +00:00
Max Horn
9b8f49e900 Use language index for The Dig, too
svn-id: r8159
2003-05-30 23:24:29 +00:00
Max Horn
eb039ec554 some cheap doxygen docs; cleanup
svn-id: r8154
2003-05-30 20:13:29 +00:00
Max Horn
3d28cfaf82 cleanup
svn-id: r8145
2003-05-30 15:06:29 +00:00
Max Horn
61de12d3a1 Modified version of erik's patch #745986: Experimental V2 mouseover stuff
svn-id: r8142
2003-05-30 14:29:07 +00:00
Max Horn
691e1f390a rewrote Actor::needBgReset related code (this could cause regressions...)
svn-id: r8126
2003-05-30 00:55:21 +00:00
Max Horn
f0a9f4fb2c added some doxygen comments to common/system.h; cleaned up the OSystem interface a bit
svn-id: r8116
2003-05-29 21:45:26 +00:00
Max Horn
89a6ebb867 removed obsolete
svn-id: r8095
2003-05-29 11:48:44 +00:00
Max Horn
34bf11b43f spelling
svn-id: r8062
2003-05-28 21:28:30 +00:00
Max Horn
1f70da0155 const as const can!
svn-id: r8058
2003-05-28 20:01:47 +00:00
Jonathan Gray
adf3892a09 remove uneeded target
svn-id: r8031
2003-05-26 23:34:06 +00:00
Jamieson Christian
bd61a1298e Added 'mmamiga' game ID to disable PC speaker emulator
svn-id: r8028
2003-05-26 23:16:24 +00:00
Jamieson Christian
dbad55e532 Added Hoenicke's PC-speaker waveform generator
and script interpreter for GF_OLD_BUNDLE music resources.

We'll try to get the waveform generator into a
MidiDriver wrapper for use with the 'SPK' resources
of later games, but this is usable for now.

Great work, Hoenicke!

svn-id: r8023
2003-05-26 22:03:04 +00:00
Max Horn
8eec984eb7 more const qualifiers
svn-id: r8002
2003-05-26 13:14:57 +00:00
Max Horn
684b7288f3 change behaviour for loading save games from the command line so that if you load a COMI save game from disk 2, you don't have to first insert disk 1
svn-id: r7910
2003-05-24 22:42:26 +00:00
Max Horn
0384d27e83 (somewhat hackish) support for COMI CD changing on Mac OS X; reordered stuff in scumm.h
svn-id: r7908
2003-05-24 22:17:45 +00:00
Jamieson Christian
eb09051517 Added XMIDI support to IMuse. IMuse now plays music from Humongous games.
Added some IMuse property options to support some assumptions that seem to be made by Humongous games.

This is still preliminary. It will play music, and it will switch between songs. But I don't know if it's switching to the right song at the right time.

svn-id: r7869
2003-05-23 18:35:53 +00:00
Max Horn
28eade1da4 when iterating from 1 to _numActors over all actors, use _actors[] directly instead of derefActor() (unnecessary overhead); added range check to derefActor, and error out if invalid actor is accessed
svn-id: r7858
2003-05-23 12:48:50 +00:00
James Brown
19bbee7843 Fix V2 userface stuff in savestate
svn-id: r7816
2003-05-22 05:21:48 +00:00
Max Horn
b12d741ac1 cleaned up V2 input code
svn-id: r7811
2003-05-21 23:54:39 +00:00
Max Horn
e5152405da fixed V2 entry script dumping
svn-id: r7799
2003-05-21 18:53:00 +00:00
Max Horn
86d57f3c7a many pedantic warning fixes (and some actual potential buglets fixed, too)
svn-id: r7795
2003-05-21 18:09:49 +00:00
Max Horn
e21604663f added v2 cutscene support (not quite complete; and crashes at some point in maniac because VAR_EGO contains a bogus value); cleanup
svn-id: r7781
2003-05-21 14:00:19 +00:00
James Brown
60ac300bf3 Work on V2 inventory hack a little more
svn-id: r7776
2003-05-21 10:13:06 +00:00
James Brown
c3803009b4 Fix this damn userface stuff properly :)
svn-id: r7772
2003-05-21 07:22:43 +00:00
Max Horn
49e7f7564a renamed various things for clarity
svn-id: r7754
2003-05-20 20:58:26 +00:00
Max Horn
1a394aa3c7 added enum's for the known actor/object claasses; extended putClass/getClass to translate the X/Y flip classes; made code use the new enum's; some other cleanup
svn-id: r7753
2003-05-20 20:42:28 +00:00
Max Horn
fe57d155f8 remove this obsolete FIXME (code is fine as it is)
svn-id: r7741
2003-05-20 16:36:26 +00:00
Jonathan Gray
6cb61537f4 enable midi for non puttdemo humongous games. need to properly return the result of whether music is running though...
svn-id: r7673
2003-05-19 08:04:47 +00:00
Max Horn
33d1f15f97 V2 walkbox matrix fixes
svn-id: r7657
2003-05-19 00:17:34 +00:00
Max Horn
8f7f22aeae implemented proper 'invalid walkbox' handling in older games (in newer games, box 0 is used as invalid box, while in older games this is a legal box and box 255 is the 'invalid' box); removed lots of FIXME's which were needed to cope with ScummVM not implementing the invalid walkbox stuff properly in the past; removed other actor FIXMEs.
svn-id: r7642
2003-05-18 19:44:22 +00:00
Max Horn
c3b5fce262 number of actors in maniac is even 25 (according to the MM script-1)
svn-id: r7626
2003-05-18 11:21:31 +00:00