Commit Graph

11423 Commits

Author SHA1 Message Date
Paul Gilbert
db81b0a185 Added an explicit break out of the event processing loop for mouse buttons and/or key-presses - this should allow stylus-based systems to properly process 'mouse down' events before the 'mouse up' is processed
svn-id: r42558
2009-07-17 05:10:24 +00:00
Sven Hesse
6c4e87a1d8 Making TOTResourceItem::size unsigned, fixing a graphics bug that crept in
svn-id: r42552
2009-07-17 00:55:56 +00:00
Sven Hesse
922f721108 Added some more debug warnings when resources can't be loaded
svn-id: r42551
2009-07-17 00:55:42 +00:00
Travis Howell
cff307e55d Fix bug #2821986 - COMI: setting to 'subtitles only' does not disable speech.
svn-id: r42548
2009-07-17 00:25:27 +00:00
Travis Howell
c0965b2a2a Fix using subtitles only setting in The Dig.
svn-id: r42545
2009-07-17 00:10:10 +00:00
Johannes Schickel
572b0e6c03 Fix bug in "KyraEngine_v2::runSceneScript6", fixes text line Zanthia says, when picking up the spellbook page in the town.
svn-id: r42543
2009-07-16 21:47:57 +00:00
Johannes Schickel
1e3beb40c0 This commit is just for DrMcCoy. (forgot to fix two usages of whitespaces instead of tabs for indentation -.-)
svn-id: r42539
2009-07-16 17:44:05 +00:00
Johannes Schickel
2422ee06a2 Formatting fixes.
svn-id: r42538
2009-07-16 17:39:16 +00:00
Vicent Marti
af289bdb03 Fixed bug 2820514 ("Help dialog causes crash")
svn-id: r42537
2009-07-16 17:29:31 +00:00
Torbjörn Andersson
ff75d68f1c Fixed GCC warning.
svn-id: r42536
2009-07-16 17:26:44 +00:00
Filippos Karapetis
645e6baa07 Added a proper fix for Pepper (the previous one caused regressions in KQ6)
svn-id: r42533
2009-07-16 12:43:42 +00:00
Paul Gilbert
19e8b39249 Prior script fix also fixes bug #2820788, with stealing wizard's mallets
svn-id: r42528
2009-07-16 09:53:19 +00:00
Paul Gilbert
f01bd0e9a3 Added game script fix for bug #2680397 - game hang when using the brochure on the Beekeeper
svn-id: r42527
2009-07-16 09:31:31 +00:00
Filippos Karapetis
52ed2fe04c Added missing information for the newly-added version of Pepper
svn-id: r42525
2009-07-16 08:21:06 +00:00
Filippos Karapetis
efc5f80f51 Added the French version of KQ5 floppy (bug report #2812611)
svn-id: r42524
2009-07-16 08:17:38 +00:00
Filippos Karapetis
00dbbedbad Added a detection entry for Pepper's Adventures in Time, and fixed an issue with _gfxop_set_pic(), which was causing crashes in that game
svn-id: r42523
2009-07-16 08:13:08 +00:00
Paul Gilbert
b04e3e7940 Added no blocking fix for Present Outside Inn scene as well
svn-id: r42522
2009-07-16 04:06:35 +00:00
Paul Gilbert
aeb2aa6630 Game script fix for bug #2525010 - in the GRA version, the luggage blocked Rincewind's exit from the Inn, leaving him in a non-walkable area
svn-id: r42521
2009-07-16 02:27:26 +00:00
Johannes Schickel
6b3c3a8a12 Bugfix: Disallow GMM Save/Load while in kyragem scene.
svn-id: r42507
2009-07-15 15:51:47 +00:00
Travis Howell
a0d05a93f8 Fix recent PN regression in vc32_saveScreen().
svn-id: r42504
2009-07-15 13:19:49 +00:00
Kari Salminen
7751cea790 Remove ioFailed() usage from Cine engine.
svn-id: r42502
2009-07-15 13:04:17 +00:00
Max Horn
baabc623f6 Got rid of two more ioFailed uses
svn-id: r42501
2009-07-15 10:04:50 +00:00
Paul Gilbert
544bf83f33 Created a system for inserting arbitrary code fragments into game scripts, and added an initial fragment to fix the bug of being stuck in the past in the DW1 SCN version
svn-id: r42500
2009-07-15 08:55:12 +00:00
Travis Howell
9c06549d31 Hack is no longer required, due to revision 42498.
svn-id: r42499
2009-07-15 05:00:59 +00:00
Travis Howell
b159517dc3 Fix bug #2821215 - DIG: Skipping planetarium animation disables F5 menu.
svn-id: r42498
2009-07-15 02:06:26 +00:00
Kari Salminen
3a3b71622a Remove ioFailed() usage from AGI engine.
svn-id: r42495
2009-07-14 23:03:40 +00:00
Max Horn
99fc508609 AGOS: Some more cleanup and added some comments to the PN code
svn-id: r42494
2009-07-14 23:03:25 +00:00
Johannes Schickel
59b35ff5fb Fix graphics glitch in LoL PC98 intro.
svn-id: r42493
2009-07-14 22:47:33 +00:00
Max Horn
cc60b13597 AGOS: Fixed potential OOBA crash in AGOSEngine_PN::opn_opcode26
svn-id: r42492
2009-07-14 21:50:22 +00:00
Max Horn
ebe3e42fba AGOS: Cleanup PN code a bit, trying to make sense out of it
svn-id: r42491
2009-07-14 21:46:23 +00:00
Johannes Schickel
464ee013f0 Replaced char usage by int8, since char is unsigned on Linux/PPC by default.
svn-id: r42490
2009-07-14 19:32:25 +00:00
Max Horn
6b98c4c4e7 Got rid of some more ioFailed uses (also fixed a potential leak in graphics/font.cpp, and handle eos correctly in the FLAC code)
svn-id: r42488
2009-07-14 18:24:20 +00:00
Arnaud Boutonné
810961e685 Add detection for Playtoons 4 EN_ANY as supplied by goodoldgeorg in bug #2820006
svn-id: r42483
2009-07-14 15:48:05 +00:00
Kari Salminen
9a2785bc3b Partially fix automatic restarting of AGI games (Addresses bug #2798797 ('AGI: larry 1 doesn't restart after dying') but doesn't fully fix it. There seems to be more to the problem still. Automatic restarting after dying of an STD doesn't take away the STD-condition and Larry continues to die in a loop).
svn-id: r42482
2009-07-14 15:02:17 +00:00
Travis Howell
845106c3b9 Remove last ioFailed() usage in AGOS game engine.
svn-id: r42481
2009-07-14 13:55:10 +00:00
Travis Howell
cc4fb1277f Update workaround for bug #1538873, which effects the Polish version of Simon the Sorcerer 2 too.
svn-id: r42480
2009-07-14 13:53:54 +00:00
Travis Howell
e59c546187 Change key combination to dump all script, due to conflict.
svn-id: r42478
2009-07-14 13:50:17 +00:00
Kari Salminen
264e44d14a Fix some typos and grammar in sword1's Sound::checkSpeechFileEndianness-function's comments.
svn-id: r42477
2009-07-14 13:48:31 +00:00
Arnaud Boutonné
c4437fa013 Add detection for Playtoons CK 3 (FR)
svn-id: r42476
2009-07-14 13:25:38 +00:00
Travis Howell
e457a3f251 Add workaround for bug #1538873 - SIMON1 (French): Text wrongly displayed.
svn-id: r42474
2009-07-14 12:34:42 +00:00
Joost Peters
fb247af301 add workaround for #2687172: BASS: Occasional loss of speech
svn-id: r42473
2009-07-14 11:15:21 +00:00
Paul Gilbert
324ba3703b Bugfix to cursor updates - it previously required that both X and Y positions had changed before a cursor change could occur
svn-id: r42472
2009-07-14 10:55:51 +00:00
Paul Gilbert
fb631a7f38 Bugfix for player being able to walk through some objects against room walls
svn-id: r42471
2009-07-14 10:26:56 +00:00
Joost Peters
72e2b9fe5a commit peres' patch for #2813472: BASS: "showgrid" enabled triggers an assert
svn-id: r42470
2009-07-14 09:44:56 +00:00
Max Horn
dbf968b49e TINSEL: Don't use ioFailed to check if a file was opened succesfuly
svn-id: r42468
2009-07-14 08:36:06 +00:00
Sven Hesse
5913895ecc Allow resource loading from EXT even if the TOT has none again
svn-id: r42463
2009-07-13 23:42:37 +00:00
Gregory Montoir
230bd03913 tucker: added workaround for original game glitch (tracker item #2597763)
svn-id: r42458
2009-07-13 22:19:10 +00:00
Gregory Montoir
b98fdb997d tucker: fixed issues with dirty rects handling (tracker item #2597763)
svn-id: r42456
2009-07-13 22:11:54 +00:00
Johannes Schickel
51a9bfc9e2 Refactor GUI options update into a function in Common: updateGameGUIOptions.
svn-id: r42446
2009-07-13 18:47:32 +00:00
Johannes Schickel
88e0fc2c43 Add transparent GUI options update for SCUMM too.
svn-id: r42445
2009-07-13 18:32:03 +00:00
Johannes Schickel
1871a2e68d Support transparent guioptions update on game launch for AdvancedMetaEngine.
svn-id: r42444
2009-07-13 18:31:42 +00:00
Johannes Schickel
43c7f7530a Got rid of Screen_LoL::_paletteConvTable.
svn-id: r42443
2009-07-13 17:48:13 +00:00
Kari Salminen
242b7ef708 Fix compilation under Windows (The fabs-calls were causing error C2668 about 'ambiguous call to overloaded function').
svn-id: r42440
2009-07-13 17:09:40 +00:00
Kari Salminen
e5c2275e80 Fix for bug #2669415 (FW: half walking speed in a screen).
svn-id: r42439
2009-07-13 16:52:09 +00:00
Willem Jan Palenstijn
4ea74d7e04 Add one more type of IQ-points filename (for bug #2820803)
svn-id: r42436
2009-07-13 14:46:14 +00:00
Travis Howell
01624bbb28 Fix bug #2820472 - MAZE: Keyboard input fault.
svn-id: r42434
2009-07-13 07:55:11 +00:00
Eugene Sandulenko
bd91c1129d Patch #1936137: "Speech for Mac BS1 english"
svn-id: r42423
2009-07-12 18:52:38 +00:00
Kostas Nakos
b0b12b60ed oops, fix props
svn-id: r42421
2009-07-12 16:40:10 +00:00
Kostas Nakos
810bbca93c fix build with arm-asm routines
svn-id: r42420
2009-07-12 15:59:56 +00:00
Johannes Schickel
c3ce2087bb Add missing quotation mark to error message.
svn-id: r42406
2009-07-12 08:51:57 +00:00
Paul Gilbert
f278432144 Added support for sub-relation message types - this fixes trying to attach the chain to the hook on the deck
svn-id: r42405
2009-07-12 07:23:50 +00:00
Max Lingua
55cda3aa25 ScummVM/PS2 bugs fixed by this commit:
- general file write corruption (eg. ScummVM.ini, etc.)

 - COMI specific save crash / corruption
   (added option in engines/scumm/saveload.cpp to disable
    thumbnails on PS2, as emergency fallback in case the
    fix should prove to be insufficient)

 - implemented _screenChange logic
   (fixes grabOverlay & COMI popup menu)

 - fixed higher pitch (chipmunk fx)

 - made NET IRXs optional to allow it to work on fat PS2 without net+hd

 - fixed cursor restore on RTL

 - added "." as R2 to skip single lines of dialog

 - added write cache

svn-id: r42404
2009-07-12 05:38:08 +00:00
Filippos Karapetis
31a0c80905 Moved the kernel and the vocabulary outside of the engine state (they're static data, which never changes during a game)
svn-id: r42398
2009-07-11 23:45:54 +00:00
Filippos Karapetis
116d225411 Changed an incorrect warning back to scidprintf - the relevant message is for testing only
svn-id: r42394
2009-07-11 19:38:41 +00:00
Filippos Karapetis
f0892cdcbe Some work on QFG1VGA (looks like a mix of SCI1 and SCI1.1)
svn-id: r42393
2009-07-11 19:00:56 +00:00
Filippos Karapetis
4f0888b8b6 Removed the version parameter from GfxResManager
svn-id: r42387
2009-07-11 17:25:49 +00:00
Filippos Karapetis
848b9cda03 If we fail to auto-detect either the volume or the map version, set the one to be equal to the other
svn-id: r42386
2009-07-11 16:07:14 +00:00
Willem Jan Palenstijn
8dd3492194 SCI: don't let TimerSongIterator loop forever, and don't immediately
signal completion when starting it. This fixes a sync issue with
the departing spaceship at the start of SQ4CD (after the intro).

svn-id: r42385
2009-07-11 15:00:40 +00:00
Travis Howell
1c02b93b70 Fix pinball type mini game in Putt-Putt Enters The Race.
svn-id: r42382
2009-07-11 12:23:42 +00:00
Sven Hesse
2ceea652e6 Explicitely instantiate the decompressWizImage() templates, so that they won't be optimized away, as they are also used in akos.cpp
svn-id: r42380
2009-07-11 10:24:06 +00:00
Willem Jan Palenstijn
d3d06626e4 Fix oversight in r42361 and also handle consecutive copied characters in SAGA.
svn-id: r42378
2009-07-11 09:45:25 +00:00
Paul Gilbert
6bf91ab66f Bugfix to properly save the currently playing midi music when saving a scene
svn-id: r42377
2009-07-11 08:16:55 +00:00
Travis Howell
9594beb39f Only error out, if checkStaticSelectorNames() fails.
svn-id: r42376
2009-07-11 07:03:28 +00:00
Filippos Karapetis
2b5fac58d5 Applied patch 2818733 - "SCI: Timer iterator for audio resources played via doSound"
svn-id: r42375
2009-07-11 06:53:39 +00:00
Filippos Karapetis
28dd343e08 Applied slightly modified patch 2819002 - "SCI: resource-view-patch on SQ5/German fix"
svn-id: r42374
2009-07-11 06:43:01 +00:00
Filippos Karapetis
4f2b857982 Removed an invalid detection entry
svn-id: r42373
2009-07-11 06:34:25 +00:00
Filippos Karapetis
0b47fa50ae Applied a slightly modified patch from clone2727 which adds static selector names to some demos which are missing them (KQ4, LSL1, LSL3, Iceman and Christmas1992)
svn-id: r42372
2009-07-11 06:33:19 +00:00
Filippos Karapetis
763c6c8ca1 Fixed regression in the script parser from commit 42260
svn-id: r42371
2009-07-11 06:19:29 +00:00
Paul Gilbert
2c96ca84f3 Added initialisation of paging screens when the game starts
svn-id: r42370
2009-07-11 05:14:42 +00:00
Paul Gilbert
99d81ac2ed Active background screens are now properly freed when the game exits
svn-id: r42369
2009-07-11 05:12:17 +00:00
Paul Gilbert
dd9b6fffff Bugfix to show the mouse cursor when restarting the game after returning to launcher
svn-id: r42368
2009-07-11 05:10:13 +00:00
Johannes Schickel
a93008713a Removed the now uneeded "Screen::_disableScreen" flag.
svn-id: r42366
2009-07-11 01:54:42 +00:00
Johannes Schickel
3080cc2905 Fix graphics not updating, when loading a save in Kyra1. This fixes problems when loading saves in rooms like Brynn's temple, which play animations directly on scene enter.
svn-id: r42365
2009-07-11 01:54:27 +00:00
Travis Howell
fb38a1b0ba Fix bug #2819628 - DETECTOR: Atlantis CD sets wrong gui options.
svn-id: r42364
2009-07-11 01:40:53 +00:00
Willem Jan Palenstijn
ad67a714dd Fix SAGA outline generation algorithm for characters
that are copies of earlier characters. (5 characters in IHNM.)
This fixes #1904624.

svn-id: r42361
2009-07-11 00:47:32 +00:00
Travis Howell
8eee50103c Fix recent regression in AGOSEngine_Simon1::drawImage().
svn-id: r42360
2009-07-11 00:38:50 +00:00
Fabio Battaglia
1f24fe43a2 tinsel: proper detection entry for Discworld 1 Italian only CD
svn-id: r42356
2009-07-10 22:13:27 +00:00
Sven Hesse
ad7c50e70d Fixing mismatched delete
svn-id: r42354
2009-07-10 21:49:47 +00:00
Filippos Karapetis
dfe8ec9be0 Applied patch #2819665 - "SCI: cell palette fix for QfG3/SQ5/etc."
svn-id: r42345
2009-07-10 18:53:40 +00:00
Johannes Schickel
e8e9b88227 Oops specify the correct revsision number in the fixme.
svn-id: r42306
2009-07-09 16:24:59 +00:00
Johannes Schickel
5d0d67e574 Add fixme about SCI32 specific code.
svn-id: r42305
2009-07-09 16:23:22 +00:00
Johannes Schickel
1ac515c629 By comparing the commit log of r42300, it seems that "off" was renamed to "lastDirectoryOffset". I changed the SCI32 specific code to use that now. I can't assure this is anyhow correct, so anyone with knowledge of this code please check it.
svn-id: r42303
2009-07-09 16:16:08 +00:00
Johannes Schickel
0aa83f14c7 Fix wrong format arugment.
svn-id: r42301
2009-07-09 15:59:20 +00:00
Filippos Karapetis
717de7800c Applied patch #2818845 - "SCI: resource.map detection for SCI1/1.1 fixed", with some slight formatting changes
svn-id: r42300
2009-07-09 15:54:18 +00:00
Filippos Karapetis
982153e0ab restAdjust should be a signed integer. Fixes crashes with SCI1 games that take absolute lofs parameters (a regression of commit #42260)
svn-id: r42297
2009-07-09 15:46:26 +00:00
Johannes Schickel
a17333ed1b Cleanup rollDice (the results of the old and the new function are almost identical).
svn-id: r42293
2009-07-09 15:32:25 +00:00
Johannes Schickel
a7c96e1526 Cleanup.
svn-id: r42292
2009-07-09 15:32:06 +00:00
Filippos Karapetis
8a783bdd76 Renamed sound/iff.* to sound/iff_sound.* to fix an issue with the upcoming changes to the MSVC project files (sound/iff.* produces iff.obj, which clashes with iff.obj from graphics/iff.*)
svn-id: r42287
2009-07-09 13:17:46 +00:00
Sven Hesse
3823ae285f Giving Font its own real class
svn-id: r42277
2009-07-09 02:54:10 +00:00
Florian Kagerer
c7eedb573a LOL: cleanup
svn-id: r42271
2009-07-08 21:12:03 +00:00