Commit Graph

35407 Commits

Author SHA1 Message Date
Robert Špalek
0ee8f879fa Fix positioning of one-time hero animations.
With the previous code, the position of the animation was doubled (due to
counting the position twice, the second time being a relative shift), which
put it mostly outside the screen.  This is because one-time hero animations
are actually stored using absolute coordinates.

svn-id: r46057
2009-11-22 05:10:31 +00:00
Robert Špalek
509444cc91 Fixed Animation::getTopAnimation()
It does not return kTitleText and others.  This caused flickering of speech
texts on/off when the title got displayed under the mouse.

svn-id: r46056
2009-11-22 02:42:15 +00:00
Johannes Schickel
a2b056c288 More cleanup.
svn-id: r46055
2009-11-21 23:44:52 +00:00
Johannes Schickel
ed1c0fcde8 Cleanup.
svn-id: r46054
2009-11-21 23:23:07 +00:00
Johannes Schickel
d167197a52 Cleanup: remove never used support for builtin static data in StaticResource.
svn-id: r46053
2009-11-21 23:06:22 +00:00
Johannes Schickel
77fda6cf93 Cleanup.
svn-id: r46052
2009-11-21 23:05:25 +00:00
Johannes Schickel
ea5bf444d3 Fix mismatching resource type IDs for Lands of Lore in kyra.dat.
svn-id: r46051
2009-11-21 22:15:20 +00:00
Johannes Schickel
849594fb30 Fix Kyrandia 1 FM-Towns credits entries in kyra.dat.
svn-id: r46050
2009-11-21 20:38:39 +00:00
Johannes Schickel
1ade0efbf2 Flag credits data for Kyrandia 1 as language specific data. (Fixes language of credits for Amiga versions.)
svn-id: r46049
2009-11-21 20:30:38 +00:00
Johannes Schickel
1ba750063c Ooops...
svn-id: r46048
2009-11-21 20:26:55 +00:00
Johannes Schickel
bf5ce985a0 - Got rid of hardcoded filename list for kyra.dat
- Synced static resource definitions between KYRA main codebase and create_kyradat
- Rebuilt kyra.dat

svn-id: r46047
2009-11-21 20:20:24 +00:00
Johannes Schickel
e8c67bda4b Change Archive::listMatchingMembers to match the pattern case-insensitively.
svn-id: r46046
2009-11-21 20:19:15 +00:00
Johannes Schickel
aad8e8a2a2 Add comment why pattern is converted to lowercase in FSDirectory::listMatchingMembers.
svn-id: r46045
2009-11-21 20:18:51 +00:00
Robert Špalek
9297e62aed Fixed re-entering the same room using a different gate
svn-id: r46044
2009-11-21 18:18:09 +00:00
Johannes Schickel
33c3106798 Naming consistency.
svn-id: r46043
2009-11-21 17:29:36 +00:00
Johannes Schickel
3837f8ff83 Resolve TODO.
svn-id: r46042
2009-11-21 17:29:06 +00:00
Johannes Schickel
fcf9c4f5a2 Cleanup.
svn-id: r46041
2009-11-21 17:06:07 +00:00
Johannes Schickel
7a8e452f12 Change special palette loading for Kyrandia 1 from kyra.dat to match kyra.dat internals.
svn-id: r46040
2009-11-21 17:05:33 +00:00
Johannes Schickel
53550e50cf Rename "kPaletteList#" to "kSpecialPalette#".
svn-id: r46039
2009-11-21 17:04:52 +00:00
Filippos Karapetis
bada077c26 Removed duplicate code and simplified some feature detection
svn-id: r46038
2009-11-21 15:41:01 +00:00
Johannes Schickel
641d55b125 Speed up extraction by only adding matching providers to search list.
svn-id: r46037
2009-11-21 03:51:18 +00:00
Johannes Schickel
0b8bc495ae Fix various platform/language table entries.
svn-id: r46036
2009-11-21 03:49:55 +00:00
Johannes Schickel
1ede080ed9 Add proper error messages, in case some entries aren't found.
svn-id: r46035
2009-11-21 03:48:53 +00:00
Johannes Schickel
cb1e66f21e Rebuilt kyra.dat.
svn-id: r46034
2009-11-21 03:47:54 +00:00
Johannes Schickel
bde4cbb04d Merge multi language games into one entry.
svn-id: r46033
2009-11-21 03:46:52 +00:00
Johannes Schickel
4fbfe1741c Cleanup.
svn-id: r46032
2009-11-21 03:45:25 +00:00
Filippos Karapetis
fd116847bd Fixed sound detection for Jones CD
svn-id: r46030
2009-11-20 23:37:56 +00:00
Filippos Karapetis
ece0444f9c Changed some comments back to DOxygen (inline) style and removed some more dead code
svn-id: r46029
2009-11-20 22:41:17 +00:00
Filippos Karapetis
10fbefcd60 Simplified the doSound detection a bit
svn-id: r46028
2009-11-20 22:39:57 +00:00
Filippos Karapetis
dac154e76c Removed dead code
svn-id: r46027
2009-11-20 22:38:50 +00:00
Filippos Karapetis
8b4dabea83 Fixed game restarting regression
svn-id: r46026
2009-11-20 21:50:17 +00:00
Johannes Schickel
3ee2d9375c Changed kyra.dat to use a global "INDEX" file instead of INDEX files for every game variant.
svn-id: r46025
2009-11-20 21:25:36 +00:00
Johannes Schickel
bb5d29be80 Fix missing printf arguments.
svn-id: r46024
2009-11-20 21:25:01 +00:00
Johannes Schickel
1074924686 Cleanup.
svn-id: r46023
2009-11-20 21:24:40 +00:00
Johannes Schickel
90ba6a8c7a Flag Kyra3 as talkie version in kyra.dat.
svn-id: r46022
2009-11-20 21:24:15 +00:00
Johannes Schickel
f0aebf479f Readded output whether extraction succeeded or not.
svn-id: r46021
2009-11-20 21:23:39 +00:00
Filippos Karapetis
c5a7208975 Fixed a regression in the LSL1 and LSL5 demos, which should work correctly now. Some cleanup
svn-id: r46020
2009-11-20 20:32:25 +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
Johannes Schickel
16145c431a Cleanup.
svn-id: r46018
2009-11-20 19:48:07 +00:00
Johannes Schickel
685ca0a58d Add a nice message, when none of the input files is used for processing.
svn-id: r46017
2009-11-20 19:40:40 +00:00
Johannes Schickel
cf28e38ae1 Rebuilt kyra.dat.
svn-id: r46016
2009-11-20 19:33:08 +00:00
Johannes Schickel
65075ffe97 Merge two file game entries into one game entry, this allows for better input file validation.
svn-id: r46015
2009-11-20 19:32:15 +00:00
Johannes Schickel
fd31881e60 Some name consistency changes.
svn-id: r46014
2009-11-20 19:31:33 +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
662fc11d67 Check the overridden game object when performing setCursor detection, which properly fixes KQ5CD (thanks waltervn)
svn-id: r46009
2009-11-20 15:16:03 +00:00
Filippos Karapetis
94c8f77faa Added a game-specific workaround for setCursor detection in KQ5CD: the code for the setCursor selector has not been rewritten yet to use cursor views (it's the same as lsl3 and sq3, for example), but the game does use cursor views
svn-id: r46008
2009-11-20 14:51:15 +00:00
Filippos Karapetis
7d3501397d Formatting
svn-id: r46007
2009-11-20 14:47:43 +00:00