Commit Graph

741 Commits

Author SHA1 Message Date
Filippos Karapetis
faa252391c Merged the SCI1 and SCI11 cel drawing functions
svn-id: r39806
2009-04-03 07:52:17 +00:00
Filippos Karapetis
d2b8eb76e0 Added the English DOS version of Hoyle 2
svn-id: r39805
2009-04-02 23:37:21 +00:00
Filippos Karapetis
6c21af058e Added the German version of KQ7
svn-id: r39804
2009-04-02 22:33:27 +00:00
Filippos Karapetis
342b335ea9 Added the German versions of KQ5 and KQ6, sorted out the different versions of KQ6 and enabled the Spanish version of KQ7
svn-id: r39803
2009-04-02 20:19:10 +00:00
Filippos Karapetis
8ae0ed1706 Applied fingolfin's suggestion to remove the roundf() implementation and make the code in that bit simpler and more readable (since points are always positive)
svn-id: r39802
2009-04-02 19:37:56 +00:00
Filippos Karapetis
44443badc5 Disable some (quite chatty) debug output - the savegme system looks stable enough
svn-id: r39801
2009-04-02 16:54:21 +00:00
Filippos Karapetis
6fe12a0888 pic_port_bounds was only set from command-line parameters it seems, so it's safe to put it together with the rest of the options
svn-id: r39800
2009-04-02 16:38:33 +00:00
Filippos Karapetis
9180f3a9a1 Fixed compilation under MSVC by implementing roundf()
svn-id: r39799
2009-04-02 16:30:42 +00:00
Walter van Niftrik
88ec6f407c SCI: AvoidPath cleanup.
svn-id: r39798
2009-04-02 15:28:34 +00:00
Walter van Niftrik
3dc820796d SCI: Avoidpath cleanup.
svn-id: r39797
2009-04-02 00:04:20 +00:00
Filippos Karapetis
09d5508b01 - Updated the details of 2 versions of Freddy Pharkas and of 2 versions of SQ5 (to distinguish the English from the German versions)
- Enabled the Italian version of KQ5 and added the Polish version of KQ5

svn-id: r39796
2009-04-01 21:48:42 +00:00
Filippos Karapetis
1e8bd16c1e - Wrapped all the code for custom graphics options around a CUSTOM_GRAPHICS_OPTIONS define. Most of these options don't work in 256-color mode, plus there is currently no way to actually set/change them somehow (other than modifying the code)
- Added a FIXME for the abuse of the pic_port_bounds graphics option - it's actually set by the game itself in kSetPort()
- Added some test code for setting palette intensity in KPalette() (currently disabled)

