Commit Graph

11148 Commits

Author SHA1 Message Date
Paul Gilbert
6cc4140cf4 Changed many file reads and manual conversions from endian format to instead use file readSint16BE/readSint32BE calls
svn-id: r41709
2009-06-20 12:02:08 +00:00
Gregory Montoir
1da48cfd55 fixed OPL 0xB0 register write. the return value of findNote() already includes the octave, no need to readd it.
svn-id: r41704
2009-06-20 10:52:55 +00:00
Paul Gilbert
31ace2c66c Implemented the library function Op_SongExist
svn-id: r41703
2009-06-20 08:15:39 +00:00
Paul Gilbert
4f622ab295 Added proper saving of music state to savegames so music resumes when a savegame is loaded.
svn-id: r41702
2009-06-20 08:15:01 +00:00
Paul Gilbert
61f20f4d88 Bugfix to fade out any currently playing music when the game is restarted
svn-id: r41701
2009-06-20 07:36:12 +00:00
Paul Gilbert
8cda2728eb Finally tracked down the difference/bug in the music playing code - music playback now works
svn-id: r41700
2009-06-20 06:48:47 +00:00
Paul Gilbert
d7e0c52a86 Added explicit casts to _fontConversionTableGerman for systems where char is signed
svn-id: r41699
2009-06-20 06:20:12 +00:00
Florian Kagerer
66445ae515 LOL: - implemented delete menu
- fixed some bugs in the menu code

svn-id: r41683
2009-06-19 18:46:19 +00:00
Walter van Niftrik
f8744fde75 SCI: Fix cel1 y-offset regression introduced in r40997.
svn-id: r41680
2009-06-19 18:07:45 +00:00
Johannes Schickel
d4e01e3a1b Fix some warnings.
svn-id: r41679
2009-06-19 17:53:25 +00:00
Florian Kagerer
ec7d86404c LOL: - implemented bezel cup opcode
- implemented font conversion for certain language specific characters in load game dialogue (only german atm)

svn-id: r41677
2009-06-19 17:03:28 +00:00
Sven Hesse
91b5d1befb Added my German version of The Last Dynasty
svn-id: r41668
2009-06-19 09:55:23 +00:00
Sven Hesse
0ae767ae8c Fixing The Last Dynasty again after the opcode dispatcher changes
svn-id: r41664
2009-06-19 09:43:01 +00:00
Sven Hesse
476eaf39b5 Ooops, forgot to change the array when copy-pasting the description function
svn-id: r41663
2009-06-19 09:42:41 +00:00
Filippos Karapetis
47d4794876 Fixed a warning about an uninitialized variable
svn-id: r41660
2009-06-19 07:56:30 +00:00
Max Horn
42de7a1573 Patch
svn-id: r41647
2009-06-18 22:09:57 +00:00
Johannes Schickel
2e27c7b492 Replaced "getRandomNumberSpecial" be RandomSource usage. (This is needed for proper event recording, also the probability for generated numbers is actually nearly the same)
svn-id: r41646
2009-06-18 21:47:10 +00:00
Sven Hesse
4562fe248a Removing the useless _vm->_parse->
svn-id: r41645
2009-06-18 21:08:51 +00:00
Fabio Battaglia
ab3d3ae1cf scumm: added the missing word "version" in a comment
svn-id: r41635
2009-06-18 13:50:26 +00:00
Sven Hesse
23f9cc0e4e Oops, forgot again that Fascination needs o1_assign
svn-id: r41634
2009-06-18 13:27:48 +00:00
Sven Hesse
d4855ff819 Splitting an ADLPlayer and MDYPlayer from the AdLib class
svn-id: r41633
2009-06-18 13:27:35 +00:00
Sven Hesse
c9517af76e Replacing some #includes by forward declarations
svn-id: r41632
2009-06-18 13:27:14 +00:00
Paul Gilbert
9651257a3e Removed redundant code that isn't used
svn-id: r41630
2009-06-18 11:37:45 +00:00
Travis Howell
5a8f066497 Correct actor layering method in HE90+ games.
svn-id: r41625
2009-06-18 06:18:31 +00:00
Eugene Sandulenko
c96ec85dbb Preliminary support for CoCo3 music.
svn-id: r41618
2009-06-17 23:16:21 +00:00
Arnaud Boutonné
95da9c2761 - Modify detection files for Playtoons CK Knights (CK2) as it wasn't making the difference with CK1
- Add Playtoons CK Monsters (CK1)

