Filippos Karapetis
57c87745e1
Removed the syncTime and syncCue selectors from the list of static selectors, along with their relevant FIXMEs. These selectors are used for lip syncing in CD talkie games, which always got a selector vocabulary, so we don't need to hardcode them. Did some further simplification/rewrite of the static selector tables
...
svn-id: r46019
2009-11-20 20:30:31 +00:00
Filippos Karapetis
85b44876ea
Added a FIXME for the syncTime and syncCue selectors, for games which don't have a default selector dictionary
...
svn-id: r46013
2009-11-20 16:48:51 +00:00
Filippos Karapetis
cf1d7f9259
- Removed the non-static selectors "overlay" and "setCursor" from the list of static selectors and introduced a new method for discovering the relevant features when selectors are missing - currently used for determining the graphics functions and setCursor types
...
- Simplified setCursor detection a bit
svn-id: r46012
2009-11-20 16:39:31 +00:00
Filippos Karapetis
22c09f521a
Removed more unused selectors - the canBeHere selector is replaced by cantBeHere in SCI1+
...
svn-id: r46011
2009-11-20 15:31:08 +00:00
Filippos Karapetis
1ea30ca176
Removed more unused selectors
...
svn-id: r46010
2009-11-20 15:17:14 +00:00
Filippos Karapetis
551ca5f2c0
Changed the lofs detection to iterate through all the methods of the Game object again, instead of a specific selector - fixes Jones
...
svn-id: r46006
2009-11-20 14:17:47 +00:00
Filippos Karapetis
e7820f972d
Selector cleanup: rearranged all selectors to be in the same order as in Sierra's dictionary files, and removed several unused selectors
...
svn-id: r46005
2009-11-20 13:29:42 +00:00
Filippos Karapetis
893a8bb808
Some corrections for the lofs autodetection - SQ4 floppy works again
...
svn-id: r46002
2009-11-20 10:29:42 +00:00
Filippos Karapetis
effdfcd4b8
Added references to the scaleX and scaleY selectors, used for SCI1.1 view scaling
...
svn-id: r45659
2009-11-04 12:16:08 +00:00
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