66 Commits

Author SHA1 Message Date
Johannes Schickel
8fc7d60feb SCI: Make GPL headers consistent in themselves. 2014-02-18 02:39:37 +01:00
Filippos Karapetis
7d6d8c2475 SCI: Extended the detection of certain selectors to work in SCI2
This is needed for some demos that do not supply a selector vocabulary
(i.e. vocab 997)
2011-10-13 14:03:58 +03:00
Filippos Karapetis
189357dc9b SCI: Added some extra static selectors
These aren't needed by the engine, but make debugging easier in games that
have no selector vocabulary
2011-10-07 02:52:28 +03:00
Max Horn
88913c0139 ALL: Remove trailing whitespaces
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
  git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
md5
0bc9db7872 SCI: Added automatic detection for several selectors
This ensures that these selectors will be detected regardless of the game
ID, when they're missing
2011-03-12 18:33:32 +02:00
md5
72f65b3946 SCI: Renamed SCI_VERSION_1_EGA to SCI_VERSION_1_EGA_ONLY
This renaming allows us to better distinguish that this version is for games
that only had an EGA version, and avoid confusion with newer SCI1 game releases
with EGA graphics (e.g. KQ5 EGA). The only game with this SCI version is QFG2,
a SCI1 EGA game with a parser. Also, added some games for each SCI version.
2011-02-27 16:48:53 +02:00
Filippos Karapetis
c3cb4c92a8 SCI: Placed some selectors added in SCI1.1 in a separate table
svn-id: r54458
2010-11-24 14:38:08 +00:00
Filippos Karapetis
88e7bb4995 SCI: Removed some unnamed selector access in the workarounds. Fixes the regression
in the demo of EcoQuest, when opening a window

svn-id: r52757
2010-09-17 12:37:59 +00:00
Filippos Karapetis
9313e169fd SCI: Enabled the static selector remap code for SCI2+. The Torin demo works again
svn-id: r52647
2010-09-09 07:42:25 +00:00
Filippos Karapetis
397f883698 SCI: Fixed an off-by one access error in the static selectors of some games
svn-id: r52586
2010-09-06 11:30:26 +00:00
Filippos Karapetis
913f39da19 SCI: Some cleanup of the static selector code
- Added more static selectors, for debugging
- Added some needed selectors for the non-interactive demo of Pepper

svn-id: r52541
2010-09-05 10:59:44 +00:00
Martin Kiewitz
87b78b1673 SCI: kClone/kDisposeClone behaviour more accurate
now also checking -info- selector, if object is supposed to get freed. Fixes kq4 early hanging (in intro, when opening door, etc.)

svn-id: r52508
2010-09-03 18:14:59 +00:00
Filippos Karapetis
7e6141dcfa SCI: Added automatic detection of some static selectors
which keep changing location in each game

svn-id: r52466
2010-08-31 10:12:35 +00:00
Filippos Karapetis
ff9b897d8c SCI: Define xLast/yLast for LB2 floppy (which has no selector
vocabulary), since they're used inside kDoBresen()

svn-id: r52343
2010-08-24 14:54:16 +00:00
Filippos Karapetis
c4d58a8d88 SCI added the "init" selector to the list of static selectors of LB2 floppy (which has no selector vocabulary), so that the workarounds of the CD version match with the ones from the floppy version
svn-id: r52253
2010-08-21 11:03:09 +00:00
Matthew Hoops
b02a326b89 SCI: Add another LB2 floppy selector name for an uninit'd workaround (bug #3036291)
svn-id: r51565
2010-08-01 04:40:46 +00:00
Johannes Schickel
cc575359df SCI: Whitespace cleanup.
svn-id: r51532
2010-07-31 02:11:05 +00:00
Matthew Hoops
515cc3c369 SCI: Set the LB2 floppy open selector so we don't have to have duplicate workaround entries
svn-id: r51429
2010-07-28 17:45:19 +00:00
Filippos Karapetis
3c8a606e71 SCI: Added bug report numbers for all the recently fixed bugs
svn-id: r51407
2010-07-28 07:51:49 +00:00
Matthew Hoops
03fe34df73 SCI: Fix bug #3035033 - ISLANDBRAIN demo: Crash
The demo needs the "init" selector so that the workaround for the full game will also work in the demo.

svn-id: r51343
2010-07-27 02:46:06 +00:00
Max Horn
6ee82a2027 SCI: Introduce SciGameId enum
svn-id: r50273
2010-06-25 16:16:29 +00:00
Max Horn
1e9977a725 SCI: Restrict some 'error' exceptions to the places they occur; cleanup
svn-id: r50271
2010-06-25 16:11:00 +00:00
Filippos Karapetis
db6c7a3dee Removed a hack with SCI1.1 static selectors, and set them properly. This fixes scaling in the demo of QFG3
svn-id: r50182
2010-06-23 15:08:23 +00:00
Martin Kiewitz
eeba2812c1 SCI: adding some more global scaling code, adding vanishingY and vanishingX as selectors
svn-id: r50180
2010-06-23 13:42:09 +00:00
Martin Kiewitz
3bc011357b SCI: some initial work on global scaling
svn-id: r50179
2010-06-23 12:58:14 +00:00
Filippos Karapetis
9d5d9e13ae Fixed the demo of Hoyle 4 by adding two selectors it needs "syncTime" and "syncCue". Usually, games that need them are CD talkie versions which have a selector vocabulary, but Hoyle 4 is an exception
svn-id: r50122
2010-06-21 21:25:13 +00:00
Max Horn
cac0ac66e2 COMMON: Get rid of Common::StringList
svn-id: r48287
2010-03-18 15:54:40 +00:00
Matthew Hoops
7b34392aad Only compile in the SCI32 static selectors when ENABLE_SCI32 is set; minor cleanup.
svn-id: r47797
2010-02-01 16:42:10 +00:00
Filippos Karapetis
b374478cd0 Added static selectors for SCI2-SCI2.1 games (fixes the demo of Torin's Passage)
svn-id: r47669
2010-01-29 14:57:18 +00:00
Filippos Karapetis
3f4ef3aff8 Removed a hack for the demo version of Torin's passage. It errors out because the static selector vocabulary for SCI2+ games isn't implemented yet
svn-id: r47640
2010-01-28 10:34:11 +00:00
Filippos Karapetis
33780aa3a5 Fixed the demos of LSL1 and LSL5
svn-id: r47625
2010-01-28 02:16:20 +00:00
Johannes Schickel
aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Martin Kiewitz
0dddf869fb SCI: changed scalesignal to scaleSignal - selector works now :)
svn-id: r47312
2010-01-15 21:26:02 +00:00
Martin Kiewitz
0338198876 SCI: adding scalesignal selector
svn-id: r47306
2010-01-15 13:33:26 +00:00
Filippos Karapetis
c0aad0508c Renamed SCI_VERSION_AUTODETECT to SCI_VERSION_NONE to signify its actual purpose
svn-id: r46959
2010-01-03 22:50:39 +00:00
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