svn-id: r41611
2009-06-17 18:48:41 +00:00
Sven Hesse
6c47f9f4f8 Changed opcodeGob to be functor-based
svn-id: r41603
2009-06-17 04:16:51 +00:00
Sven Hesse
8615c57791 Changed opcodeFunc to be functor-based
svn-id: r41602
2009-06-17 04:16:21 +00:00
Sven Hesse
25c92dfdef Changed opcodeDraw to be functor-based
svn-id: r41601
2009-06-17 04:15:45 +00:00
Eugene Sandulenko
3bfca53709 Disable music for CoCo3 games. It has different format.
svn-id: r41598
2009-06-16 21:59:20 +00:00
Florian Kagerer
0b4725d142 LOL: implemented options menu (settings aren't saved yet)
svn-id: r41596
2009-06-16 21:23:26 +00:00
Sven Hesse
72fedd3eb0 Including scummsys.h and forward-declaring GobEngine
svn-id: r41592
2009-06-16 20:39:37 +00:00
Sven Hesse
c73f11f0d1 Properly initializing _soundMode, for ADLs too
svn-id: r41591
2009-06-16 20:15:49 +00:00
Sven Hesse
a2afe557ef Encapsulating the Stack and StackFrame a bit
svn-id: r41590
2009-06-16 20:15:19 +00:00
Sven Hesse
1996a8011c Encapsulating stack adjustments
svn-id: r41589
2009-06-16 20:14:56 +00:00
Johannes Schickel
4aec580f91 Formatting.
svn-id: r41588
2009-06-16 19:26:44 +00:00
Fabio Battaglia
b905602b4c tinsel: check only english.txt for DW1 psx version detection, and use recursive "SearchMan.addDirectory()" to obtain subdirs for Discworld PSX datafiles
svn-id: r41587
2009-06-16 18:58:21 +00:00
Arnaud Boutonné
975a0d6567 MDY/TBR : fix a thing or two. Still far from being OK, but in-game ambiance "music" is (a little) less buggy
svn-id: r41584
2009-06-16 12:25:53 +00:00
Arnaud Boutonné
2668ea4694 Add MD5 for Playtoons 3 (english)
svn-id: r41579
2009-06-16 07:14:07 +00:00
Florian Kagerer
475c967d0d KYRA: fixed regression (broken menu slide bars in HOF/MR)
svn-id: r41576
2009-06-15 23:22:31 +00:00
Sven Hesse
434be5c65a Renamed _inter_resStr to _resultStr
svn-id: r41575
2009-06-15 23:11:29 +00:00
Sven Hesse
1b67620d99 Renaming _inter_resVal to _resultInt
svn-id: r41574
2009-06-15 23:11:08 +00:00
Sven Hesse
67a9ff7dd3 Moving _inter_resVal and _inter_resStr from Global to Parse
svn-id: r41573
2009-06-15 23:10:51 +00:00
Sven Hesse
58fbca49f5 Splitting up parseExpr a bit
svn-id: r41572
2009-06-15 23:10:27 +00:00
Sven Hesse
2219533441 Remove some now superfluous comments
svn-id: r41571
2009-06-15 23:10:10 +00:00
Sven Hesse
5c58b9a3a4 Using cmpHelper for OP_NEQ too, since the original does a normal strcmp there as well. No idea where the stricmp came from
svn-id: r41570
2009-06-15 23:09:57 +00:00
Sven Hesse
f6ca65206f Renaming some variables in o1_assign() and o2_assign() to mirror the structure in o6_assign()
svn-id: r41569
2009-06-15 23:09:37 +00:00
Sven Hesse
190dd0d077 Using the TYPE_ enum where applicable
svn-id: r41568
2009-06-15 23:09:23 +00:00
Sven Hesse
236fad1f19 Adding a TYPE_ enum
svn-id: r41567
2009-06-15 23:09:04 +00:00
Sven Hesse
75b44536b1 Fixing the signness indicated by the OP_ enums
svn-id: r41566
2009-06-15 23:08:44 +00:00
Sven Hesse
42007f9d04 Propagating variable name changes
svn-id: r41565
2009-06-15 23:08:28 +00:00
Sven Hesse
e8a89cffb6 Renamed various variables to better reflect their meaning
svn-id: r41564
2009-06-15 23:08:09 +00:00
Sven Hesse
8b5233c5ff Renamed varPos to varBase and split off getVarBase() from parseVarIndex() and parseExpr()
svn-id: r41563
2009-06-15 23:07:55 +00:00
Sven Hesse
0906068bff Merging parseValExpr and parseExpr
svn-id: r41562
2009-06-15 23:07:38 +00:00
Florian Kagerer
650f3a50d2 LOL: implemented quit menu
svn-id: r41560
2009-06-15 21:39:43 +00:00
Arnaud Boutonné
2f8a0b9936 renamed playtoons target names to insult-free target names (maybe non-definitive names)
svn-id: r41559
2009-06-15 21:28:11 +00:00
Florian Kagerer
583a89be62 LOL: - started on the ingame menu code (death menu, load menu and main menu)
- fixed regression in kyra gui code (broken menu highlighting)
- fixed minor bug in animation code

svn-id: r41557
2009-06-15 20:52:09 +00:00
Arnaud Boutonné
f2e3ddf72a Add MD5 for Playtoons 4 FR
svn-id: r41556
2009-06-15 19:46:00 +00:00
Filippos Karapetis
0e6a23ab3b Added aliases for the script/breakpoint related commands and added the debugflag related commands to the help screen
svn-id: r41538
2009-06-15 08:44:35 +00:00
Eugene Sandulenko
8bcdd8d7f6 Run AGIMOUSE hack as a side effect always
svn-id: r41536
2009-06-15 07:06:52 +00:00
Jordi Vilalta Prat
d7308e9e3d Fix groovie's GUI game options
svn-id: r41528
2009-06-14 22:10:17 +00:00
Gregory Montoir
5a03e5cca1 simplified .raw/.wav data files handling in introduction sequences
svn-id: r41520
2009-06-14 15:07:34 +00:00
Johannes Schickel
7c5d739ba7 Cleanup.
svn-id: r41519
2009-06-14 14:24:28 +00:00
Walter van Niftrik
d0471f01db SCI: Added detection entries for Japanese SQ4.
svn-id: r41517
2009-06-14 14:11:21 +00:00
Johannes Schickel
b9d42b8741 Got rid of a needless "getEventManager" call. (Using Engine::_eventMan now instead)
svn-id: r41516
2009-06-14 14:05:42 +00:00
Sven Hesse
48a8e69546 Fixed an animation speed regression that got introduced when I added a lag compensation for Woodruff
svn-id: r41508
2009-06-14 12:19:42 +00:00
Johannes Schickel
5f5faf71c5 Fix unused variable warning.
svn-id: r41507
2009-06-14 11:08:35 +00:00
Paul Gilbert
2f3e5f11cb Beginnings of music support for Cruise, based on the cine engine sound code (note that the music played isn't yet correct, though)
svn-id: r41506
2009-06-14 03:39:30 +00:00
Eugene Sandulenko
d925104b6a Added sanity checking to stopSound() and a bit more debug output
svn-id: r41501
2009-06-13 22:48:16 +00:00
Sven Hesse
acb0de6580 Warn when a sprite operation is to be performed on a nonexistent surface instead of crashing
svn-id: r41499
2009-06-13 22:35:22 +00:00
Arnaud Boutonné
7eaf013bbf Gob - *WIP* incomplete implementation of MDY/TBR
svn-id: r41498
2009-06-13 22:14:58 +00:00
Sven Hesse
ccb92ebfee Making TotTextData's item's offsets unsigned. This could fix the crash in the Polish Woodruff version (bug #2804962)
svn-id: r41497
2009-06-13 22:10:55 +00:00
Oystein Eftevaag
cca9202372 Buildfix for gcc 3.3 (moved a template class member into the header file)
svn-id: r41493
2009-06-13 13:27:21 +00:00
Walter van Niftrik
1fb78d577f SCI: Moved audio code from AudioResource to the sfx core.
svn-id: r41486
2009-06-12 23:46:23 +00:00
Walter van Niftrik
019be026d9 SCI: Added detection entries for Japanese QFG.
svn-id: r41485
2009-06-12 23:29:27 +00:00
Nicola Mettifogo
20d75f6ec7 Added missing return statements.
svn-id: r41473
2009-06-12 10:26:15 +00:00
Nicola Mettifogo
5172c83200 Finally fix build (extra qualifier removed).
svn-id: r41470
2009-06-12 09:56:07 +00:00
Nicola Mettifogo
b2e5905327 * Adapted Kyra to the new IFFParser interface.
* Adapted the new IFFParser to Kyra (slightly).
The Kyra1 demo on the website works.

svn-id: r41468
2009-06-12 09:49:38 +00:00
Nicola Mettifogo
36828287ad * Moved the updated IFF code from Parallaction to common/
* Updated Parallaction and SAGA to use the new decoder infrastructure.

svn-id: r41465
2009-06-12 08:51:05 +00:00
Nicola Mettifogo
657e37985e Cleanup of sound code.
svn-id: r41461
2009-06-12 07:55:44 +00:00
Nicola Mettifogo
df1534ffd0 * Replaced the A8SVXDecoder class with a function to return an AudioStream in trunk/sound/.
* Refactored sound code in Parallaction to use the new Audio::make8SVXStream.

svn-id: r41460
2009-06-12 07:18:01 +00:00
Nicola Mettifogo
5915e60452 Removed a leftover printf().
svn-id: r41459
2009-06-12 06:20:11 +00:00
Nicola Mettifogo
5fccc0f98d * Final version of the IFF parsing code.
* Refactored ILBMDecoder usage from disk code.

svn-id: r41458
2009-06-12 05:03:18 +00:00
Kari Salminen
f5b2e69522 Fix Operation Stealth's 2nd arcade sequence's revolving doors.
- Now the doors actually do revolve when before they didn't.
- The fix was to alias the 9th background with the collision
  page directly when loading collision page data. This way
  changes written to the 9th background go to the collision
  page and vice versa (And there were changes in the labyrinth).
- Also converted _bgTable from a pure array to a Common::Array

svn-id: r41453
2009-06-11 18:32:35 +00:00
Eugene Sandulenko
2ffe5ed25e Added set of CoCo3 AGI games
svn-id: r41452
2009-06-11 15:45:52 +00:00
Arnaud Boutonné
b1b03a33ba Gob detection :
- use GUIO_NOSPEECH and GUIO_NOSUBTITLES intensively, as there is no control other them even when they are present
- Replace non-ASCII characters by hex values

svn-id: r41429
2009-06-10 15:04:21 +00:00
Paul Gilbert
e487347921 Added support for loading savegames from the launcher
svn-id: r41424
2009-06-10 12:16:30 +00:00
Paul Gilbert
f2c1b18242 Added variable to savegame format so that savegames can be correctly loaded from the ScummVM launcher
svn-id: r41423
2009-06-10 12:15:50 +00:00
Sven Hesse
a19622994b Fixed CLEAR
svn-id: r41409
2009-06-09 19:37:24 +00:00
Walter van Niftrik
5e68fbfe87 SCI: Moved SCI1 audio map handling into the resource manager.
svn-id: r41408
2009-06-09 19:18:48 +00:00
Sven Hesse
6f49d1576b Added a workaround for Win Lost in Time.
It's got VMD files which are still referenced as IMD

svn-id: r41407
2009-06-09 18:53:35 +00:00
Sven Hesse
5728ff23ca Win Lost in Time is multi-lingual (British, French, Spanish)
svn-id: r41406
2009-06-09 18:53:17 +00:00
Sven Hesse
412628aaa3 Multi-lingual Inca2 version (American, French, German, Italian, Spanish)
svn-id: r41405
2009-06-09 18:52:55 +00:00
Sven Hesse
38c484abb2 Win Gob1 is multi-lingual (British, French, German, Italian, Spanish)
svn-id: r41404
2009-06-09 18:19:11 +00:00
Sven Hesse
5a1e1a167e Win Gob2 is multi-lingual (American, French, German)
svn-id: r41403
2009-06-09 18:18:11 +00:00
Sven Hesse
a077fa4348 Win Gob3 is multi-lingual (British, French, German)
svn-id: r41402
2009-06-09 18:14:49 +00:00
Johannes Schickel
ac46c98fb8 - Moved Screen_v2::copyWsaRect to Screen::copyWsaRect
- Made WSAMovie_v1::displayFrame code match the original
- Changed WSAMovieAmiga::displayFrame to use Screen::copyWsaRect too
- Got rid of '...' parameter usage in all WSA player classes

svn-id: r41398
2009-06-09 11:26:15 +00:00
Travis Howell
4a1029dee4 Remove unused old code.
svn-id: r41395
2009-06-09 06:37:42 +00:00
Travis Howell
741de2812c Correct check for font data table used in The Feeble Files.
svn-id: r41393
2009-06-09 00:00:24 +00:00
Kari Salminen
cfae016200 Convert FWRenderer and OSRenderer to use Cine::Palette.
Also fix some bugs that came up in testing of Cine::Palette.

svn-id: r41386
2009-06-08 20:46:21 +00:00
Johannes Schickel
7f5b28ee83 - Cleanup
- Fix regression in Kyra1 outro

svn-id: r41384
2009-06-08 20:11:07 +00:00
Johannes Schickel
0f116f1c38 Cleanup.
svn-id: r41381
2009-06-08 18:30:28 +00:00
Fabio Battaglia
51d0005af3 sword1: slight cleanup of psx related sound code and comments
svn-id: r41380
2009-06-08 17:54:44 +00:00
Johannes Schickel
aef8d2b04b Fix out of bounds memory access in Screen::drawShape.
svn-id: r41379
2009-06-08 17:47:37 +00:00
Travis Howell
ddf3336bc1 Add more Polish font data for The Feeble Files.
svn-id: r41374
2009-06-08 14:50:34 +00:00
Travis Howell
87db37316c Add Polish font data for The Feeble Files.
svn-id: r41372
2009-06-08 14:21:43 +00:00
Fabio Battaglia
14c85028b1 sword1: add Broken Sword PSX demo support
svn-id: r41369
2009-06-08 12:37:24 +00:00
Walter van Niftrik
f2fe13b064 SCI: Cleanup
svn-id: r41368
2009-06-08 12:20:36 +00:00
Filippos Karapetis
60f5ac3300 Replaced GFXWARN with warning and GFXDEBUG with debugC
svn-id: r41367
2009-06-08 11:42:13 +00:00
Travis Howell
78de280f12 Update details for the Polish version of The Feeble Files.
svn-id: r41365
2009-06-08 08:56:32 +00:00
Filippos Karapetis
95d32180df Moved some more debug commands to ScummVM's console
svn-id: r41364
2009-06-08 08:38:10 +00:00
Johannes Schickel
b85b408838 - Fix Screen_v2::wsaFrameAnimationStep, now the MR album and LoL intro demo WSAs will be correctly played
- Made album page change in MR a bit slower, so it's visible at least

svn-id: r41362
2009-06-08 02:26:33 +00:00
Filippos Karapetis
ed46e223eb Hopefully fixed memory corruption when loading games
svn-id: r41361
2009-06-07 23:29:11 +00:00
Max Horn
22507d70bb SCI: C++ified the song iterator code a little bit more
svn-id: r41360
2009-06-07 23:05:11 +00:00
Max Horn
0dcb1fa84f SCI: Got rid of g_EngineState
svn-id: r41359
2009-06-07 23:04:34 +00:00
Florian Kagerer
77bcc94f80 LOL: minor bug fix
svn-id: r41358
2009-06-07 22:42:21 +00:00
Johannes Schickel
897c0104c9 Remove unneeded functionality from Screen.
svn-id: r41357
2009-06-07 22:41:38 +00:00
Johannes Schickel
5c233c447b Remove LoLEngine::_gameFlags and convert all Lands of Lore code to use _flagsTable instead.
svn-id: r41351
2009-06-07 20:43:43 +00:00
Johannes Schickel
c7861cb65e Avoid warning about missing SFX file in Lands of Lore (it seems the original misses some datafiles for certain effects).
svn-id: r41350
2009-06-07 19:58:00 +00:00
Walter van Niftrik
a6ed05740f SCI: Moved resource36 handling into resource manager.
svn-id: r41349
2009-06-07 19:15:55 +00:00
Florian Kagerer
4dd29a5985 LOL: minor bug fix in battle system
svn-id: r41348
2009-06-07 18:51:03 +00:00
Max Horn
ee21d82948 SCI: Fixed the broken SciEngine::pauseEngineIntern code by ensuring that SciEngine::_gamestate is updated whenever the EngineState gets changed (due to loading a savestate)
svn-id: r41346
2009-06-07 17:18:11 +00:00
Max Horn
21d948ec05 SCI: Simplified SongLibrary code a bit
svn-id: r41345
2009-06-07 17:07:25 +00:00
Max Horn
62f596821e SCI: Objectified Song struct 'a bit'
svn-id: r41344
2009-06-07 17:07:07 +00:00
Max Horn
d07e9dfb13 SCI: Objectified SongLibrary
svn-id: r41343
2009-06-07 17:06:51 +00:00
Max Horn
f2ca788004 SCI: Renamed various song/songlib related structs and members
svn-id: r41342
2009-06-07 17:06:32 +00:00
Filippos Karapetis
3b687a7a04 Replaced KP_ALT, SKPV_OR_ALT and UKPV_OR_ALT
svn-id: r41340
2009-06-07 16:50:34 +00:00
Filippos Karapetis
36cdd09223 Init _opl to 0. This prevents a crash on exit when the Adlib driver is closed, if the game music driver doesn't support music for the currently playing game (e.g. Christmas 1998)
svn-id: r41339
2009-06-07 16:44:57 +00:00
Filippos Karapetis
744323ca33 Replaced/removed KP_UINT, KP_SINT, SKPV and UKPV as well as the VIEW_PRIORITY and PRIORITY_BAND_FIRST wrappers
svn-id: r41338
2009-06-07 15:53:30 +00:00
Florian Kagerer
6d59856fe1 LOL: implemented two more opcodes for castle cimmeria
svn-id: r41336
2009-06-07 13:07:16 +00:00
Max Horn
ed44e68f9d AGI: Fixed typo in game name ;)
svn-id: r41331
2009-06-07 12:37:16 +00:00
Florian Kagerer
09fe7b3152 LOL: implemented some missing monster animation code
svn-id: r41327
2009-06-07 10:34:01 +00:00
Eugene Sandulenko
a881ba9d42 MD5 from bugreport #2797962: "SCI: Laura Bows 2 german, md5"
svn-id: r41326
2009-06-07 10:13:05 +00:00
Eugene Sandulenko
75ef63a363 Added MD5 from Bug #2796782: "SCI: LSL1 Russian MD5"
svn-id: r41325
2009-06-07 10:04:41 +00:00
Walter van Niftrik
e3d3195a43 SCI: Resmgr cleanup and preparations for moving resource36 handling into resmgr.
svn-id: r41318
2009-06-07 02:18:38 +00:00
Sven Hesse
77f114ffcb Dropping the v1 parser functions in favour of the extended v2 ones
svn-id: r41317
2009-06-07 01:45:09 +00:00
Johannes Schickel
b1041bba7f Add support for "WF_NO_LAST_FRAME" in WSA v1 code too. Since so far every v1 WSA file played fine, it might be unneeded, but better safe than sorry.
svn-id: r41316
2009-06-07 00:58:14 +00:00
Johannes Schickel
6cfb706fae Fix WSA v2 code, now the automap remove WSA file in Lands of Lore plays correctly.
svn-id: r41315
2009-06-07 00:51:19 +00:00
Florian Kagerer
4416881c07 LOL: implemented king richard healing sequence
svn-id: r41314
2009-06-07 00:37:30 +00:00
Sven Hesse
f5edbba804 Fascination needs o1_assign. o2_assign breaks the DOS floppy version
svn-id: r41313
2009-06-06 23:40:11 +00:00
Sven Hesse
64a920d52f Renamed the evaluateStore opcodes to assign, because that's what they are
svn-id: r41312
2009-06-06 23:39:58 +00:00
Sven Hesse
f5e25f2152 Setting the game type of the generic demoplayer to Urban so it can make use of the initial palette
svn-id: r41308
2009-06-06 21:54:12 +00:00
Sven Hesse
9f3a628ad5 Fixing the demoplayer's auto double mode and added a REBASE0 option that sets the video's X and Y coordinates to 0,0
svn-id: r41307
2009-06-06 21:45:47 +00:00
Sven Hesse
ebc9e38ed0 Fixing the Woodruff intro: Using a flag that's /not/ already used be the scripts
svn-id: r41306
2009-06-06 21:41:22 +00:00
Max Horn
3d3da173b0 GOB: Turned _spritesArray into a Common::Array (of fixed size) to detect out-of-bounds access to it (since access is controlled by scripts, this could (and does :/) easily happen. Also removed an obsolete swap() method, and fixed one case where _spritesArray was indeed accessed out of bounds
svn-id: r41305
2009-06-06 21:37:30 +00:00
Filippos Karapetis
7375039158 Moved some more debug commands to ScummVM's coneole
svn-id: r41302
2009-06-06 20:29:37 +00:00
Max Horn
0989bb0b90 GOB: Got rid of class ReferenceCounter; changed SurfaceDesc::Ptr to SurfaceDescPtr (a Common::SharedPtr); and changed many SurfaceDesc pointers to references
svn-id: r41299
2009-06-06 20:03:13 +00:00
Johannes Schickel
24a512cab0 Use GameDescriptor::setGUIOptions instead of setting key "guioptions" directly.
svn-id: r41297
2009-06-06 19:47:55 +00:00
Johannes Schickel
efc5fc0c8c - Flag Kyra3 detection entries with GUIO_NOMIDI
- Get rid of using directive

svn-id: r41295
2009-06-06 19:10:25 +00:00
Sven Hesse
2901694486 Demoplayer:
- Fixing the flawed double mode
- Adding an "auto" double mode, where the videos get scaled if possible

svn-id: r41294
2009-06-06 19:06:47 +00:00
Florian Kagerer
b43df63b1c LOL: fix flying item hit processing
svn-id: r41292
2009-06-06 18:46:07 +00:00
Johannes Schickel
f4360dffe3 Flag all games without full voice over with GUIO_NOSPEECH.
svn-id: r41291
2009-06-06 18:41:25 +00:00
Johannes Schickel
41120e2218 Fix printf format argument related warnings.
svn-id: r41289
2009-06-06 18:33:20 +00:00
Eugene Sandulenko
da469d6d24 Shut gcc warning.
svn-id: r41286
2009-06-06 18:23:24 +00:00
Eugene Sandulenko
167874cf1a Added GUI options for newly added games
svn-id: r41285
2009-06-06 18:23:05 +00:00
Eugene Sandulenko
a0fa307fc5 Added CoCo3 version of SQ1
svn-id: r41284
2009-06-06 18:22:43 +00:00
Eugene Sandulenko
79d082f9c2 Added couple of newly discovered fanmade AGI games.
svn-id: r41283
2009-06-06 18:22:18 +00:00
Eugene Sandulenko
cda17beff5 Patch #1365914: "SCUMM: CMS support." Disabled by default. Still plenty to do.
svn-id: r41282
2009-06-06 18:21:49 +00:00
Eugene Sandulenko
80e7822038 Add empty file to cheat git-svn
svn-id: r41280
2009-06-06 18:11:05 +00:00
Filippos Karapetis
e572af84aa Removed unused variable
svn-id: r41279
2009-06-06 18:02:16 +00:00
Eugene Sandulenko
57b17efd78 Add support for GUI options to SCUMM engine
svn-id: r41278
2009-06-06 17:59:54 +00:00
Eugene Sandulenko
c8aa63e553 Disable load from the launcher button for AGOS and Gob games with use of GUI options
svn-id: r41277
2009-06-06 17:59:04 +00:00
Eugene Sandulenko
bbac0f1eea Implement FR#862150: "GUI: Show subtitles/speech options only for speech games"
Add generic per-game GUI options support along the way ;)

svn-id: r41275
2009-06-06 17:58:08 +00:00
Eugene Sandulenko
eb909702af Add GUI options support to Sky, Queen and Sword1&2 engines (which do not use AD)
svn-id: r41274
2009-06-06 17:57:39 +00:00
Eugene Sandulenko
8eb417e15e Fix bug with GUI options not set when per-game setting is empty
svn-id: r41273
2009-06-06 17:56:59 +00:00
Eugene Sandulenko
1bd6f6c99f Added game GUI options to advancedDetector and updated all engines
svn-id: r41272
2009-06-06 17:56:41 +00:00
Eugene Sandulenko
0057d9b9b2 Add guard check to set.key opcode.
svn-id: r41260
2009-06-06 17:48:30 +00:00
Eugene Sandulenko
ea3373708c Correct implementation for set.key opcode. Fixes #2605104: "AGI: Manhunter, F3 hotkey dosent work", removed number of hacks
svn-id: r41259
2009-06-06 17:48:09 +00:00
Eugene Sandulenko
d6a4dbeb1d Implement fence.mouse opcode
svn-id: r41258
2009-06-06 17:47:29 +00:00
Eugene Sandulenko
8792628a46 Implement hide.mouse and show.mouse opcodes
svn-id: r41257
2009-06-06 17:46:55 +00:00
Eugene Sandulenko
9ff714a2db Implement allow.menu opcode
svn-id: r41256
2009-06-06 17:46:38 +00:00
Eugene Sandulenko
c393144b19 Implement hold.key and release.key opcodes
svn-id: r41255
2009-06-06 17:46:19 +00:00
Eugene Sandulenko
1a321a2064 Cleanup
svn-id: r41254
2009-06-06 17:45:52 +00:00
Eugene Sandulenko
2113060c43 Implement cancel.line. Consider obj.status.f implemented
svn-id: r41253
2009-06-06 17:45:06 +00:00
Eugene Sandulenko
72d25455e0 Implement scummvm.ini flag features for AGI engine
svn-id: r41252
2009-06-06 17:44:46 +00:00
Eugene Sandulenko
45764de138 Cleanup
svn-id: r41251
2009-06-06 17:44:24 +00:00
Eugene Sandulenko
2eb7e914e8 Fix bug #2026605: "SQ2: Have to wait after dying to do anything."
svn-id: r41250
2009-06-06 17:43:51 +00:00
Eugene Sandulenko
ed797c0709 Implement debug commands "room" and "bt"
svn-id: r41249
2009-06-06 17:43:26 +00:00
Eugene Sandulenko
531b96bbbe Remove duplicated amiga busy cursor
svn-id: r41248
2009-06-06 17:43:04 +00:00
Eugene Sandulenko
c5f41b29fa Stop abusing game flag.
svn-id: r41247
2009-06-06 17:42:37 +00:00
Eugene Sandulenko
5a07ba9c57 Disable save/load when original did not allow
svn-id: r41246
2009-06-06 17:42:12 +00:00
Eugene Sandulenko
b26ae991f8 Store and compare MD5s in the saves
svn-id: r41245
2009-06-06 17:41:50 +00:00
Eugene Sandulenko
a5d762c029 Fix bug #1745954: "GR: Intro "jumpy" in parts (Amiga version)"
svn-id: r41244
2009-06-06 17:41:29 +00:00
Eugene Sandulenko
26d8b2bb72 Fix bug #2721940: "AGI: Gold Rush! Restart Option differs from original"
svn-id: r41243
2009-06-06 17:40:56 +00:00
Eugene Sandulenko
3ba873c72b Fix bug #2026570: "SQ2: Prompt disappears when it shouldn't"
svn-id: r41242
2009-06-06 17:40:27 +00:00
Eugene Sandulenko
a7049e5b3d Fix implementation of prevent.input. This fixes SQ2 intro
svn-id: r41241
2009-06-06 17:40:09 +00:00
Eugene Sandulenko
194ab100c7 Fix bug #2434187: "SQ2: message not displayed, or vanishes too quickly"
svn-id: r41240
2009-06-06 17:39:42 +00:00
Eugene Sandulenko
93d62da652 Whitespace fixes and C++ comments
svn-id: r41239
2009-06-06 17:39:13 +00:00
Eugene Sandulenko
c585366ce9 Decrease number of free memory pages to realistic value
svn-id: r41238
2009-06-06 17:37:51 +00:00
Eugene Sandulenko
c295f524b2 Implement feature request #1180217: "GUI: Mute option"
svn-id: r41233
2009-06-06 17:36:06 +00:00
Johannes Schickel
22ab4cc4c4 Fix unused variable warnings.
svn-id: r41231
2009-06-06 17:10:15 +00:00
Sven Hesse
ba134a5158 Adding a general coktelplayer.scn demo file
svn-id: r41229
2009-06-06 16:48:29 +00:00
Sven Hesse
1894173852 Adding a pause mode
svn-id: r41228
2009-06-06 16:47:21 +00:00
Filippos Karapetis
e572811aed Moved some more debug commands to ScummVM's coneole
svn-id: r41227
2009-06-06 16:43:13 +00:00
Florian Kagerer
4ee29a020d LOL: fix last commit
svn-id: r41225
2009-06-06 15:32:42 +00:00
Florian Kagerer
2af195482f LOL: fixed level temp data size
svn-id: r41224
2009-06-06 14:42:03 +00:00
Florian Kagerer
ad1b53472b LOL: fixed vaelan's cube
svn-id: r41223
2009-06-06 14:14:07 +00:00
Walter van Niftrik
bc6d19aa1a SCI: Fix audio regression in KQ5CD, introduced in r41205.
svn-id: r41222
2009-06-06 12:30:13 +00:00
Florian Kagerer
94e9762870 KYRA/LOL: fix input code for japanese game versions
svn-id: r41221
2009-06-06 12:18:39 +00:00
Willem Jan Palenstijn
60e02ad6a8 Store long-term pointers to object variables in a new ObjVarRef struct.
Storing them as reg_t* could cause the pointers to become invalid
when they pointed into CloneTable since CloneTable can be re-allocated.

svn-id: r41220
2009-06-06 11:38:20 +00:00