svn-id: r39794
2009-04-01 20:32:45 +00:00
Filippos Karapetis
a518301e66 Enabled 2 versions of Freddy Pharkas, and added the German version of QFG1
svn-id: r39784
2009-03-31 22:48:25 +00:00
Filippos Karapetis
6ef8534e9a Added 2 more versions of GK1 (apparently, all versions of GK1 used the same interpreter) and enabled GK2 (again, only one interpreter version was used for it)
svn-id: r39783
2009-03-31 22:35:21 +00:00
Filippos Karapetis
162e9b15f4 Added 2 versions of Mixed-up Mother Goose and enabled RAMA and Shivers (apparently, there was only one version of them)
svn-id: r39782
2009-03-31 21:57:18 +00:00
Filippos Karapetis
4d64856687 Added 2 versions of QFG4 and updated the information of the German version of SQ5
svn-id: r39781
2009-03-31 21:39:59 +00:00
Filippos Karapetis
feef5d0e22 Added the German version of QFG3. Also, enabled Phantasmagoria 1 and 2, as apparently there was only one version of each one
svn-id: r39780
2009-03-31 21:27:54 +00:00
Filippos Karapetis
64fa2b1ed6 Added Mixed-Up Fairy tales, and corrected information on some versions of SQ4
svn-id: r39779
2009-03-31 21:04:48 +00:00
Filippos Karapetis
adf7b3a2a4 Added another English version of SQ4 floppy and German versions of SQ3, SQ4 and SQ6
svn-id: r39778
2009-03-31 20:57:13 +00:00
Filippos Karapetis
71d9eafd02 Added the German versions of PQ3 and PQ4
svn-id: r39777
2009-03-31 20:35:14 +00:00
Filippos Karapetis
2fafa720d2 Fixed a typo in the German version of Eco Quest 1 and enabled the German versions of Laura Bow 2 and Larry 3 which had incomplete info
svn-id: r39776
2009-03-31 20:25:47 +00:00
Filippos Karapetis
7e3af1e0e4 Added the German version of EcoQuest 1, and enabled a version of EcoQuest 2 which had incomplete details
svn-id: r39775
2009-03-31 20:11:56 +00:00
Filippos Karapetis
66de3bb905 Got rid of the gfx_res_mod_t struct
svn-id: r39771
2009-03-31 07:48:44 +00:00
Filippos Karapetis
6b499ebf4b Initialize _staticPalette when creating the graphics resource manager. This allows KQ6 to start (and then sit idly doing nothing in the main menu :) )
svn-id: r39769
2009-03-30 21:52:46 +00:00
Filippos Karapetis
936482f03c This should really fix the issues with vobab.999/999.voc in SCI1 games (e.g. KQ5)
svn-id: r39768
2009-03-30 21:41:29 +00:00
Filippos Karapetis
5f0083e996 Ignore the unreliable resource vocab.999 in SCI1 games. This allows us to use the hardcoded table in vocabulary_get_knames1() instead (also check commit #39694). KQ5 floppy works now without FreeSCI's custom vocabulary file
svn-id: r39766
2009-03-30 20:51:09 +00:00
Filippos Karapetis
f7748cfefc Disabled some unused code
svn-id: r39765
2009-03-30 14:06:07 +00:00
Filippos Karapetis
252dc30293 Added another version of Quest for Glory, from bug report #2718784
svn-id: r39758
2009-03-30 11:35:12 +00:00
Filippos Karapetis
37ddffc1d2 Added another version of Hoyle 1, from bug report #2719227
svn-id: r39756
2009-03-30 09:02:03 +00:00
Filippos Karapetis
627c3d8f89 Verified the SCI version of a version of Laura Bow 1 - The Colonel's Bequest, from bug report #2720682
svn-id: r39755
2009-03-30 08:43:34 +00:00
Filippos Karapetis
bfeded3b98 Changed the SCI version of the French version of LSL3 to match the other ones. Hopefully, this fixes the crash described in bug #2719017
svn-id: r39754
2009-03-30 08:37:49 +00:00
Filippos Karapetis
6e075e8a34 Fixed compilation
svn-id: r39751
2009-03-30 07:57:10 +00:00
Filippos Karapetis
e130aecc4f Wrapped all the still WIP SCI32-specific code around appropriate ifdef blocks. SCI32 has fundamental differences from previous SCI versions (e.g. direct point addressing is no longer possible), most of SCI32 games use SVGA resolutions and currently a lot of SCI32 specific code is missing (like, for example, the newer string and array handling functions, the widget system etc). This has been done in the same manner as in the SCUMM and SAGA engines.
svn-id: r39750
2009-03-30 07:53:32 +00:00
Willem Jan Palenstijn
6c6f95afe9 SCI: don't delete static palette twice
svn-id: r39748
2009-03-29 21:47:09 +00:00
Willem Jan Palenstijn
968856780b SCI: Merge static palette into global palette at startup
svn-id: r39747
2009-03-29 21:46:49 +00:00
Willem Jan Palenstijn
b524e3d285 SCI: remove some debugging printfs
svn-id: r39746
2009-03-29 21:46:26 +00:00
Filippos Karapetis
661644f3c1 Added stubs for the missing palette effects in kPalette()
svn-id: r39744
2009-03-29 15:08:50 +00:00
Filippos Karapetis
fbc76a89e1 Added a stub for the palette fadeout/fadein effect, so that we remember it's currently missing
svn-id: r39743
2009-03-29 14:47:57 +00:00
Filippos Karapetis
d883cb209e Fixed the colors of the widgets in KQ5's options menu
svn-id: r39737
2009-03-29 12:28:24 +00:00
Filippos Karapetis
09d96e24f9 Fixed the colors of the window frames in KQ5
svn-id: r39734
2009-03-29 11:56:32 +00:00
Filippos Karapetis
cda1bf5ca9 Eco Quest 1 continues after the intro now
svn-id: r39731
2009-03-29 01:56:03 +00:00
Walter van Niftrik
e860473d80 SCI: AvoidPath workaround for intersecting polygons in Longbow, room 210.
svn-id: r39714
2009-03-27 23:01:13 +00:00
Filippos Karapetis
d75959c354 Added a note about the potential invalid rectangles created when drawing lines
svn-id: r39704
2009-03-26 21:52:04 +00:00
Max Horn
c21110f36e SCI: Match signature of readResourceMapSCI0 and readResourceMapSCI1 (helpful if we ever want to turn this into overloaded methods of ResourceManager subclasses, one subclass for each SCI version)
svn-id: r39701
2009-03-26 13:11:30 +00:00
Max Horn
c592bf3300 SCI: Cleaned up the decompressor comments and code a little bit
svn-id: r39698
2009-03-25 23:47:16 +00:00
Filippos Karapetis
b4b0e35841 Remove a workaround in the line drawing function - it shouldn't be necessary anymore
svn-id: r39697
2009-03-25 23:26:24 +00:00
Filippos Karapetis
2b1ad19b7f Added another version of Eco Quest 1
svn-id: r39696
2009-03-25 23:14:31 +00:00
Filippos Karapetis
831d3d542e Changed the primitive equality check to not use Common::Rect, as the two primitives being compared might not actually be rectangles (e.g. they may be lines, in which case the "width" and "height" might be negative)
svn-id: r39695
2009-03-25 23:14:08 +00:00
Filippos Karapetis
58a66cb3cd Use the default kernel vocabulary names for SCI1 games, instead of reading the unreliable (in SCI1 games) 999.voc resource. KQ5 and EcoQuest 1 now work properly, and all other SCI1 games seem to be unaffected and working with this change. If there's any SCI1 game with different kernel vocabulary names, we can add special flags to it to our detector, so this change fixes more than it breaks :)
svn-id: r39694
2009-03-25 22:37:08 +00:00
Filippos Karapetis
a3a7893f16 Changed the font flag defines to an enumeration
svn-id: r39690
2009-03-25 17:51:22 +00:00