8964 Commits

Author SHA1 Message Date
Max Horn
c3ffac5e62 SCI: Removed unused file
svn-id: r38591
2009-02-20 15:20:48 +00:00
Jordi Vilalta Prat
20d0395b69 - Moved SciEngine code to sci.cpp
- Fill the platform on fallback detection
- Report unparseable version strings
- Map known non-numeric version strings to their numeric counterparts
- Fix a crash caused by uninitialized LZEXE data

svn-id: r38589
2009-02-20 14:45:28 +00:00
Filippos Karapetis
7886aedebb Fixed a nasty regression from the script system rewrite (commit #35670), which will cause crashes under certain conditions, and probably makes SAGA games non-completable.
When a script thread is waiting for another thread, the current instruction offset should not be modified. The thread processing function would incorrectly continue in some special cases, and would incorrectly alter the current instruction offset. This becomes apparent in some special cases only, which made it hard to spot - plus, SAGA games have not been tested for 0.13.0, so there weren't any reports for this.

This change SHOULD go to the 0.13.0 branch, but we've already tagged...

svn-id: r38581
2009-02-20 10:49:43 +00:00
Travis Howell
0155a1d0b4 Enable Eco Quest again.
svn-id: r38580
2009-02-20 04:23:18 +00:00
Travis Howell
9e340004ff Update comments.
svn-id: r38579
2009-02-20 04:16:08 +00:00
Travis Howell
3ec4194924 Ooops, remove excess zero.
svn-id: r38577
2009-02-20 04:02:50 +00:00
Travis Howell
77e2cfb138 Add another English DOS version of The Island of Dr. Brain
svn-id: r38576
2009-02-20 04:02:02 +00:00
Travis Howell
422ebda3ba Add change from Quietust, to fix MSVC 7.1 compile.
svn-id: r38574
2009-02-20 03:46:00 +00:00
Travis Howell
2b214ed5bc Avoid conflicting targets for King's Quest 4.
svn-id: r38573
2009-02-20 03:33:58 +00:00
Matthew Hoops
10f9f18b3a Add entries for some SCI demos
svn-id: r38572
2009-02-20 01:48:25 +00:00
Filippos Karapetis
45d3382c9a We only got 1 mixer - removed the unneeded file mixers.cpp
svn-id: r38569
2009-02-20 00:31:22 +00:00
Matthew Hoops
034f63f095 Re-enable some more Amiga entries.
svn-id: r38568
2009-02-20 00:27:27 +00:00
Filippos Karapetis
58854c6acb Updated some versions in the detector
svn-id: r38567
2009-02-20 00:17:56 +00:00
Matthew Hoops
f0aa58da1f - Do not break after finding an executable in SCI fallback detection, as we may not have found the resource files yet.
- Re-enabled codename iceman amiga and fix amiga fallback detection.

svn-id: r38566
2009-02-19 23:01:04 +00:00
Matthew Hoops
cf559f631b Re-enable some entries which I have verified (or Kirben verified in some earlier commits). Also, remove the printf's from the fallback detection code; it would appear when detecting non-SCI games, which is not the intended effect.
svn-id: r38565
2009-02-19 22:02:22 +00:00
Paweł Kołodziejski
65f92d6525 formating
svn-id: r38564
2009-02-19 20:50:55 +00:00
Willem Jan Palenstijn
09c3883612 don't give up scanning files after one potential executable (such as sierra.ico...)
svn-id: r38563
2009-02-19 20:47:06 +00:00
Willem Jan Palenstijn
2595783e9f Function call order in expressions isn't well-defined. Also fix missing shift and moved some comments.
svn-id: r38562
2009-02-19 20:20:14 +00:00
Joost Peters
51f0a3bf7e enable Larry 3 DOS English. The MD5s match and its sciv.exe has 0.000.572
svn-id: r38561
2009-02-19 19:03:41 +00:00
Paweł Kołodziejski
427196cde4 formating
svn-id: r38560
2009-02-19 18:52:00 +00:00
Filippos Karapetis
680684c66f The current list in the detector is not really useful. We need the SCI version used for each variant of every SCI game. Therefore, all the detection entries have been disabled, apart from the few versions which I have and was able to verify the SCI version used. Please, specify the SCI version in disabled entries and re-enable them.
This was done to prevent issues with incorrect game entries in the future, as game entries with incorrect SCI versions won't work correctly

svn-id: r38559
2009-02-19 18:45:09 +00:00
Paweł Kołodziejski
7beba8edc9 formating
svn-id: r38558
2009-02-19 18:40:03 +00:00
Paweł Kołodziejski
c6e9e3d9bc formating
svn-id: r38557
2009-02-19 18:33:43 +00:00
Paweł Kołodziejski
ade3c8f565 formating
svn-id: r38556
2009-02-19 18:11:05 +00:00
Paweł Kołodziejski
4e052e4d1c formating
svn-id: r38555
2009-02-19 18:08:44 +00:00
Paweł Kołodziejski
352802bba6 formating
svn-id: r38554
2009-02-19 18:02:51 +00:00
Filippos Karapetis
6a0ffca914 Used the LZEXE unpacker from the teenagent engine. The SCI version detector now works with LZEXE packed executables too
svn-id: r38553
2009-02-19 17:40:55 +00:00
Joost Peters
6c1b9b6d95 Fix #2614150 - DW2: Repeating SFX that should stop/pause don't
svn-id: r38552
2009-02-19 17:40:13 +00:00
Joost Peters
af7ecbf060 use READ_BE_UINT32() function to read a 32-bit Big Endian value.
svn-id: r38551
2009-02-19 16:17:08 +00:00
Filippos Karapetis
1bbc8cf5e8 Corrected erroneous use of MKID_BE
svn-id: r38550
2009-02-19 14:47:30 +00:00
Filippos Karapetis
9ac6dbf9eb Fixed version checking for unpacked executable files, and updated the SCI version for an entry for PQ2
svn-id: r38549
2009-02-19 14:40:24 +00:00
Sven Hesse
3abc4c8842 MKID_BE() does not work that way. Moreover, it even fails to compile on my 64bit system because of "loss of precision".
svn-id: r38548
2009-02-19 13:54:50 +00:00
Travis Howell
f134763553 Add patch #2611827 - Add English versions of Laura Bow/2.
svn-id: r38547
2009-02-19 13:51:45 +00:00
Travis Howell
b433a18bcf Add patch #2616093 - Add/update Quest for Glory 4 details.
svn-id: r38546
2009-02-19 13:44:10 +00:00
Travis Howell
6fdf95e9b8 Add patch #2615978 - Fix SCI version for Eco Quest.
svn-id: r38545
2009-02-19 13:36:38 +00:00
Filippos Karapetis
6f4a8dedbe Rewrote the EXE reading routines (the LZEXE compression stuff is still not completed, and will be implemented in a follow-up commit)
svn-id: r38543
2009-02-19 12:42:32 +00:00
Paul Gilbert
59db1e85f3 Merged the contents of fontCharacterTable into staticres
svn-id: r38542
2009-02-19 11:08:11 +00:00
Paul Gilbert
b2c0f61817 Initial work on correct engine pausing
svn-id: r38541
2009-02-19 09:58:33 +00:00
Paul Gilbert
935e748e62 In progress work on cleaning up the font system - giving proper variable names, types, and converted memory accesses to endian safe structures
svn-id: r38540
2009-02-19 09:57:39 +00:00
Paul Gilbert
fc6221e781 Moved a set of static arrays into the staticres.cpp file
svn-id: r38539
2009-02-19 09:55:40 +00:00
Paweł Kołodziejski
2f2f262062 formating
svn-id: r38538
2009-02-19 08:44:53 +00:00
Paweł Kołodziejski
8ca98d41a2 formating
svn-id: r38537
2009-02-19 08:43:28 +00:00
Travis Howell
0ac0749810 Fix SCI 1.1 detection.
svn-id: r38535
2009-02-19 04:16:20 +00:00
Travis Howell
3d78df8d63 Update SCI version for Space Quest 4(Amiga).
svn-id: r38534
2009-02-19 04:14:16 +00:00
Travis Howell
bc6f48472a Update SCI version for Leisure Suit Larry 2 (Amiga).
svn-id: r38533
2009-02-19 03:12:04 +00:00
Travis Howell
b595d2815b Update SCI version for Kings Quest 4 (Amiga).
svn-id: r38532
2009-02-19 03:05:35 +00:00
Matthew Hoops
a427d11c27 Fix kq4 start (it was using the wrong version).
svn-id: r38531
2009-02-19 02:26:09 +00:00
Matthew Hoops
ee16e35bb6 - Fix finding versions from exe's
- Fix fallback detection
- Make getVersion() return an int instead of a uint16 which makes the version lose precision and the "major" version can get lost.

svn-id: r38529
2009-02-19 02:04:31 +00:00
Matthew Hoops
5778350053 scan_file returns 1 if there's a failure, not 0; correct version_detect_from_executable to use that properly
svn-id: r38528
2009-02-19 00:59:34 +00:00
Travis Howell
030f8b2e4a The background sounds option, only applies to Simon the Sorcerer 2.
svn-id: r38518
2009-02-19 00:08:35 +00:00