Commit Graph

646 Commits

Author SHA1 Message Date
Eugene Sandulenko
578d2efa77 Preliminary support for FT INSANE is added. To enable the code define
INSANE in config.h. But only non-interactive parts work and there is no
insane scene skip. Only one choice during those scenes is Ctrl+X.

svn-id: r11507
2003-12-06 05:47:24 +00:00
Travis Howell
83bf2e2593 Add keyboard support for derby in FT and cannon battle in COMI, patch #853099
svn-id: r11496
2003-12-05 00:02:01 +00:00
Travis Howell
4f418c3aa9 Typo
svn-id: r11476
2003-12-02 13:10:41 +00:00
Chris Apers
cf682ed8f7 Added memory auto-configuration on PalmOS for better speed and compatibility
svn-id: r11472
2003-12-02 11:17:21 +00:00
Travis Howell
3774c09dbe Backwards compatbility
svn-id: r11459
2003-12-02 08:12:39 +00:00
Travis Howell
c793e4c9df Switch nosubtitles option to subtitles, to match others and help with Simon2 issue.
svn-id: r11458
2003-12-02 08:09:14 +00:00
Max Horn
72eb8ccb89 Patch #847464: Remove spurious semicolons
svn-id: r11445
2003-12-01 09:58:55 +00:00
Max Horn
747a634796 cleanup
svn-id: r11425
2003-11-29 14:36:55 +00:00
Max Horn
d099759279 game targets can now have a base filename different from the target name; misc tweaks
svn-id: r11417
2003-11-28 22:29:56 +00:00
Travis Howell
4d4ba9ea55 Ooops
svn-id: r11351
2003-11-20 04:27:46 +00:00
Jonathan Gray
151a2dcc44 revert use of GF_DEMO in Humongous games fixing several problems
svn-id: r11345
2003-11-18 10:16:49 +00:00
Travis Howell
a35ce0f5ae Add PC game feature flag, to match others.
svn-id: r11344
2003-11-18 09:44:58 +00:00
Travis Howell
5edd70fe3e Add back full throttle pc demo target
svn-id: r11339
2003-11-18 02:20:12 +00:00
Paweł Kołodziejski
185395ca36 replaced demo GIDs wth GF_DEMO
svn-id: r11326
2003-11-17 21:16:43 +00:00
Paweł Kołodziejski
25414d0f2d added comi and dig demo
svn-id: r11324
2003-11-17 19:07:45 +00:00
Travis Howell
0c6eabe4a3 Kanji support only seems to work in scumm5 games
svn-id: r11293
2003-11-14 10:19:28 +00:00
Travis Howell
313a912af2 *** empty log message ***
svn-id: r11281
2003-11-13 10:51:02 +00:00
Max Horn
0bcc7ce80e made Scumm::OptionsDialog subclass GUI::OptionsDialog (code reuse); replaced Sound::_sound_volume_master and friends by ConfMan.get() calls; some whitespace cleanup
svn-id: r11257
2003-11-11 00:40:35 +00:00
Joost Peters
23669de2f3 deprecated adj. Said of a program or feature that is considered
obsolescent and in the process of being phased out, usually in favor of
a specified replacement.

