Commit graph

21 commits

Author SHA1 Message Date
Filippos Karapetis
0f995c02f3 Fixed a bug in the graphics function detection code, and corrected the location of the static "overlay" selector in SCI0 games. Fixes the demo of lsl3
svn-id: r45010
2009-10-13 09:33:57 +00:00
Filippos Karapetis
bcade54247 Started rewriting the check for the graphics functions type (still not finished)
svn-id: r44787
2009-10-08 14:37:55 +00:00
Filippos Karapetis
033b587bd2 Added topString to the list of static selectors, for commit #44429
svn-id: r44443
2009-09-28 09:09:15 +00:00
Filippos Karapetis
13ad217cdd - Moved the SCI version in a global variable
- Changed all the SCI version checks to use getSciVersion()
- Also made getSciVersionDesc a global function (removes some ugly accessing of the SCI engine)

The fallback detector should work correctly now

svn-id: r44269
2009-09-23 10:55:35 +00:00
Max Horn
23c64c1fd6 SCI: Simplify code in Kernel::checkStaticSelectorNames a bit (don't treat nodePtr & cantBeHere special)
svn-id: r44154
2009-09-17 13:22:15 +00:00
Filippos Karapetis
3d0e8a568c Fixed incorrect usage of ARRAYSIZE (thanks fingolfin)
svn-id: r43886
2009-09-01 14:55:28 +00:00
Filippos Karapetis
fed9e3e2df Cleanup
svn-id: r43869
2009-08-31 21:50:14 +00:00
Filippos Karapetis
fa9ce61a5d Cleanup
svn-id: r43866
2009-08-31 21:41:25 +00:00
Filippos Karapetis
a6f457b45d Rewrote the static selector mapper to use SCI versions instead of game IDs, and split the selectors in SCI generations
svn-id: r43863
2009-08-31 20:45:46 +00:00
Filippos Karapetis
2c9c1119af - Removed the now-unused "setTarget" selector
- Added the "setCursor" selector
- Replaced the selector table of the LSL5 demo with the one from the LSL1 demo (we no longer get a warning about an invalid selector)
- Changed the selector table of the xmas1992 demo to use the table from KQ6 floppy
- Set Laura Bow 2 floppy to use the KQ6 floppy table

svn-id: r43859
2009-08-31 20:21:52 +00:00
Filippos Karapetis
138414b836 Fixed a regression in the sound of the demos of LSL3 and LSL5
svn-id: r43825
2009-08-30 15:08:27 +00:00
Walter van Niftrik
3e543d2518 SCI: Add lofs detection.
svn-id: r43824
2009-08-30 14:53:58 +00:00
Johannes Schickel
174311e325 Use Common::String::clear instead of assigning "".
svn-id: r43787
2009-08-29 06:04:21 +00:00
Johannes Schickel
2bddb68289 - Added static and const to static data.
- Slight formatting fixes.

svn-id: r43786
2009-08-29 06:03:56 +00:00
Filippos Karapetis
2874593dec The first part of the selector table (the first 83 entries) is almost the same in all SCI versions (up to and including the "z" selector), therefore the hardcoded selector tables can be simplified a lot
svn-id: r43780
2009-08-28 14:33:26 +00:00
Filippos Karapetis
c8b4fbe9c3 Removed the unused selectors (edgeHit, semanticFail and baseSetter)
svn-id: r43776
2009-08-28 00:20:27 +00:00
Filippos Karapetis
60af2db2fd - Added more mappings from Sierra's internal IDs to our own ones. Hopefully, all SCI0-SCI11 games can now be detected correctly from the fallback detector
- Simplified some checks for old script types

svn-id: r43678
2009-08-23 21:57:30 +00:00
Matthew Hoops
83835ce93c Add a static selector table for use with the lsl5 demo.
svn-id: r43566
2009-08-20 18:25:55 +00:00
Matthew Hoops
0a6161233b Remove useless include guard
svn-id: r43564
2009-08-20 17:12:46 +00:00
Travis Howell
9594beb39f Only error out, if checkStaticSelectorNames() fails.
svn-id: r42376
2009-07-11 07:03:28 +00:00
Filippos Karapetis
0b47fa50ae Applied a slightly modified patch from clone2727 which adds static selector names to some demos which are missing them (KQ4, LSL1, LSL3, Iceman and Christmas1992)
svn-id: r42372
2009-07-11 06:33:19 +00:00