Commit Graph

542 Commits

Author SHA1 Message Date
Eugene Sandulenko
f86768fee8 Preliminary support for NES charsets. Colors are wrong and we get glitches
caused by too narrow screen. Also text clearing doesn't work.

svn-id: r17164
2005-03-16 03:20:32 +00:00
Max Horn
6e33b3f0a7 Some cleanup/costume code unification. Note: NES costume code probably should be using subclasses; and maybe we should add AKOSLoadedCostume and NESLoadedCostume ?
svn-id: r17161
2005-03-15 21:48:06 +00:00
Max Horn
deca135252 Use better variable names...
svn-id: r17160
2005-03-15 21:20:44 +00:00
Eugene Sandulenko
ef57db4105 First attempt to draw NES sprites. There are these problems:
o Position is not correct
  o Colors are wrong
  o No animation
  o They're not wiped out correctly, maybe because of first problem

svn-id: r17137
2005-03-14 21:13:35 +00:00
Eugene Sandulenko
654528422d Preliminary support for MM NES.
svn-id: r17133
2005-03-13 23:18:59 +00:00
Travis Howell
c39a92933d Add key to toggle speech/subtitles
svn-id: r17082
2005-03-12 00:47:17 +00:00
Travis Howell
bad34c12cd Add two more VARs for HE89+
Minor cleanup

svn-id: r16977
2005-03-02 23:14:06 +00:00
Travis Howell
36705d4344 Add support for script cycles used by HE90+ games.
svn-id: r16958
2005-02-28 13:23:10 +00:00
Travis Howell
e4b51cbdf2 Add a few sprite functions.
svn-id: r16823
2005-02-20 13:07:57 +00:00
Eugene Sandulenko
27469a1896 Patch #1121337 (CGA rendering in early LEC titles).
Differences against patch:
  o Updated documentation
  o Fixed text colors
  o Implemented Hercules dithering

Ditherers are based on loom ega and monkey ega, so for zak and mm they're
wrong, i.e. these games look better than with original ditherers.

TODO:
  Proper ditherers for zak & MM
  EGA ditherers for VGA SCUMM v5 games

svn-id: r16816
2005-02-20 00:17:22 +00:00
Max Horn
695b0fcb5f Fix a small bug (wrong mouse cursor is briefly shown) in the F5 menu
svn-id: r16804
2005-02-18 00:28:56 +00:00
Travis Howell
40768ac29d Add basic support for DISK index block in later HE games.
svn-id: r16784
2005-02-14 03:12:41 +00:00
Eugene Sandulenko
a9ceee26d8 Turned HE Mac resource filename generator into generall, whole SCUMM-purpose
method. Right now it is used to eliminate those Windows HE titles which
have different target base names.

If you want to use it, then define another entry in substDataFileNameTable[].
If your version with different base name has other features then you need
to define GF_MULTIPLE_VERSIONS for main entry and add any additional
entries to multiple_versions_md5_settings based on MD5 of the entry.

svn-id: r16764
2005-02-11 03:45:10 +00:00
Eugene Sandulenko
66c524f0ee Add support for Humongous Mac titles in native format. Please test :)
svn-id: r16693
2005-01-29 17:58:47 +00:00
Max Horn
b6ea449335 Renamed _localScriptList to _localScriptOffsets for clarity
svn-id: r16691
2005-01-29 15:49:57 +00:00
Torbjörn Andersson
4dda4eb31b On Fingolfin's suggestion I put back the inclusion of util.h into Rect, for
MIN() and MAX(). I then removed util.h from a bunch of files which I don't
think need it any more. (Please let me know if I got too blood-thirsty!)

This reverts some of the changes I made this morning.