svn-id: r11251
2003-11-10 19:17:52 +00:00
Max Horn
e34f2b8b33 cut down on unnecessary GameDetector references
svn-id: r11239
2003-11-10 01:04:12 +00:00
Jonathan Gray
63c6944492 mark zak256 as a depreciated target, zakTowns will be used in future to be more consistent with the other target names. Config magic to automatically set a gameid=zak256 in config files not yet implemented.
svn-id: r11238
2003-11-10 00:58:22 +00:00
Jonathan Gray
d330de5f28 comment out all the targets for newer humongous games until they start doing something useful
svn-id: r11235
2003-11-09 23:50:40 +00:00
Paweł Kołodziejski
1f9e408e2f cleanup whitespaces
svn-id: r11217
2003-11-08 21:59:32 +00:00
Jonathan Gray
7c97e7c2b9 more spelling fixes
svn-id: r11176
2003-11-07 02:11:41 +00:00
Max Horn
3456b6f50b remade the in-game GUI/menu
svn-id: r11119
2003-11-03 23:26:13 +00:00
Jonathan Gray
1cc656412c allow the towns version of loom to do something besides incorrectly error out. This check should really check for a pc version not checking the negation of the existence of other versions
svn-id: r11084
2003-11-03 02:54:11 +00:00
Jonathan Gray
8735f1eff7 Look for towns font rom in game directory then current directory instead of just current directory
svn-id: r11083
2003-11-03 02:43:10 +00:00
Max Horn
b27a871f87 turned NewGui into a singleton, and made OSystem a pseudo-singleton; added Widget::findWidget (preparing to add support for nested widgets, for the tab widget)
svn-id: r11045
2003-11-02 02:18:16 +00:00
Max Horn
72bee75297 modified MessageDialog to allow for custom button texts
svn-id: r11034
2003-11-01 21:15:33 +00:00
Max Horn
f7ab7f6207 cleanup: new MessageDialog subclass TimedMessageDialog
svn-id: r11033
2003-11-01 20:52:41 +00:00
Max Horn
7fc1e3ec92 get rid of ScummGameSettings::detectname
svn-id: r11023
2003-11-01 16:25:25 +00:00
Max Horn
2c2866641b cleanup
svn-id: r11022
2003-11-01 16:03:13 +00:00
Max Horn
ca69882256 Patch #820010: Support Kanji version
svn-id: r11020
2003-11-01 15:19:30 +00:00
Max Horn
53db0a8a07 cleanup: removed version/id from GameSettings
svn-id: r10995
2003-10-28 17:07:25 +00:00
Torbjörn Andersson
48f29f8559 Fixed bug #830772, I hope.
svn-id: r10985
2003-10-27 08:36:37 +00:00
Max Horn
d581c99ab5 cleanup
svn-id: r10982
2003-10-26 19:16:59 +00:00
Travis Howell
6366fd778b Restrict Maniac demo mode to V1 Maniac.
svn-id: r10913
2003-10-20 12:24:12 +00:00
Max Horn
33f2fbff08 We proudly present the latest installment of our hit series 'Untangle the mess': 'Help! Space Invaders refactored the music detector'... in other news, I obviously need to sleep now
svn-id: r10883
2003-10-18 00:22:46 +00:00
Max Horn
0694eed273 moved game detection code out to the plugins
svn-id: r10882
2003-10-17 23:16:53 +00:00
Max Horn
012450de73 added tag2str helper function
svn-id: r10866
2003-10-17 16:28:29 +00:00
Max Horn
aadb0aa237 oops, forgot to remove the old Platform enum
svn-id: r10863
2003-10-17 15:38:56 +00:00
Max Horn
a70460833e moved platform/language constants to common/util.*
svn-id: r10862
2003-10-17 15:35:46 +00:00
Chris Apers
e00c16b4a9 Player_V2A now compile with PalmOS port
svn-id: r10844
2003-10-17 08:26:01 +00:00
Travis Howell
6fc661ffc2 Disable maniacnes for now.
svn-id: r10840
2003-10-17 03:34:42 +00:00
Max Horn
d71160af74 removed the kDefault*Volume constants
svn-id: r10816
2003-10-15 23:16:52 +00:00
Travis Howell
f74a0c18aa Version 4 games should use older code style too, checked against loomcd/monkeyvga disasm.
svn-id: r10805
2003-10-15 02:38:23 +00:00
Max Horn
0aa58f53c8 init RNG for everybody using time()
svn-id: r10796
2003-10-14 10:24:27 +00:00
Torbjörn Andersson
4e3129c64c Fixed warning
svn-id: r10793
2003-10-14 08:31:56 +00:00
Max Horn
ebd314a9ec fix debug mode 0
svn-id: r10791
2003-10-14 07:52:34 +00:00
Max Horn
5c55660e9b init random seed with time
svn-id: r10784
2003-10-13 18:10:08 +00:00
Max Horn
e3fcae3869 init random seed with time
svn-id: r10783
2003-10-13 18:09:23 +00:00
Max Horn
5acafb15c2 cleanup; got rid of Gdi::_palette_mod in favor of Gdi::_roomPalette
svn-id: r10778
2003-10-13 12:56:53 +00:00
Max Horn
1f16d32534 sufficient to set _roomPalette at the start for V6+ games, since they don't modify the _roomPalette, ever
svn-id: r10777
2003-10-13 12:17:26 +00:00
Travis Howell
ea510ef616 _roomPalette needs to be reset for all scumm games now.
Otherwise get blank screen in dig/ft/comi.

