Commit Graph

2110 Commits

Author SHA1 Message Date
Filippos Karapetis
5d037f64ef Added detection for pq1, cnick-lslcasino and cnick-longbow to the fallback detector. Simplified the code which distinguishes between demo and full versions. Some cleanup
svn-id: r45488
2009-10-28 21:46:27 +00:00
Martin Kiewitz
142d2e73c0 SCI/newgui: fill screen with white instead of black before picture drawing, fixes some pixels of some screens
svn-id: r45481
2009-10-28 19:28:43 +00:00
Martin Kiewitz
5f71650520 SCI/newgui: BaseSetter moved to SciGui
svn-id: r45480
2009-10-28 19:19:35 +00:00
Martin Kiewitz
88e56f87eb SCI/newgui: IsItSkip moved into SciGui
svn-id: r45479
2009-10-28 19:10:39 +00:00
Martin Kiewitz
5abe6c8054 SCI/newgui: Cleanup
svn-id: r45478
2009-10-28 18:59:11 +00:00
Martin Kiewitz
021edb1ef4 SCI/newgui: update whole screen when show_map console-command is used
svn-id: r45475
2009-10-28 15:18:22 +00:00
Martin Kiewitz
c3d75ced87 SCI/newgui: another floodfill change, fixes sq3 this time (this is madness)
svn-id: r45474
2009-10-28 15:15:18 +00:00
Martin Kiewitz
e4df507117 SCI/newgui: floodfill fixed (hopefully), fixes kq5 priority issues
svn-id: r45473
2009-10-28 15:07:24 +00:00
Filippos Karapetis
fbbd0b1575 Fixed the rectangle top inside kBaseSetter()
svn-id: r45466
2009-10-28 14:45:26 +00:00
Filippos Karapetis
0851b00d4f Cleanup
svn-id: r45465
2009-10-28 14:35:47 +00:00
Filippos Karapetis
6ac2680e82 Oops, removed leftover code (z was taken into account after all, but in a different place...)
svn-id: r45464
2009-10-28 14:25:39 +00:00
Filippos Karapetis
394fc76719 Rewrote kBaseSetter() to use new graphics functions and behave like the original, and fixed a bug in the process (the previous code ignored z when calculating the height)
svn-id: r45463
2009-10-28 14:23:23 +00:00
Filippos Karapetis
0b83a8eec0 Reimplemented isItSkip() using new graphics code
svn-id: r45461
2009-10-28 13:43:09 +00:00
Martin Kiewitz
e8cff408b4 SCI/newgui: Jones windowMgr Port adjustment, added explanatory comment
svn-id: r45460
2009-10-28 13:34:20 +00:00
Filippos Karapetis
04ab6bc9fc Enclose all of the old graphics code within the INCLUDE_OLDGFX safeguard (defined in sci.h)
svn-id: r45459
2009-10-28 13:20:30 +00:00
Martin Kiewitz
f28fe1b074 SCI/newgui: Added comment about jones hack
svn-id: r45458
2009-10-28 13:00:32 +00:00
Martin Kiewitz
c6f96d6ac3 SCI/newgui: SciGuiControls created, SciGuiText now active
svn-id: r45457
2009-10-28 12:58:13 +00:00
Matthew Hoops
b132c65ff3 Make Jones in the Fast Lane use up the whole screen as did the original game.
svn-id: r45431
2009-10-27 02:23:45 +00:00
Martin Kiewitz
9008406e80 SCI/newgui: fixes text in jones
svn-id: r45423
2009-10-26 22:15:19 +00:00
Filippos Karapetis
7e0f8a9af9 Added proper detection and handling of transitive SCI1-SCI1.1 games, like PQ1 VGA. These used SCI1 resources and compression with a SCI1.1 kernel (thanks to waltervn's observations)
svn-id: r45420
2009-10-26 21:41:41 +00:00
Martin Kiewitz
efd41ffc46 SCI/newgui: SciGuiText created
svn-id: r45412
2009-10-26 19:33:07 +00:00
Filippos Karapetis
49d4e3c467 Removed some duplicate code
svn-id: r45410
2009-10-26 18:09:21 +00:00
Filippos Karapetis
e35b6a6e80 Cleanup
svn-id: r45395
2009-10-26 09:47:55 +00:00
Torbjörn Andersson
994408a770 Fixed some cppcheck warnings.
svn-id: r45391
2009-10-26 06:20:13 +00:00
Torbjörn Andersson
463ccc896a Removed unused variable.
svn-id: r45390
2009-10-26 05:19:43 +00:00
Filippos Karapetis
b5feeb60b6 Moved the cel count calculation to the new graphics code
svn-id: r45379
2009-10-25 22:33:08 +00:00
Filippos Karapetis
1a4b617398 - Removed graphics options code from the old GUI. Almost all of them are not supposed to be modified by the user (e.g. the way lines and brushes are drawn), and we can implement any of them again if needed in the new GUI (but they shouldn't really be needed).
- Added a config option to disable dithering in the new GUI if requested, called "undither", which is set to true by default and can be changed to false if needed per game
- The per-resource palette code has been removed for now, to be replaced by regular hashmaps (once the FreeSCI scifx reading code has been converted)

svn-id: r45378
2009-10-25 20:53:07 +00:00
Martin Kiewitz
0315264328 SCI/newgui: SciGuiView is now able to detect "straight" EGA mappings and will then ignore the mapping. This will result in undithering working for those views. All EGA-mapping views in qfg2 seem to be special fx related so they dont need undithering at all
svn-id: r45377
2009-10-25 20:46:14 +00:00
Martin Kiewitz
fa627f4233 SCI: kGameIsRestarting - another change, setting back delay back to 30msecs, but no delay during initial 50 calls. This seems to make qfg2 and iceman happy.
svn-id: r45376
2009-10-25 20:12:12 +00:00
Martin Kiewitz
c0235a268d SCI: kGameIsRestarting - changing speed throttler to 10 msecs, lsl5 is still "somewhat" playable, codename iceman and qfg2 didnt show some animations cause of the higher delay
svn-id: r45375
2009-10-25 20:03:10 +00:00
Martin Kiewitz
5a465c86c2 SCI/newgui: SciGuiView disable undithering when EGA mappings are available (support needs to get implemented for this case), also fixes a part of the undithering code
svn-id: r45374
2009-10-25 19:49:09 +00:00
Martin Kiewitz
ce9dcd7aa8 SCI/newgui: kAddToPic - behaviour is different between SCI1EARLY and SCI1MIDDLE (fixes graphic glitch in qfg2 intro)
svn-id: r45373
2009-10-25 19:04:36 +00:00
Martin Kiewitz
f0fc4810fd SCI: kAddToPic - removing support for argc==0 case, if this really gets used somewhere, we need to set _picNotValid in that case
svn-id: r45372
2009-10-25 18:43:23 +00:00
Martin Kiewitz
f6d8c1c40d SCI/newgui: removed list parameter from addToPicDrawCels()
svn-id: r45371
2009-10-25 17:37:44 +00:00
Martin Kiewitz
6e5dd8e357 SCI/newgui: circle bitmap table fixed, fixes qfg1 character selection graphic
svn-id: r45369
2009-10-25 08:46:56 +00:00
Filippos Karapetis
410c298757 Cleanup
svn-id: r45368
2009-10-25 08:10:57 +00:00
Matthew Hoops
55e0efeb8f Add support for CD Audio in Jones in the Fast Lane CD and KQ6 CD.
svn-id: r45367
2009-10-25 03:26:20 +00:00
Filippos Karapetis
452ae8a576 Cleanup
svn-id: r45366
2009-10-25 02:36:51 +00:00
Matthew Hoops
9b6f2be526 Mark Jones CD with the CD flag and add CD in the extras field.
svn-id: r45365
2009-10-25 00:13:08 +00:00
Johannes Schickel
56181a475c Change "=" to ":=" in some module.mk files for consistency.
svn-id: r45364
2009-10-24 21:55:53 +00:00
Martin Kiewitz
c45efbe9ab SCI/newgui: dont react on paletteSet when playing an EGA game (fixes Xmas card EGA)
svn-id: r45363
2009-10-24 19:47:53 +00:00
Martin Kiewitz
8551e6cfe3 SCI/newgui: support for EGA mapping in SCI1 games, fixes qfg2 character selection
svn-id: r45362
2009-10-24 19:29:06 +00:00
Willem Jan Palenstijn
4a3ebce699 SCI: Restore accumulator after executing send from debugger
svn-id: r45360
2009-10-24 13:26:12 +00:00
Martin Kiewitz
701caea8d7 SCI: kAddToPic - abort when list is null reference (fixes qfg1 saved game loading on some screens)
svn-id: r45351
2009-10-23 20:41:59 +00:00
Filippos Karapetis
f0c4290287 Reset the graphics input after reconstructing game scripts. This fixes savegame loading in KQ4
svn-id: r45350
2009-10-23 20:10:51 +00:00
Martin Kiewitz
bed7206ee3 SCI/newgui: fixed EGA palette code in SciGuiPicture so that palettes 1+ get applied correctly (fixes qfg1 nighttime)
svn-id: r45348
2009-10-23 19:08:32 +00:00
Martin Kiewitz
8fa9f9b0ee SCI/newgui: Priority band (old gfx) now gets correctly initialized, fixes kq4 intro logo
svn-id: r45347
2009-10-23 18:05:14 +00:00
Martin Kiewitz
9c9181eed6 SCI: speed throttler moved to kGameIsRestarting for all games. Also made the delay shorter. sq3 now seems to work fine, kq1 also has animations and lsl5 mud wrestling is also working correctly.
svn-id: r45345
2009-10-23 11:25:48 +00:00
Martin Kiewitz
8e6291f7bb SCI: kGameIsRestarting - implemented speed throttler in here for sci0/sci01 games, test only!
svn-id: r45342
2009-10-22 21:30:30 +00:00
Martin Kiewitz
12cdcea516 SCI: kAnimate disable throttler for SCI0 and SCI01 games cause of issues in at least kq1. temporary solution only!
svn-id: r45341
2009-10-22 21:19:03 +00:00