svn-id: r16541
2005-01-11 13:25:02 +00:00
Torbjörn Andersson
13e2c224c8 This is probably not the optimal fix, but at least ScummVM compiles again.
svn-id: r16538
2005-01-11 08:06:19 +00:00
Max Horn
ec79a9a768 A little more moving around #include's (last one for today ;-)
svn-id: r16534
2005-01-10 22:51:42 +00:00
Torbjörn Andersson
f974b48a41 Fixed bug #1093845 after discussing with Fingolfin.
svn-id: r16449
2005-01-06 15:57:12 +00:00
Max Horn
47280d9433 Updated copyright
svn-id: r16398
2005-01-01 16:09:25 +00:00
Gregory Montoir
da874257a5 to please PalmOS, I moved the _wiz member to ScummEngine_v70he, where it actually belongs, I don't quite like the upcasts I introduced, but I don't know how to deal without them
svn-id: r16132
2004-12-19 12:30:40 +00:00
Max Horn
b93dd59a44 Reduce code size of resource.cpp to help PalmOS port, by moving util code to a new file util.cpp and sound resource code to sound.cpp
svn-id: r16105
2004-12-17 22:27:15 +00:00
Max Horn
1ae87c0fbb Trying to cleanup the volume control mess inside the SCUMM engine: renamed MusicEngine::setMasterVolume to setMusicVolume; fixed iMuse to use the correct method for setMusicVolume (previously modified the iMuse internal volume control); hooked up the volume control of various other music engines; added ScummEngine::setupVolume method which can be called whenever volume settings change, and which gurantees that those are handled uniformly
svn-id: r15944
2004-11-28 21:24:02 +00:00
Gregory Montoir
5e351b0c31 moved all the HE wiz stuff to a separate module, with minor cleanups and simplifications
svn-id: r15921
2004-11-27 17:50:23 +00:00
Max Horn
d172111444 Don't use directory param of File::open unless you have to
svn-id: r15904
2004-11-27 02:26:21 +00:00
Eugene Sandulenko
31e434dcf1 Fix a`ll engines. They work, though current fix is just temporary.
There are plans to add some brains to GameDetector class, which will let us
avoid passing detector to init() method.

svn-id: r15873
2004-11-24 00:14:21 +00:00
Max Horn
aad9f122c0 Added Engine::init() method; added return value to Engine::go()
svn-id: r15865
2004-11-23 00:03:25 +00:00
Max Horn
e146d5f8c3 Renamed unkMessage2 to showMessageDialog; use printString() in script_v100he.cpp, too
svn-id: r15862
2004-11-22 22:32:46 +00:00
Eugene Sandulenko
df4d3fe47a Move most heavy initialization from engine constructor to mainInit()
method which is called from go(). This ensures that extrapath is added
to list od default directories after all other paths.

svn-id: r15815
2004-11-15 03:57:22 +00:00
Travis Howell
df17c27ebf Add patch #1060453 - MIVGA: Actor Scale Patch
svn-id: r15712
2004-11-05 05:13:56 +00:00
Travis Howell
c70a3c76d3 Move number of actors to scumm settings.
The amount of actors in HE games changes a lot between games.

svn-id: r15673
2004-10-24 06:58:41 +00:00
Travis Howell
9531348692 _images not required.
Free extra HE resources on exit.

svn-id: r15605
2004-10-18 14:37:38 +00:00
Travis Howell
1922b330ad Add keyboard control for HE80+ games.
svn-id: r15604
2004-10-18 06:40:36 +00:00
Travis Howell
beb1ed4598 Rename as requested.
svn-id: r15530
2004-10-12 14:40:32 +00:00
Travis Howell
4e268316d0 Rename var and enable in COMI.
svn-id: r15410
2004-10-04 14:28:43 +00:00
Travis Howell
db63483001 Add missing roomOps case for HE games.
svn-id: r15404
2004-10-04 04:04:37 +00:00
Travis Howell
4364606894 Add some HE99 vars
Rename opcodes

svn-id: r15403
2004-10-04 02:23:02 +00:00
Travis Howell
9570bf38de Definately Palettes.
Update HE todo.

svn-id: r15369
2004-10-01 11:25:25 +00:00
Gregory Montoir
2f8136b703 constness
svn-id: r15364
2004-09-30 23:49:46 +00:00
Travis Howell
3e4fd97f42 Number of local scripts is no longer constant
svn-id: r15352
2004-09-30 06:39:39 +00:00
Max Horn
40deccb105 cleanup
svn-id: r15350
2004-09-29 21:45:52 +00:00
Travis Howell
7ced14e961 talkQueue should be actor specific
svn-id: r15318
2004-09-28 00:58:00 +00:00
Gregory Montoir
914d00f51a wiz stuff cleanup and o90_unknown1C opcode update
svn-id: r15293
2004-09-26 15:29:58 +00:00
Max Horn
cc7ca9ce4b some more pointless cleanup / moving around of stuff :-)
svn-id: r15284
2004-09-26 07:30:29 +00:00
Travis Howell
db00315d5b Revert change, breaks draw of objects.
svn-id: r15276
2004-09-25 23:14:09 +00:00
Max Horn
a7406555d8 Cleanup / correction
svn-id: r15272
2004-09-25 17:46:23 +00:00
Eugene Sandulenko
5c146947cc Fix compilation.
svn-id: r15271
2004-09-25 16:30:14 +00:00
Max Horn
6749efe84c Avoid out-of-bounds access in V7_SMOOTH_SCROLLING_HACK mode
svn-id: r15258
2004-09-24 22:31:42 +00:00
Travis Howell
be1ab48a57 Fix array pointer overflows in HE80+ games.
Some arrays are nuked in startScene.

svn-id: r15239
2004-09-23 05:02:15 +00:00
Gregory Montoir
6bfeab77e1 cleanup
add some warnings to detect the use of new Aux animation data

svn-id: r15226
2004-09-21 21:10:23 +00:00