svn-id: r10775
2003-10-13 11:38:41 +00:00
Travis Howell
b8aaf9549f samdemo doesn't set VAR_SAVELOADDIALOG_KEY
svn-id: r10774
2003-10-13 11:28:56 +00:00
Max Horn
31ba12c800 some more target<->game cleanup
svn-id: r10769
2003-10-12 19:10:17 +00:00
Max Horn
36fd7ec445 some renaming for more consistent terminology (although we might want to reevaluate this): 'target' is what is in your config file; 'game' is what a frontend provide. E.g. the scumm frontend provides the game 'monkeyvga', and my config file has target 'monkeyvga-ger' configured to use that game
svn-id: r10766
2003-10-12 18:40:12 +00:00
Max Horn
b3f8b4010b cleanup
svn-id: r10764
2003-10-12 17:49:52 +00:00
Max Horn
fafb90ddb5 code simplification
svn-id: r10762
2003-10-12 17:33:29 +00:00
Max Horn
7747ef28d3 sfx_volume and music_volume were swapped
svn-id: r10761
2003-10-12 17:25:27 +00:00
Travis Howell
5d42202b2d mac loom uses different var.
svn-id: r10749
2003-10-12 13:44:37 +00:00
Max Horn
5301edc383 some cleanup
svn-id: r10720
2003-10-10 13:55:08 +00:00
Chris Apers
bbb308c8cb Disable unused Scumm version (8) in PalmOS port.
svn-id: r10704
2003-10-09 14:20:20 +00:00
Max Horn
d177364715 new config manager. not everything is completed, and some things will still be changed, but it seems to work well enough to put it into CVS
svn-id: r10687
2003-10-08 21:59:23 +00:00
Jamieson Christian
91fc9accbb Fixed Indy4-Towns music settings, plus small multi-midi quirk
svn-id: r10680
2003-10-08 11:31:47 +00:00
Jamieson Christian
ea482be987 Set up MDT_TOWNS on remainder of FM-TOWNS targets
svn-id: r10665
2003-10-07 11:32:43 +00:00
Travis Howell
f57a6d74a1 Fix text when room scrolls in game versions < 3.
Manual redraw of verbs areas isn't require after reload of game in loom/loomcd, causes glitches in some locations.

svn-id: r10648
2003-10-06 23:12:01 +00:00
Max Horn
0954fc1dac cleanup
svn-id: r10620
2003-10-05 17:32:38 +00:00
Jamieson Christian
a722d0601e Preliminary preparation for new YM2612 FM emulator.
All the hooks are in, but actual implementation
needs to be checked for portability.

svn-id: r10615
2003-10-05 15:36:52 +00:00
Max Horn
b4e5d97994 factor out common gfx_mode/fullscreen setup code from the game engines into the main code (maybe putting this into the Engine constructor would be better, though?)
svn-id: r10611
2003-10-05 14:37:16 +00:00
Jonathan Gray
b37853b713 correct for towns version
svn-id: r10602
2003-10-05 06:38:07 +00:00
Travis Howell
b831c5cf53 This should fix distaff display after reload in loom/loomcd.
svn-id: r10601
2003-10-05 06:11:15 +00:00
Max Horn
d4734bd4f2 use namespace Common a bit more; don't zero the RNG in scumm (else the seed gets reset); remove obsolete 256 color blending code
svn-id: r10592
2003-10-04 11:50:21 +00:00
Jonathan Gray
15a115c5ac fix target name
svn-id: r10585
2003-10-04 01:12:30 +00:00
Jonathan Gray
defa0e6ffc add indy4 towns target, untested but if the demo is any indication I don't see why it wouldn't work
svn-id: r10584
2003-10-04 01:09:55 +00:00
Jonathan Gray
68d923505e let adlib/native music for indydemo work
svn-id: r10580
2003-10-04 00:47:23 +00:00
Max Horn
d7660a2662 introduced namespace Scumm; made #include statements use scumm/ prefix explicitly
svn-id: r10571
2003-10-03 18:33:57 +00:00
Max Horn
d2e7146723 Potential fix for bug #816086
svn-id: r10566
2003-10-03 13:43:07 +00:00
Travis Howell
e6c626b756 Adjust timer for Amiga version of Monkey Island 1.
svn-id: r10559
2003-10-03 01:35:21 +00:00
Travis Howell
5b9aa79c41 This is used in Amiga version of Monkey Island 1.
svn-id: r10558
2003-10-03 01:31:39 +00:00
Max Horn
e6819e42cf added getMusicTimer() to class MusicEngine; this allows some nice code cleanup; also added an error() invocation to find out if certain code is still needed
svn-id: r10556
2003-10-03 01:07:35 +00:00
Max Horn
3f55f2669d renamed class Scumm to ScummEngine (consisten with other engine names; also makes room for a potential 'Scumm' namespace)
svn-id: r10549
2003-10-02 22:42:03 +00:00
Jamieson Christian
db798a3e7d Fix for Bug [815851] DOTT: MT-32 MIDI priority
Favor 'ROL ' resources over 'GMD ' if
--native-mt32 is selected.

