Filippos Karapetis
565cfa074d
Simplified SCI versions to be SCI version generations, and fixed some game entries in the process. Also, added a sanity check for invalid game entries
...
svn-id: r40596
2009-05-15 09:04:21 +00:00
Filippos Karapetis
f75c950457
- Replaced SCI_VERSION_FTU_LOFS_ABSOLUTE with the GF_SCI1_LOFSABSOLUTE game flag
...
- Moved the version defines outside of versions.h
svn-id: r40559
2009-05-14 12:38:50 +00:00
Filippos Karapetis
e940bcff23
- Simplified SCI version detection a bit and clarified the different version feature flags (not used yet)
...
- Removed the version verification functions (they were only used for two specific cases, but the SCI executable reader is able to detect the exact SCI game version anyway, so there is no point in having these)
- Removed the empty GameFlags structure and replaced it with a 32-bit integer instead
svn-id: r40524
2009-05-13 16:52:41 +00:00
Max Horn
170916201c
SCI: Moved almost all files from include/ to other dirs; only include/engine.h remains
...
svn-id: r38920
2009-02-27 02:23:00 +00:00
Matthew Hoops
85fe96b72d
Add remapping of Amiga version strings and re-enable detection of kq5 amiga.
...
svn-id: r38774
2009-02-22 01:11:06 +00:00
Paweł Kołodziejski
03769a6d56
formating
...
svn-id: r38700
2009-02-21 15:30:47 +00:00
Max Horn
c8ea2dce5f
SCI: Fixed more warnings
...
svn-id: r38656
2009-02-21 03:32:13 +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
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
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
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
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
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