Paweł Kołodziejski
61231c2a36
formating
...
svn-id: r38604
2009-02-20 17:05:47 +00:00
Paweł Kołodziejski
ac4fe7a4bc
formating
...
svn-id: r38603
2009-02-20 16:59:05 +00:00
Filippos Karapetis
2f4fc293e7
Used parentheses to indicate operator precedence (I hope I got them right)
...
svn-id: r38602
2009-02-20 16:34:21 +00:00
Paweł Kołodziejski
75f9d5457a
formating
...
svn-id: r38601
2009-02-20 16:30:22 +00:00
Paweł Kołodziejski
f4719cf79c
formating
...
svn-id: r38600
2009-02-20 16:22:09 +00:00
Paweł Kołodziejski
823d924064
fixed compilation
...
svn-id: r38599
2009-02-20 16:19:29 +00:00
Paweł Kołodziejski
5066e2c4be
formating
...
svn-id: r38598
2009-02-20 16:18:08 +00:00
Max Horn
bc360ee525
SCI: Started rewriting file handling. Warning: This will likely introduce
...
regressions, but we just have to start somewhere.
- factored out some common code in engine/kfile.cpp into a separate func
- replaced many uses of chdir, getcwd, sci_init_dir etc. by equivalent
or better functionality from SearchMan etc.
- replaced many uses of sci_open and sci_fopen by using Common::File
and Common::Stream
- C++ified some stuff
- simplified ResourceSource a bit (loosing some unused functionality)
svn-id: r38597
2009-02-20 16:03:50 +00:00
Max Horn
e736b7fa62
SCI: Renamed some ResourceManager members, cleanup
...
svn-id: r38596
2009-02-20 15:55:59 +00:00
Max Horn
617c63c1ed
SCI: Removed unused allow_patches param/member
...
svn-id: r38595
2009-02-20 15:47:37 +00:00
Max Horn
7422e98f8f
SCI: Added TODO suggestion to change the vm opcode switch/case to an opcode table with methods for each opcode (helps to separate code and deal with changed opcode numbering in other SCI versions)
...
svn-id: r38594
2009-02-20 15:44:22 +00:00
Max Horn
f78f2aeafc
SCI: Renamed resource_source_t -> ResourceSource; some cleanup
...
svn-id: r38593
2009-02-20 15:41:58 +00:00
Max Horn
a2aba2f18e
SCI: Renamed resource_mgr_t -> ResourceManager; added remark to 'the other resource manager' that it should be renamed to GraphicsManager or so
...
svn-id: r38592
2009-02-20 15:24:22 +00:00
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