Commit Graph

2876 Commits

Author SHA1 Message Date
Eugene Sandulenko
de02e840a6 skip_whitespace() -> Common::ltrim()
svn-id: r25573
2007-02-13 23:15:46 +00:00
Max Horn
2e567f1cc9 Some more AdvancedDetector cleanup: Removed kADFlagFilebasedFallback flag (just check whether a fileBasedFallback has been provided); moved some internal definitions, added some doxygen coments, etc.
svn-id: r25570
2007-02-13 22:25:25 +00:00
Torbjörn Andersson
c2972f09c2 Whitespace changes.
svn-id: r25567
2007-02-13 21:41:43 +00:00
Nicola Mettifogo
9317aec6a2 cancel button on load/save dialog is now handled correctly
svn-id: r25565
2007-02-13 21:07:33 +00:00
Gregory Montoir
1ce912e106 made rtrim() and ltrim() global functions, to reduce code duplication (it seems parallaction/parser.cpp code re-use them too
svn-id: r25564
2007-02-13 21:06:57 +00:00
Nicola Mettifogo
75fab28be2 cleanup
svn-id: r25562
2007-02-13 21:06:13 +00:00
Gregory Montoir
7fa8e652a0 added missing MKID_BE macros
svn-id: r25560
2007-02-13 20:58:20 +00:00
Gregory Montoir
73ea646c04 update
svn-id: r25559
2007-02-13 20:56:48 +00:00
Eugene Sandulenko
289466e8b7 Fix MSVC warning
svn-id: r25558
2007-02-13 20:35:44 +00:00
Eugene Sandulenko
8405eca0ea Fix warnings
svn-id: r25554
2007-02-13 19:51:27 +00:00
Eugene Sandulenko
4fc5f8e8be Fix comment
svn-id: r25553
2007-02-13 16:58:07 +00:00
Max Horn
832d066532 Fixed compilation
svn-id: r25552
2007-02-13 16:20:28 +00:00
Joachim Eberhard
235a7173c0 added GF_AGIMOUSE for all fangames who seem to use it
svn-id: r25551
2007-02-13 16:11:13 +00:00
Eugene Sandulenko
d5f52d7775 Add FNAMADE_LF() macro
svn-id: r25550
2007-02-13 15:30:52 +00:00
Eugene Sandulenko
80eb248a0e Get rid of _opt. Cleanup.
svn-id: r25549
2007-02-13 15:27:36 +00:00
Max Horn
4968e912ce AdvancedDetector changes:
* Renamed genGameList to gameIDList to make it match the corresponding
  plugin API function name
* removed the detectFunc param from detectGameForEngineCreation,
  as it *always* pointed to a straight wrapper around AdvancedDetector::detectAllGames
* as a consequence, removed the various GAME_detectGames functions from the
  engines, and removed the detectFunc param from ADVANCED_DETECTOR_DEFINE_PLUGIN

svn-id: r25547
2007-02-13 14:55:11 +00:00
Eugene Sandulenko
08079c9dec Fix Apocalyptic Quests.
svn-id: r25546
2007-02-13 14:47:07 +00:00
Eugene Sandulenko
da7d8c9f35 Rename Common::GF_XXX to Common::ADGF_XXX
svn-id: r25545
2007-02-13 13:42:28 +00:00
Max Horn
2afe07992f Renamed kADFlagComplexID to kADFlagAugmentPreferredTarget, document it, and add it for AGOS, too
svn-id: r25543
2007-02-13 13:17:46 +00:00
Max Horn
55e132ca7d Use GF_DEMO flag in the AdvancedDetector to augment the preferredtarget name
svn-id: r25541
2007-02-13 13:00:18 +00:00
Travis Howell
0d418ee6ba Add Spanish version of Swampy Adventures.
svn-id: r25540
2007-02-13 12:14:27 +00:00
Max Horn
55adc889e7 (re)added flags field to ADGameDescription, with currently only one value (GF_DEMO) -- this flag value is not yet used by anything (also, GF_DEMO hasn't been correctly set for AGI games yet)
svn-id: r25539
2007-02-13 01:28:18 +00:00
Sven Hesse
9e30a6e990 Adding MD5s supplied by vampir_raziel in bug report #1658373
svn-id: r25538
2007-02-12 21:26:52 +00:00
Nicola Mettifogo
f644986f87 changed structure packing to use pack-start.h and pack-end.h
svn-id: r25537
2007-02-12 21:14:34 +00:00
Nicola Mettifogo
852803d6e0 removed warnings
svn-id: r25534
2007-02-12 19:47:42 +00:00
Sven Hesse
ffdd3522bf More demo version fixes
svn-id: r25532
2007-02-12 19:30:52 +00:00
Johannes Schickel
80bc94304c little fix for fm-towns version
svn-id: r25531
2007-02-12 19:08:34 +00:00
Johannes Schickel
7af17382b5 Support for Japanese FM-Towns version. (code contributed by Florian Kagerer, modified a bit)
svn-id: r25530
2007-02-12 18:01:51 +00:00
Sven Hesse
15f52b96b8 Changed language finding again
svn-id: r25525
2007-02-12 14:37:27 +00:00
Travis Howell
6654a91ae2 Change asserts to warnings to now, due to code differences in Amiga versions of Simon the Sorcerer.
svn-id: r25522
2007-02-12 13:29:41 +00:00
Sven Hesse
6b2d843680 - Some fixes for demos and Amiga versions
- Improved language finding a bit

svn-id: r25520
2007-02-12 12:53:28 +00:00
Eugene Sandulenko
171962b02c Improve detection.
svn-id: r25519
2007-02-12 11:35:49 +00:00
Travis Howell
e0b9ccf2f0 Fix subtitles glitches in Amiga OCS version of Simon the Sorcerer 1, by using AGA on screen font for now.
svn-id: r25518
2007-02-12 11:30:18 +00:00
Travis Howell
b2f9c5ab8e Add palette code difference for Amiga OCS version of Simon the Sorcerer 1.
svn-id: r25517
2007-02-12 11:27:11 +00:00
Joachim Eberhard
611d1a018e autodistinguish sq2 2.0F dos+amiga
svn-id: r25516
2007-02-12 10:58:07 +00:00
Kostas Nakos
c1a735dee5 re-added missing wince #include; got deleted suring the simon -> agos transition
svn-id: r25515
2007-02-12 09:05:52 +00:00
Kostas Nakos
775bed1069 apply modified patch #1657436 (alignment issues)
svn-id: r25514
2007-02-12 09:04:34 +00:00
Travis Howell
affcd0f808 Update work around for script bug in Amiga AGA/CD32 verisons of Simon the Sorcerer 1.
svn-id: r25513
2007-02-12 07:03:41 +00:00
Travis Howell
0a8a92fd5c Fix icons regression in Amiga OCS version of Simon the Sorcerer 1.
svn-id: r25512
2007-02-12 06:17:13 +00:00
Travis Howell
3c1ede0520 Fix cursor palette in Amiga versions of Simon the Sorcerer 1 and remove duplciate cursor table.
svn-id: r25511
2007-02-12 06:15:26 +00:00
Travis Howell
45692d4323 Add work around for script bug in Amiga AGA/CD32 verisons of Simon the Sorcerer 1.
svn-id: r25510
2007-02-12 05:16:03 +00:00
Travis Howell
9315ccbdc1 Fix icons palette in AGA/CD32 versions of Simon the Sorcerer 1.
svn-id: r25509
2007-02-12 04:58:49 +00:00
Travis Howell
2c0c7a8e17 Minor changes for coding guidelines.
svn-id: r25508
2007-02-12 04:30:24 +00:00
Travis Howell
bfd3d872b8 Adjust random opcode for Amiga versions of Simon the Sorcerer 1.
svn-id: r25507
2007-02-12 04:23:10 +00:00
Travis Howell
384fd4b833 Add Quietust's patch to fix subtitles glitches in Amiga AGA/CD32 versions of Simon the Sorcerer 1.
svn-id: r25506
2007-02-12 04:18:19 +00:00
Travis Howell
189b4abb33 Pass VC10_state directly to convertclip, to reduce arguments.
svn-id: r25505
2007-02-12 03:59:29 +00:00
Travis Howell
8ba3553722 Add Quietust's changes to fix image glitches in Amiga AGA/CD32 versions of Simon the Sorcerer 1.
svn-id: r25504
2007-02-12 01:07:27 +00:00
Eugene Sandulenko
f2dff4dec6 Fingolfin's patch for improving dictionary loading speed. Applied as is.
svn-id: r25503
2007-02-12 00:21:30 +00:00
Travis Howell
d8d2c4cd65 Ooops, remove debug leftovers in last commit.
svn-id: r25502
2007-02-12 00:21:04 +00:00
Travis Howell
d4a206ec12 Add basic support for AtariST demo of Elvira 1.
svn-id: r25501
2007-02-12 00:14:14 +00:00
Torbjörn Andersson
3bc0661065 Merged the "palette manager" into the cursor manager. It was only used to
manage *cursor* palettes, so the name was misleading.

svn-id: r25500
2007-02-12 00:04:56 +00:00
Torbjörn Andersson
59eaade15d Make the mouse cursor white (instead of green) with a black outline on
platforms that support cursor palettes. Changed the cursor design slightly.
It's not necessarily better than the old one, but it matches the arrow cursor
used in early SCI games, which seems appropriate.

svn-id: r25499
2007-02-11 23:46:23 +00:00
Max Horn
ccd6417f88 Fix warnings
svn-id: r25498
2007-02-11 22:40:32 +00:00
Max Horn
856742075e Code cleanup: Removing unused code for handling OS/2 (NE header) binaries
svn-id: r25497
2007-02-11 22:37:47 +00:00
Nicola Mettifogo
f0cdab74a5 added load/save support
svn-id: r25496
2007-02-11 21:17:37 +00:00
Max Horn
f3141ba2a0 Marked FM-TOWNS demos as such
svn-id: r25494
2007-02-11 20:16:25 +00:00
Max Horn
5298fa0e47 SCUMM: Enhanced preferredtarget support
svn-id: r25493
2007-02-11 19:59:07 +00:00
Max Horn
534bfddd06 Fix for bug #1506591: HE71-73: Fails to load mouse data (Endian issue?)
svn-id: r25492
2007-02-11 18:07:19 +00:00
Max Horn
f31d438a64 SWORD2: Enhance the detector to recurse into the 'clusters' directory, making it possible to detect & run BS2 from (a straight copy of) the CD
svn-id: r25490
2007-02-11 13:02:50 +00:00
Travis Howell
c9202232ab Whitespace changes.
svn-id: r25488
2007-02-11 11:35:19 +00:00
Eugene Sandulenko
b14bb6206a Improve detection. Remove redundant md5s
svn-id: r25486
2007-02-11 11:23:30 +00:00
Johannes Schickel
46747d8396 should fix warnings in msvc.
svn-id: r25484
2007-02-11 03:21:27 +00:00
Max Horn
a6bd7be988 Patch #1186858 (GM/GS/MT-32 Init Patch) -- slightly adapted to apply to current SVN
svn-id: r25483
2007-02-11 03:01:28 +00:00
Travis Howell
9f0ed19076 Add Quietust's patch for improved string redering in Amiga versions of Simon the Sorcerer 1.
svn-id: r25481
2007-02-11 02:19:56 +00:00
Travis Howell
6bdd106176 Add Acorn disk version of Simon the Sorcerer 1.
svn-id: r25480
2007-02-11 02:16:00 +00:00
Johannes Schickel
841fd4f94f cleanup
svn-id: r25479
2007-02-11 01:38:15 +00:00
Nicola Mettifogo
b8087fe1a8 fixed wrong implementation: zones and animations now survive location switches according to their properties and/or system flags
svn-id: r25478
2007-02-10 21:00:15 +00:00
Eugene Sandulenko
dcfd2e9224 Make Amiga v3 games work.
svn-id: r25477
2007-02-10 20:50:00 +00:00
Max Horn
2ff7f04cc7 Speed up loading of pred.txt, by using a sort algorithm that doesn't choke on pre-sorted data as our current (sloooow) Common::sort does
svn-id: r25476
2007-02-10 18:48:28 +00:00
Max Horn
063e09be02 Patch #1656801 (BASS: various control panel fixes), which fixes bug #1548779 (BASS: Control panel inconsistency for FX/Music button texts)
svn-id: r25473
2007-02-10 18:10:55 +00:00
Eugene Sandulenko
90a7cbd6d7 Get rid of AGI_AMIGA and use platform setting instead.
svn-id: r25469
2007-02-10 17:10:55 +00:00
Joachim Eberhard
e7c98ad5d6 fixing Amiga games detection
svn-id: r25468
2007-02-10 17:00:36 +00:00
Eugene Sandulenko
1cfac7fda3 Patch #1637824: AGI: Allow mouse use in save / load dialogs
svn-id: r25467
2007-02-10 16:34:45 +00:00
Joachim Eberhard
4c1f958297 minor consistency improvement for dates
svn-id: r25461
2007-02-10 11:18:10 +00:00
Joachim Eberhard
f8cbf22042 make extra info consistent and add missing dates
svn-id: r25459
2007-02-10 11:01:13 +00:00
Torbjörn Andersson
ea131c6049 Select default render mode based on platform: Amiga mode for Amiga games, EGA
mode for PC games. You can, of course, still override it.

svn-id: r25457
2007-02-10 10:27:07 +00:00
Joachim Eberhard
dcb757fa4b remove redundant LSL1 DOS
svn-id: r25456
2007-02-10 10:02:40 +00:00
Paul Gilbert
64fb3fad3f Bugfix to clipping so player's feet aren't visible in the corner of the screen as the chute is exited
svn-id: r25455
2007-02-10 03:45:06 +00:00
Max Horn
6899e72be9 Got rid of GF_DIGI_IMUSE and GF_NEW_CAMERA
svn-id: r25454
2007-02-10 02:05:59 +00:00
Max Horn
7940720d71 SCUMM: Added preferredtarget support
svn-id: r25453
2007-02-09 18:23:59 +00:00
Max Horn
81ec51b8f7 Turned two comments into doxygen comments
svn-id: r25451
2007-02-09 17:47:55 +00:00
Max Horn
a49c22290f fix warning
svn-id: r25450
2007-02-09 17:17:08 +00:00
Torbjörn Andersson
2d84b43dfc Fixed syntax error.
svn-id: r25449
2007-02-09 16:49:02 +00:00
Joachim Eberhard
2ebccb23c9 Correct detection of Amiga versions
svn-id: r25448
2007-02-09 15:43:41 +00:00
Joachim Eberhard
a52b507bfc Correct entry for mh1
svn-id: r25447
2007-02-09 13:31:57 +00:00
Joachim Eberhard
c2876e4350 Minor consistency improvements
svn-id: r25446
2007-02-09 13:06:57 +00:00
Joachim Eberhard
679c2fc5aa Added all info on games from Sarien
svn-id: r25445
2007-02-09 12:45:46 +00:00
Gregory Montoir
c66f919e86 minor cleanup
svn-id: r25444
2007-02-09 12:27:31 +00:00
Paul Gilbert
3dfd1cbda8 Removed redundant line used during testing
svn-id: r25443
2007-02-09 11:03:58 +00:00
Paul Gilbert
a5047b599a Added 'room' command to show room information
svn-id: r25442
2007-02-09 10:59:15 +00:00
Paul Gilbert
87b3f2c6d8 Added new flag for blocked characters and extra checking of dynamic support records versus static schedule entry records
svn-id: r25441
2007-02-09 10:58:06 +00:00
Paul Gilbert
6391e49ee5 Improved character blocked/bumped handling
svn-id: r25440
2007-02-09 10:56:31 +00:00
Paul Gilbert
b79883f3af Removed use of static support data record for player to simplify save process
svn-id: r25439
2007-02-09 10:54:55 +00:00
Paul Gilbert
7f41b6914b Removed use of static support data record for player to simplify save process
svn-id: r25438
2007-02-09 10:54:07 +00:00
Travis Howell
6c1b7114f5 Add demo of Simon the Sorcerer 1 (DOS CD).
svn-id: r25437
2007-02-09 10:53:16 +00:00
Travis Howell
eaeada78ac Add cyx's patch for cleanup for planar conversion code, and support for 32 color planar graphics of Amiga ECS version of Simon the Sorcerer 1.
svn-id: r25436
2007-02-09 00:35:57 +00:00
Travis Howell
f8052bb650 Convert planar images, only when required for drawing.
svn-id: r25433
2007-02-08 23:37:17 +00:00
Nicola Mettifogo
6cbdf9ad59 fixed bug: dialogue questions don't clutter the screen anymore when user is selecting an answer
svn-id: r25429
2007-02-08 21:56:51 +00:00
Torbjörn Andersson
98a8e88f61 Instead of pre-rendering all subtitles and pre-loading all sounds for a movie
cutscene, render the text and play the speech when needed. It probably won't
play as nicely from CD now, but using less memory seems more important to me.

svn-id: r25428
2007-02-08 21:55:37 +00:00
Nicola Mettifogo
65dfc335ef fixed bug in dialogue parsing code: available answers now really depend on game flags
svn-id: r25427
2007-02-08 21:08:54 +00:00
Johannes Schickel
1cc18f6e7b Don't rely on assert when calling functions.
svn-id: r25426
2007-02-08 09:41:10 +00:00
Johannes Schickel
00d4aea7e6 Fixed GUI strings in FM-Towns version.
svn-id: r25425
2007-02-08 09:24:33 +00:00
Johannes Schickel
cab3b23ab2 ops.
svn-id: r25424
2007-02-08 08:41:14 +00:00
Johannes Schickel
aa38257840 - fixed crash in FM-Towns version when entering the grotto
- fixed some palette issues

svn-id: r25423
2007-02-08 08:39:33 +00:00
Eugene Sandulenko
6854f25740 Add md5s reported in bugreport #1654500 "AGI: Some MD5 checksums"
svn-id: r25422
2007-02-07 23:23:10 +00:00
Nicola Mettifogo
d1eb91882e fixed location script parsing error causing irritatingly inconsistent gameplay
svn-id: r25421
2007-02-07 23:02:51 +00:00
Nicola Mettifogo
98bd5a6680 changed multiplexed uint32 to const void* to avoid errors on 64 bits systems
svn-id: r25418
2007-02-07 20:28:59 +00:00
Johannes Schickel
6707dcbbb2 Fixed credits in FM-Towns version.
svn-id: r25417
2007-02-07 19:51:19 +00:00
Johannes Schickel
63e3dfb1d1 Support for new kyra.dat, which includes static data from the fm-towns version.
svn-id: r25416
2007-02-07 19:30:49 +00:00
Max Horn
1421a43969 Patch #1543932: BASS: Missing music volume text in v303 french menu
svn-id: r25413
2007-02-07 19:01:37 +00:00
Johannes Schickel
db19d5e9de should silence compiler warnings.
svn-id: r25412
2007-02-07 16:47:34 +00:00
Sven Hesse
2c4a6d6a43 The SoundHandle isn't stopped indirectly by AudioCD.play() anymore, so removed the SoundHandle starting for each sample
svn-id: r25411
2007-02-07 16:30:59 +00:00
Johannes Schickel
aee4f7058d Implemented little diff in o1_characterSays for fm-towns version.
svn-id: r25410
2007-02-07 16:28:29 +00:00
Sven Hesse
3442ea1582 - Fixed another freeze in Ween
- Changed cursor visibility handling a bit

svn-id: r25407
2007-02-07 13:08:17 +00:00
Sven Hesse
edefc7bde3 Corrected the goblins walking sound (#1621086)
svn-id: r25404
2007-02-06 21:23:14 +00:00
Sven Hesse
8833cdb03f Made Goblin::Gob_Object::order explicitely signed, should fix bug #1625292 (Wrong sprite in foreground)
svn-id: r25403
2007-02-06 19:55:21 +00:00
Sven Hesse
1c9c972d05 - Fixed Ween's inventory in the volcano (#1630113)
- Added a range check to avoid invalid reads into _wayPoints in Map::checkDirectPath()

svn-id: r25402
2007-02-06 19:16:41 +00:00
Sven Hesse
d706d8e4c0 Implemented vertical scrolling
svn-id: r25401
2007-02-06 14:42:05 +00:00
Travis Howell
56ff44633f Update HE version for French versions of a few HE games.
svn-id: r25399
2007-02-06 12:29:31 +00:00
Gregory Montoir
f477e964d2 typo
svn-id: r25397
2007-02-05 22:49:58 +00:00
Gregory Montoir
15e2af8e9d 'fixed' o_blastText and updated a comment
svn-id: r25396
2007-02-05 22:47:22 +00:00
Sven Hesse
7082e58289 Corrected the clipping of _pressedMapX/_pressedMapY, to avoid accessing invalid memory (also possible fix for bug #1652551)
svn-id: r25395
2007-02-05 19:48:12 +00:00
Sven Hesse
7f26069f69 - Moved struct Mult_Data from Mult_v2 to Mult and merged Mult::_multData, Mult::_multData2 and some of the loose variables in Mult
- Added some missing MD5s/game versions (#1652352)

svn-id: r25393
2007-02-05 14:08:50 +00:00
Nicola Mettifogo
710105d1c1 solved 64 bit casting issue from BUG #1648325
svn-id: r25391
2007-02-05 12:53:40 +00:00
Sven Hesse
0ed752aa6e - Moved the specific interrupt frequency of 80 Hz out of class Infogrames into the GobEngine's Infogrames instances
- Changed the 80 Hz to 75 Hz, which is more true to the original

svn-id: r25389
2007-02-04 15:59:05 +00:00
Nicola Mettifogo
890ee97285 applied 2nd workaround to avoid crashes caused by labels when switching location
svn-id: r25388
2007-02-04 15:48:51 +00:00
Sven Hesse
f54a97a02c - Plugged some leaks and fixed some memory errors
- Fixed the cursor animation loops in Ween and Bargon
- Added Draw_Bargon + Inter_Bargon
- Implemented Bargon Attack's hardcoded intro parts

svn-id: r25387
2007-02-04 15:45:15 +00:00
Nicola Mettifogo
8f084baf66 added more debug levels and comments
svn-id: r25386
2007-02-04 15:43:45 +00:00
Max Horn
ae5fb74aef Use full game titles for the official AGI games (small exception: we also number part 1 of series, to avoid user confusion)
svn-id: r25385
2007-02-04 13:40:11 +00:00
Eugene Sandulenko
70833e89a4 Fix warning.
svn-id: r25384
2007-02-04 13:37:02 +00:00
Max Horn
5b65897cd3 Switch SCUMM engine to use the common special debug flags support (thus making it possible to use --debugflags with it)
svn-id: r25381
2007-02-04 12:41:49 +00:00
Nicola Mettifogo
5007d82ec7 solved array out of bound issue in quickFadePalette
svn-id: r25380
2007-02-04 12:14:11 +00:00
Nicola Mettifogo
9832736f9a added game palette static initializers to avoid warnings
svn-id: r25379
2007-02-04 11:19:14 +00:00
Nicola Mettifogo
854e351e5b Implemented workaround to avoid crashes on location switches, using knowledge from Big Red Adventure.
svn-id: r25378
2007-02-04 11:16:40 +00:00
Nicola Mettifogo
d89bfde4a6 oops fixed 64 bit warnings in the last revision
svn-id: r25377
2007-02-04 08:26:44 +00:00
Nicola Mettifogo
e3b9bda909 changed handling of zone labels to match original engine
svn-id: r25376
2007-02-04 08:12:33 +00:00
Nicola Mettifogo
b7d72fd959 _hoverZone now is handled as in the original engine
svn-id: r25375
2007-02-04 08:10:00 +00:00
Eugene Sandulenko
7b6bdd231d AdvancedDetector now has built-in fallback detection based on file lists.
Currently only gob engine benefits from it.

svn-id: r25374
2007-02-04 03:10:27 +00:00
Max Horn
18a9cb46d6 Removed GF_NO_SCALING
svn-id: r25372
2007-02-04 02:11:29 +00:00
Max Horn
53432b2bbe Use Actor::getRealPos instead of Actor::getPos in the debugger
svn-id: r25371
2007-02-04 01:52:50 +00:00
Max Horn
be052be462 Rewrote the actor walk code for SCUMM V0-V2 games: Now it uses the C64 character coordinates internally, not pixel coordinates. This should fix some walk bugs, but also might cause some regressions. Watch out
svn-id: r25370
2007-02-04 01:24:43 +00:00
Travis Howell
9865bc8fa5 Fix compile of SCUMM engine.
svn-id: r25368
2007-02-04 00:17:35 +00:00
Max Horn
96fe9d111f Fixed the default coords in ScummEngine_c64::o_putActorAtObject, which still in char coords, not pixel coords (see also ScummEngine_v2::o2_putActorAtObject)
svn-id: r25367
2007-02-03 23:47:45 +00:00
Max Horn
69ba8e57c2 Changed old FIXME comment into a WORKAROUND comment (it worked fine all these years, after all :); also added some paranoia checks
svn-id: r25366
2007-02-03 23:10:17 +00:00
Max Horn
35bfb505a6 Use the platform/language values computed by the detector
svn-id: r25365
2007-02-03 22:42:45 +00:00
Max Horn
73c3625f1f Fixing various doxygen warnings
svn-id: r25362
2007-02-03 21:37:52 +00:00
Johannes Schickel
c3f84d67b2 Workaround bad values for _curSfxFile in old savegames.
svn-id: r25359
2007-02-03 21:14:35 +00:00
Johannes Schickel
a2976a350f Fixes FM-Towns New Game Save.
svn-id: r25358
2007-02-03 20:50:26 +00:00
Johannes Schickel
3d70157e53 Some delay changes. (should fix slow scene animations)
svn-id: r25357
2007-02-03 19:21:33 +00:00
Max Horn
cb49cbdd45 * Reimplemented Mixer::pauseAll to simply invoke pause on all channels
(implying change of semantics)
* Reordered the params of Mixer::playRaw (the SoundType now comes first, not last)
* Removed Mixer::isPaused
* Removed Mixer::getSoundElapsedTimeOfSoundID
* Added some doxygen comments to the Mixer

svn-id: r25356
2007-02-03 19:05:53 +00:00
Max Horn
0fc672025c Removed obsolete call to Mixer::isPaused
svn-id: r25353
2007-02-03 18:08:10 +00:00
Gregory Montoir
9c7dd91626 removed unneeded/unnecessary variables and made SmushFont table private (to ensure getFont() get called to access them)
svn-id: r25352
2007-02-03 17:55:49 +00:00
Gregory Montoir
c9cb0ca8bf removed preallocation of sprite tables (the previous values were taken from the original but it seems they can be lowered)
svn-id: r25351
2007-02-03 17:50:29 +00:00
Torbjörn Andersson
ea40535678 Applied the revised NUT font renderer patch #1635584, which combines cyx's
patch for correct (not to mention more efficient) rendering of CMI's shadowed
letters, while retaining most of the memory savings of my original patch. This
time, SMUSH and INSANE fonts also benefit from it.

svn-id: r25345
2007-02-03 05:50:35 +00:00
Max Horn
5395c4a2f4 Removed _actorPos locat vars, and instead use _pos directly
svn-id: r25344
2007-02-03 01:21:49 +00:00
Max Horn
e363d1ebb1 Broadened the fix for bug #795214 to make it work with resaves of old savegames, fixing bug #1648248
svn-id: r25340
2007-02-02 23:43:39 +00:00
Max Horn
468b1600c4 Removed bogus debug leftover :)
svn-id: r25338
2007-02-02 18:40:02 +00:00
Johannes Schickel
4387a851a2 Replace filesize based kyra.dat check with a md5 based.
svn-id: r25337
2007-02-02 16:02:59 +00:00
Max Horn
013f1711c4 Workaround for bug #1621210 (FOA: Kerner counts incorrectly during end sequence)
svn-id: r25335
2007-02-02 13:53:59 +00:00
Max Horn
11a8d8f265 Some comment cleanup
svn-id: r25334
2007-02-02 12:51:44 +00:00
Paul Gilbert
f7958231be Bugfix to fix crash when Ratpouch chooses an in-room random destination
svn-id: r25333
2007-02-02 08:35:17 +00:00
Gregory Montoir
bb3e575e21 don't test akosScaleYTable if actor has no vertical scale factor ; this is consistent with the code in costume.cpp and fixes bug #1329232.
svn-id: r25332
2007-02-01 23:27:16 +00:00
Johannes Schickel
128c05f2b1 ops
svn-id: r25331
2007-02-01 22:15:01 +00:00
Johannes Schickel
b11e72f030 Handles multi language games the way gob engine does.
svn-id: r25330
2007-02-01 22:06:55 +00:00
Sven Hesse
7e19c134f7 Split the entry for Gobliins 2 multilanguage CD into separate entries for each language
svn-id: r25329
2007-02-01 21:59:51 +00:00
Sven Hesse
f1a4f57a53 Fixed wrong date display (bug #1650124), tm_mon is in the range 0-11
svn-id: r25328
2007-02-01 20:19:21 +00:00
Torbjörn Andersson
0a18259d78 Used Fingolfin's workaround for a bogus (?) warning produced by some versions
of GCC. (Not the one he's using, though, which is why I'm doing this instead.)

svn-id: r25327
2007-02-01 20:16:32 +00:00
Torbjörn Andersson
586a01d038 Fixed warning.
svn-id: r25325
2007-02-01 20:05:30 +00:00
Johannes Schickel
7e4fdbb36e Reworked delay handling.
svn-id: r25324
2007-02-01 15:30:50 +00:00
Johannes Schickel
096f8958c5 - fixed the sprite updating
=> fixes gfx bug when Herman uses the saw
 => removed workaround for bug #1477364 ("KYRA1: Water dripping freezes")

svn-id: r25323
2007-02-01 14:57:48 +00:00
Johannes Schickel
61531524dc cleanup
svn-id: r25322
2007-02-01 13:31:07 +00:00
Johannes Schickel
e9074ea021 oops.
svn-id: r25321
2007-02-01 13:12:45 +00:00
Johannes Schickel
b138b5cce1 Fix for missing Brandon in Zanthia's home (see bug #1498221 "KYRA1: Subtitles missing when meeting Zanthia
").

svn-id: r25320
2007-02-01 13:10:49 +00:00
Sven Hesse
d2b8787dd5 - Fixed the palette animations
- Changed waitRetrace() to take some time, because the scrolling speed is tuned to the retrace delays

svn-id: r25319
2007-02-01 10:42:27 +00:00
Torbjörn Andersson
edb61e5b01 Added my version of Woodruff so that I, too, can get the "Unknown version of
game engine" error, rather than a failed assertion, if I try to start it.

svn-id: r25318
2007-02-01 05:33:59 +00:00
Paul Gilbert
bc9df7e5c9 Added custom load code for room #20 Notice
svn-id: r25317
2007-02-01 04:41:36 +00:00
Johannes Schickel
69788f3d70 Some changes to be closer to the original with palette handling.
svn-id: r25316
2007-01-31 23:48:12 +00:00
Sven Hesse
fd0e90588d Added MD5 for the german Ween version, supplied by cartman_ on #scummvm
svn-id: r25315
2007-01-31 20:00:48 +00:00
Johannes Schickel
d3345ea7f1 oops.
svn-id: r25314
2007-01-31 18:38:22 +00:00
Johannes Schickel
d82c67b48c Fix for bug #Fix for bug #1523200 ("KYRA1: Voice-only mode has no lips animation").
svn-id: r25313
2007-01-31 18:35:50 +00:00
Johannes Schickel
9799b346d8 Fix for bug #1479856 ("KYRA1: gfx glitch when dying on bridge").
svn-id: r25312
2007-01-31 17:48:26 +00:00
Sven Hesse
8b4001f490 Replaced the delay in o1_keyFunc with a (skipable) busy-wait detection
svn-id: r25311
2007-01-31 16:23:34 +00:00
Sven Hesse
17e70efe13 - Snd::WaitEndPlay() should stop a running composition
- Removed Snd::getCompositionSlot(), it's not needed

svn-id: r25310
2007-01-31 15:19:42 +00:00
Sven Hesse
1880aa5441 Minor sound playing correction
svn-id: r25309
2007-01-31 14:53:46 +00:00
Sven Hesse
e3aeb0255b Removed debug output I accidentally checked in
svn-id: r25308
2007-01-31 13:43:16 +00:00
Sven Hesse
7101c0ef26 - Correctly setting of Snd::_playingSound
- Implemented sound fading in/out
- o2_stub0x81 -> o2_scroll

svn-id: r25307
2007-01-31 13:17:50 +00:00
Travis Howell
836a4ea99e Add/Update details for French versions of Freddi Fish series.
svn-id: r25305
2007-01-31 10:41:35 +00:00
Nicola Mettifogo
74b655f8df fixed casting bug as suggested by fingolfin on tracker item #1648325
svn-id: r25304
2007-01-31 10:21:36 +00:00
Travis Howell
f62728e0f8 Add/Update details for French versions of Spy Fox series.
svn-id: r25303
2007-01-31 07:43:02 +00:00
Paul Gilbert
a83be36a97 Expanded the chute animation to display the full sequence as the player leaves the dungeon
svn-id: r25302
2007-01-31 02:34:55 +00:00
Paul Gilbert
33707d6e42 Added animation handler for the player exiting the sewer, and some bugfixes to allow Ratpouch to correctly open up the dungeon exit
svn-id: r25301
2007-01-31 02:33:20 +00:00
Paul Gilbert
0bd31443f9 Added constants for the dungeon bricks and chute animation resources
svn-id: r25300
2007-01-31 02:28:51 +00:00
Paul Gilbert
1996046121 Changed the coveredFlag to have an initial state distinct from true or false
svn-id: r25299
2007-01-31 02:28:04 +00:00
Paul Gilbert
9d474d6258 Added check to skip drawing hotspots in layer 1 if their skip flag is set
svn-id: r25298
2007-01-31 02:26:16 +00:00
Paul Gilbert
ee606dc143 Added script methods needed for leaving the dungeon
svn-id: r25297
2007-01-31 02:24:55 +00:00
Gregory Montoir
6166c0ca19 reset _IACTpos when _IACTchannel is stopped (fixes memory overwrites in handleIACT during smush playback at the end of CMI demo)
svn-id: r25296
2007-01-31 00:16:21 +00:00
Gregory Montoir
9abaa064a0 got rid of codec37/codec47 init/deinit methods, cleanup
svn-id: r25295
2007-01-30 22:44:14 +00:00
Eugene Sandulenko
3766e0a77d eplaced platform-specific game features with common platform setting.
svn-id: r25294
2007-01-30 22:32:51 +00:00
Eugene Sandulenko
f395822aa6 Rearranged detection table and clarified some entries.
svn-id: r25293
2007-01-30 22:22:48 +00:00
Sven Hesse
cb8378065d - Changed _soundFlags and implemented "compositions"
- Changed Snd to be a permanent audiostream, to have better control over stopping, looping and compositions
- Some clean-up

svn-id: r25292
2007-01-30 22:19:55 +00:00
Gregory Montoir
b4bebad6f0 minor simplification
svn-id: r25289
2007-01-30 20:43:39 +00:00
Gregory Montoir
cb258bee24 added deinitialisation of codecs at the end of smush playback. This allows to save a bit of memory (about 1Mb for CMI) during gameplay.
svn-id: r25287
2007-01-30 20:36:03 +00:00
Gregory Montoir
ccde018e85 unused buffer variable
svn-id: r25286
2007-01-30 20:31:48 +00:00
Gregory Montoir
c69ecb78e7 added calls to SmushPlayer::getFont() to prevent accessing non-initialised SmushFont objects
svn-id: r25285
2007-01-30 20:29:01 +00:00
Gregory Montoir
7e5a0b05b5 warnings
svn-id: r25284
2007-01-30 20:20:05 +00:00
Gregory Montoir
5bdfd2d102 added checks to prevent crash if no datafiles can be found, also fixed a typo
svn-id: r25283
2007-01-30 20:18:06 +00:00
Travis Howell
8c89b0f9d3 Update platforms for French versions of pajama and putttime.
svn-id: r25279
2007-01-30 12:14:36 +00:00
Travis Howell
cdf92208b6 Add French version of DOTT and Sam & Max. for Macintosh.
svn-id: r25277
2007-01-30 12:07:05 +00:00
Travis Howell
83c55bbd31 Add French version of Pajama Sam 1 for Macintosh.
svn-id: r25276
2007-01-30 12:05:35 +00:00
Travis Howell
162a887052 Add French version of Putt-Putt Travels Through Time for Macintosh.
svn-id: r25275
2007-01-30 11:59:39 +00:00
Eugene Sandulenko
6a20ddf1d2 Moved Gob engine to AdvancedDetector.
svn-id: r25274
2007-01-30 02:17:46 +00:00
Eugene Sandulenko
843ac74c0e Moved Touche engine to AdvancedDetector.
svn-id: r25272
2007-01-30 00:24:09 +00:00
Eugene Sandulenko
7429748bae Removed Unicode from some fanmade game titles.
Assigned separate ids to some fanmade games.

svn-id: r25271
2007-01-30 00:22:58 +00:00
Stuart George
7845d3ba9f Added Gold Rush 3.5 md5sum
svn-id: r25270
2007-01-29 23:57:55 +00:00
Eugene Sandulenko
adcfd2cc5f Now AdvancedDetector could use single ID per engine. Also it can suggest
more complex game IDs with platform and language specified.

AGI engine benefits most from that.
Also turned Cine, Parallaction and SAGA to single ID, autoupgrading old ID.

svn-id: r25269
2007-01-29 23:25:51 +00:00
Johannes Schickel
7bb9b05f55 cleanup
svn-id: r25268
2007-01-29 21:34:39 +00:00
Max Horn
004b17446c cleanup
svn-id: r25266
2007-01-29 21:06:39 +00:00
Gregory Montoir
9b9117d0c6 Changed computation of _nextTop in v7/v8 games to represent an absolute y-coordinate (ie. not relative to _screenTop) in order to match the computation done for games <= v6. This should prevent any issues with vertical scrolling rooms.
svn-id: r25264
2007-01-29 20:39:18 +00:00
Johannes Schickel
5bf2396dd8 Changed debug message on unknown opcode to a warning.
svn-id: r25263
2007-01-29 20:23:27 +00:00
Johannes Schickel
10a3eebe5a Implements opcode 0xFFAA ('Reset Brandon's sprite')
svn-id: r25262
2007-01-29 19:41:52 +00:00
Johannes Schickel
fc5ed85972 little fix for fm-towns sfx.
svn-id: r25261
2007-01-29 18:48:49 +00:00
Johannes Schickel
1bbad356ef - adds support for FM-Towns SFX (thanks to Florian Kagerer for his source)
- gets rid of GameFlags::hasAudioCD

svn-id: r25258
2007-01-29 18:15:14 +00:00
Sven Hesse
0058049e32 Added a proper workaround for the race condition in the script when opening the notepad, which was apparently causing bug #1621089
svn-id: r25255
2007-01-29 17:59:28 +00:00
Sven Hesse
36a54218b1 - Another attempt at fixing the immediately-closing notepad heisenbug (#1621089)
- Implemented wide surfaces + scrolling
- Some clean-up

svn-id: r25253
2007-01-29 17:04:37 +00:00
Travis Howell
9a7c1c9baf Add French version of Simon the Sorcerer 2 (Windows CD)
svn-id: r25252
2007-01-29 06:45:14 +00:00
Max Horn
27432a4dc1 Moved some stuff from CharsetRenderer (back) to ScummEngine, added comments
svn-id: r25250
2007-01-28 20:11:31 +00:00
Max Horn
e287f181ed Partial fix for bug #1036707 (made by cyx): Get rid of _verbCharset, so that we use the correct font for verbs in COMI, with the correct spacing
svn-id: r25249
2007-01-28 18:47:10 +00:00
Chris Apers
06c3d2cb2a Fix crash on PalmOS due to out of memory
svn-id: r25248
2007-01-28 18:40:30 +00:00
Chris Apers
2c1a3e1cd2 Added French/Atari ST version of Elvira 1 and 2
svn-id: r25247
2007-01-28 18:38:26 +00:00
Sven Hesse
c238912315 Ooops
svn-id: r25246
2007-01-28 15:24:22 +00:00
Sven Hesse
b13e7ce8ec - Fixed the Adlib data ugliness
- Worked around the caching of raw sprite video memory to a file

svn-id: r25244
2007-01-28 13:19:17 +00:00
Eugene Sandulenko
93687d376b Add more paramteres to AdvancedDetector. Not used yet.
svn-id: r25241
2007-01-28 07:31:26 +00:00
Eugene Sandulenko
281ee019e0 Oops. Revert accidental commit
svn-id: r25233
2007-01-27 22:41:18 +00:00
Eugene Sandulenko
6365546fc5 Fixes and gfx rendering works
svn-id: r25232
2007-01-27 22:38:27 +00:00
Torbjörn Andersson
0080ae687a Stop movie lead-in/out when restarting the game (as I already claimed in a
comment that I was doing) to *really* fix bug #1645480. This time for sure...

svn-id: r25231
2007-01-27 22:10:50 +00:00
Torbjörn Andersson
0fdd4b6481 Moved the setupPremix() calls to initSound() and deinitSound(), instead of the
sound manager's constructor/destructor. Maybe this will fix the rare crashes on
startup?

svn-id: r25225
2007-01-27 05:23:56 +00:00
Gregory Montoir
3c8b67f3cf added missing MKID_BE macros
svn-id: r25224
2007-01-27 02:30:17 +00:00
Gregory Montoir
2b61c0d6c1 cleanup (made NutRenderer::loadFont protected, added call during initialisation of the renderer object)
svn-id: r25223
2007-01-27 02:26:37 +00:00
Stuart George
843b304031 Fixed picture drawing bug in pattern data (should only affect v3 + sq1 games only). Fixes Goldrush intro. Does not seem to break any other v3 game or SQ2
svn-id: r25222
2007-01-27 01:59:37 +00:00
Torbjörn Andersson
aaa2973bac Applied my own patch #1640913 ("Loading NUT fonts on demand"), after discussing
it with Fingolfin.

svn-id: r25221
2007-01-27 01:50:41 +00:00
Travis Howell
82cc1db794 Revert audiostream changes for VOC sound, due to sgin differences in Amiga CD32 verison of Simon 1.
svn-id: r25220
2007-01-27 01:07:12 +00:00
Travis Howell
b867202199 Correct md5 details for restart file in Amiga/AtariST versions of Elvira 1/2 and Waxworks.
svn-id: r25218
2007-01-27 00:27:58 +00:00
Nicola Mettifogo
c77ac3380a removed printf's spewing out tons of debug messages
svn-id: r25217
2007-01-27 00:20:41 +00:00
Nicola Mettifogo
3be5b0cca2 fixed out-of-bounds error causing random crashes in dialogues
svn-id: r25215
2007-01-26 23:26:28 +00:00
Nicola Mettifogo
da096e4b17 added more debug messages
svn-id: r25214
2007-01-26 23:24:12 +00:00
Nicola Mettifogo
b5a04fc2df added NULLity checks
svn-id: r25213
2007-01-26 23:21:04 +00:00
Nicola Mettifogo
221e9e77dd make sure current archive is closed before opening a new one
svn-id: r25212
2007-01-26 23:19:50 +00:00
Johannes Schickel
3a164d63ed Workaround for bug #1582672 ("KYRA1: Text crippled and drawn wrong").
svn-id: r25211
2007-01-26 22:27:59 +00:00
Gregory Montoir
10e45199c2 updated NutRenderer::drawShadowChar() comment
svn-id: r25210
2007-01-26 22:07:38 +00:00
Gregory Montoir
51fd5c8c4b templatified some Wiz decoding functions
svn-id: r25209
2007-01-26 22:03:41 +00:00