Commit Graph
86814 Commits
Author SHA1 Message Date
Johannes Schickel 0e9156c7c4 Add a (currently) failing test for reference logic in Common::String. (Taken from an example by fuzzie)
svn-id: r49322
2010-05-30 13:10:23 +00:00
Johannes Schickel d0c79d21e9 Fix file length of zip file members inside ZipArchive (thanks to fuzzie for reporting).
svn-id: r49321
2010-05-30 12:44:59 +00:00
Lars Skovlund dbe561c59b Clarify reasoning behind hack in Script::scriptRelocate()
svn-id: r49320
2010-05-30 10:27:39 +00:00
Yotam Barnoy 6884ffc291 PSP: added preliminary support for using ME hardware to play MP3 files. If the decoder fails to load, MAD is used instead. Disable with DISABLE_PSP_MP3.
svn-id: r49319
2010-05-30 09:47:00 +00:00
Filippos Karapetis 5f2ff0b1e7 Limit access to the _classTable array (now it's directly accessible only inside saveLoadWithSerializer()
svn-id: r49318
2010-05-29 23:56:37 +00:00
Filippos Karapetis 67de5b1bd3 Mass renaming of selector-related functions, and removed some defines which were just cloaking functions with a different name
- GET_SEL32 -> readSelector
- GET_SEL32V -> readSelectorValue
- PUT_SEL32 -> writeSelector
- PUT_SEL32V -> writeSelectorValue
Also, changed some selector-related function names and variables to CamelCase

svn-id: r49317
2010-05-29 23:37:15 +00:00
Max Horn 4ecacdad16 SCI: Merge Script::relocateBlock and Object::relocate
The shared code now resides in a new static function named
relocateBlock, which is invoked by the two methods.

svn-id: r49316
2010-05-29 23:09:00 +00:00
Max Horn 42d6ed880b SCI: Make Script::_exportTable const (yay :-)
svn-id: r49315
2010-05-29 21:42:42 +00:00
Neil Millstone 5143e7fff4 Fix typo(?) which prevents streaming code from compiling.
svn-id: r49314
2010-05-29 20:32:25 +00:00
Neil Millstone 989c1fdddd DS: Various fixes to allow the DS port to compile on DevkitARM r30 and libnds 1.4.3.
svn-id: r49313
2010-05-29 20:30:54 +00:00
Filippos Karapetis d3bcb10861 Cleanup
svn-id: r49312
2010-05-29 15:47:28 +00:00
Filippos Karapetis a6156a6805 Removed the scriptRelocateExportsSci11() hack. The open spell in QFG1VGA works now (thanks to waltervn for all his help on this)
svn-id: r49311
2010-05-29 15:29:27 +00:00
Filippos Karapetis 3d09af0377 Removed the hack inside findGameObject(), and replaced it with code from the segment manager, till we find out why the segment is sometimes off by 1 (note that findGameObject() works fine for finding the game ID itself)
svn-id: r49310
2010-05-29 15:27:27 +00:00
Filippos Karapetis 708b37898c Fixed regression in SCI2-SCI21 games from commit 49308
svn-id: r49309
2010-05-29 15:01:33 +00:00
Filippos Karapetis 6f056c6c98 Added a method to the resource manager, to limit the places where script exports are accessed, since for SCI11 and newer exports can be functions and objects (first step in removing scriptRelocateExportsSci11(), which is a gross hack and it fails in QFG1VGA)
svn-id: r49308
2010-05-29 14:03:08 +00:00
Torbjörn Andersson 928eafcccf Fixed potential memory leak found by cppcheck. Though I'm guessing that if this
case happens, we may have bigger problems...

svn-id: r49307
2010-05-29 08:14:50 +00:00
Torbjörn Andersson 1c32db1e08 Removed some unused variables, found by cppcheck.
svn-id: r49306
2010-05-29 08:09:47 +00:00
Alejandro Marzini 16c559a095 Added again base-backend. Started sdl backend refatoring, file, mutex and timer subsystems created.
svn-id: r49305
2010-05-29 01:56:34 +00:00
Filippos Karapetis 5d21ff280a Silenced some superfluous warnings in KQ5CD
svn-id: r49294
2010-05-28 16:47:30 +00:00
Filippos Karapetis 5b12fda059 Added some more info when severe script errors occur
svn-id: r49293
2010-05-28 12:37:54 +00:00
Filippos Karapetis b2e4e4b340 Cleaned up detectGfxFunctionsType() slightly, and made it work for Hoyle 1 and 2 properly.
svn-id: r49292
2010-05-28 12:36:47 +00:00
Filippos Karapetis d9c0abe0b8 Cleanup
svn-id: r49290
2010-05-28 10:53:03 +00:00
Filippos Karapetis e694b66e4f Added comments to kMergePoly()
svn-id: r49289
2010-05-28 10:52:22 +00:00
Filippos Karapetis 967d9ea308 Added a stub for kMergePoly, to avoid crashing in QFG1VGA after killing a monster
svn-id: r49288
2010-05-28 10:45:20 +00:00
Paul Gilbert bea6ef4beb Clarified variable usage for sequence list entry indexes
svn-id: r49287
2010-05-28 10:20:02 +00:00
Paul Gilbert 145eacd491 Implemented needed methods for scrolling surfaces horizontally or vertically
svn-id: r49286
2010-05-28 10:17:16 +00:00
Martin Kiewitz dad3ad86ea SCI: read out vol selector on initSound/playSound for sci1early (soundversion) as well - fixes lsl1demo
svn-id: r49285
2010-05-28 09:29:05 +00:00
Alejandro Marzini 6b3d268e23 Created base virtual classes for backends subsystems.
Removed base-backend, it won't be needed anymore.

svn-id: r49284
2010-05-28 05:03:32 +00:00
Tony Puccinelli f307436240 added svn keywords 'Id' and 'URL' to new files
svn-id: r49283
2010-05-28 00:57:54 +00:00
Tony Puccinelli df2ee91e45 added svn keywords 'Id' and 'URL' to new files
svn-id: r49282
2010-05-28 00:53:18 +00:00
Tony Puccinelli 2532c92fe1 typo fix
svn-id: r49281
2010-05-28 00:27:37 +00:00
Tony Puccinelli 19f0b41f87 was using the modified linker for the psp for plugins.ld. Now it's a modified version of the default linker for the ps2 compiler
svn-id: r49280
2010-05-28 00:21:35 +00:00
Matthew Hoops b0366e65e5 Cleanup AVI a bit, add support for stereo audio
svn-id: r49279
2010-05-27 23:57:44 +00:00
Tony Puccinelli 7682a5f815 was using the default linker for the psp. Now a modified version of the default linker for the ps2 compiler
svn-id: r49278
2010-05-27 23:47:31 +00:00
Martin Kiewitz 7029b059bf SCI: disabling music fading again, but only for sci32 - drivers seem to have issues when fading in on gk1/sierra logo
svn-id: r49271
2010-05-27 21:20:07 +00:00
Max Horn bbaf98127d correct typo
svn-id: r49270
2010-05-27 20:59:15 +00:00
Martin Kiewitz d2513c9cc2 SCI: enabling fading again, issues in pharkas and gk1demo are actually "normal" - maybe we should add some hack workaround, but the delay in ssci was just slow resource loading
svn-id: r49269
2010-05-27 20:53:37 +00:00
Max Horn 4ba291d4b1 GUI: Fix about dialog regression from my previous commit
svn-id: r49268
2010-05-27 20:29:39 +00:00
Max Horn b99d65e561 Fix for bug #3007656: "GMM: Crash in 320x200"
svn-id: r49267
2010-05-27 19:34:41 +00:00
Max Horn a03b5a3434 GUI: Reduce code duplication in about dialog
svn-id: r49266
2010-05-27 19:34:12 +00:00
Matthew Hoops a32b7b3851 Fix starting GK1.
svn-id: r49265
2010-05-27 17:47:32 +00:00
Martin Kiewitz 845c34ee45 SCI: removing tab from vo output (debug console)
svn-id: r49264
2010-05-27 17:43:06 +00:00
Martin Kiewitz 453d13dc2d SCI: fixing -propDict- selector on instances to contain -propDict- of the corresponding class - fixes sq4cd/room 381 talk-clicking on robot - thx to waltervn & wjp
svn-id: r49263
2010-05-27 17:41:20 +00:00
Filippos Karapetis 5f5dcbad47 Added an explanation for audio36 and sync36 external patches
svn-id: r49262
2010-05-27 12:00:20 +00:00
Martin Kiewitz cfed70df07 SCI: fixing resuming samples - fixes hang when ship is flying away happening when you entered menu during that sequence
svn-id: r49261
2010-05-27 11:26:37 +00:00
Filippos Karapetis e5eaf3ee55 Split all of the audio-related functions of the resource manager in a separate file
svn-id: r49260
2010-05-27 08:09:32 +00:00
Filippos Karapetis 739f551852 Slight formatting, and added a note that audio36 and sync36 resource patches were introduced in SCI2, and didn't exist in SCI0-SCI1.1
svn-id: r49259
2010-05-27 07:50:23 +00:00
Yotam Barnoy 5f53683cab PSP: fixed a screen shake bug
svn-id: r49258
2010-05-27 06:21:37 +00:00
Yotam Barnoy f7ba7b4684 PSP: fixed issue with handling of EOS. Caused crashes.
svn-id: r49257
2010-05-27 06:11:50 +00:00
Tony Puccinelli 0fdfd5d47b added files for ps2 loadable modules (mainly transplanted from psp code with VERY minor tweaks)
svn-id: r49256
2010-05-27 05:03:09 +00:00