svn-id: r10537
2003-10-02 14:37:40 +00:00
Jamieson Christian
43fb8e6c6f MDT_ADLIB for Indy3Towns (for YM2612 kludge)
svn-id: r10505
2003-09-30 16:36:00 +00:00
Travis Howell
bca464fdf4 Add two more HE targets
svn-id: r10495
2003-09-30 06:11:55 +00:00
Paweł Kołodziejski
6e13f4eb28 added two HE games
svn-id: r10466
2003-09-28 16:26:06 +00:00
Travis Howell
c7f6b92e74 Fix problem of verbs areas always been shown after reload in V1-V2 games.
Seems to fix problem of distaff highlights after reload in loom [ega].
Could cause regression in fm towns games.

svn-id: r10455
2003-09-28 03:19:26 +00:00
Jamieson Christian
044bcd5430 Added terminate() to the MusicEngine and publicized
the iMuse implementation. This allows the termination
sequence to be done BEFORE object destruction, so
that the destructor is not making calls that may not
be appropriate during object destruction. (Virtual
functions were the concern, although I'm not sure any
of that was happening anyway. Oh well, better to be
safe than sorry.)

I implemented an empty terminate() in the base class,
but the other MusicEngine derivatives may have stuff
in their destructors that should be moved to this
method. I didn't check.

svn-id: r10452
2003-09-28 00:03:24 +00:00
Max Horn
6f978e9e30 some minor cleanup
svn-id: r10437
2003-09-27 20:31:19 +00:00
Jamieson Christian
a30eb131bb Fix for Bug [810564] ALL: missing instruments with native MT-32
As defined in Patch [811623] MT-32 patch for Bug 810564

Added a channel mask to MPU-401 devices so that --native-mt32
may force the device to use only the subset of MIDI channels
actually supported by the MT-32. Also added a best-guess
interpretation of iMuse Part priority in the SysEx 0x00 msg,
since part priorities become more of an issue when the
channel count is cramped.

svn-id: r10409
2003-09-25 22:32:05 +00:00
Paweł Kołodziejski
2122f11793 added HE game
svn-id: r10405
2003-09-25 06:12:04 +00:00
Chris Apers
c8fbafda9a Disable Palyer_V2A on PalmOS, since the source doesn't compile with it
svn-id: r10397
2003-09-24 08:32:19 +00:00
Travis Howell
4a62eb3e3b More Amiga V2/V3 sound updates from _Q_:
1. A Player_MOD class, basically acts as a simplified mixer that mixes at 60Hz intervals (or whatever interval you specify), this gives smooth music playback in player_v3a
2. Some changes to player_v3a as a result of #1, including reduced music volume
3. player_v2a, and the necessary additions to scummvm.cpp/scumm.h

svn-id: r10392
2003-09-24 06:56:30 +00:00
Paweł Kołodziejski
908eb0823f added HE game putt race
svn-id: r10388
2003-09-24 05:59:32 +00:00
Paweł Kołodziejski
6a2fff0b5b added two HE games
svn-id: r10387
2003-09-23 20:29:50 +00:00
Jonathan Gray
8ccd2934a5 correct description, are these demos in the correct section of version ordering by the way? run strings or similiar over the .w32 files and play match the strings
svn-id: r10372
2003-09-23 09:34:07 +00:00
Paweł Kołodziejski
23e6bc5777 added two different versions of HE demos
svn-id: r10371
2003-09-23 09:01:51 +00:00
Travis Howell
14af07351f Fix #807291
svn-id: r10344
2003-09-21 04:54:34 +00:00
Max Horn
6a4663824e added initial support for building our 4 adventure engines as loadable modules; right now only work on OS X; once we add more build rules, other systems with dlopen() should work, too (e.g. Linux); Windows support may come later. This is still very much WIP
svn-id: r10304
2003-09-18 18:23:53 +00:00
Max Horn
c1a678afeb new module 'base'; moved gameDetector.*, main.cpp and base/plugins.* there (this removes the need for an ugly hack in the build system, and is also conceptionally cleaner)
svn-id: r10282
2003-09-17 22:41:01 +00:00