370 Commits

Author SHA1 Message Date
Filippos Karapetis
71db8b851b Some more work on KQ6 hi res version - screen scaling should be done now, but other methods haven't been updated yet
svn-id: r45555
2009-10-31 10:54:19 +00:00
Filippos Karapetis
29fb3b0f3f Plugged some memory leaks in the new graphics code
svn-id: r45550
2009-10-30 22:50:21 +00:00
Filippos Karapetis
9e78f4693c Fixed a crash in the old graphics code from commit #45542
svn-id: r45544
2009-10-30 18:32:55 +00:00
Filippos Karapetis
8bf3e5b549 Added caching of views
svn-id: r45542
2009-10-30 17:38:11 +00:00
Filippos Karapetis
371097d27c Added caching for mouse cursor views
svn-id: r45541
2009-10-30 17:13:25 +00:00
Filippos Karapetis
57266a7cba - Removed status_bar_foreground and status_bar_background variables from the engine state
- Implemented clearMenuBar() in the new graphics code
- Removed the "status_bar" command, which was used to set custom colors for the status bar

svn-id: r45538
2009-10-30 14:39:26 +00:00
Filippos Karapetis
0cecbffb60 Restore the pen color after changing it in graphFrameBox()
svn-id: r45534
2009-10-30 12:03:31 +00:00
Filippos Karapetis
932cd54bbe Rewrote the avoidpath debug code to use new graphics functions
svn-id: r45533
2009-10-30 11:26:00 +00:00
Martin Kiewitz
6c101f7c1a SCI/newgui: Reanimate implemented
svn-id: r45527
2009-10-30 09:26:14 +00:00
Filippos Karapetis
87aa24e174 Started porting ReAnimate() from Greg's SCI engine
svn-id: r45526
2009-10-30 08:22:53 +00:00
Filippos Karapetis
1526fda715 Poll for events while performing screen transitions, so that ScummVM remains responsive
svn-id: r45509
2009-10-29 21:07:24 +00:00
Martin Kiewitz
fc1c05586f SCI/newgui: SciGuiPicture now acts like sierra sci when drawing cels, so we dont need some hardcoded variable and differ when clearing screen
svn-id: r45508
2009-10-29 20:32:55 +00:00
Martin Kiewitz
8178d548eb SCI/newgui: Defining color white and others in SciGuiScreen and using that. Also clears screen with 0 on sci1.1 games (needs further investigation), fixes pictures
svn-id: r45500
2009-10-29 14:16:20 +00:00
Filippos Karapetis
2d9d9bca13 Changed some of the menu code to use new graphics functions
svn-id: r45493
2009-10-28 23:04:56 +00:00
Filippos Karapetis
d62342b32b Wording. Added warnings for unimplemented menu-related functions in the new GUI code
svn-id: r45489
2009-10-28 21:49:16 +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
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
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
b5feeb60b6 Moved the cel count calculation to the new graphics code
svn-id: r45379
2009-10-25 22:33:08 +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
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
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
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
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
4095d92a5e SCI/newgui: make cursor left work in textedit control. some wip changes, because i need to backlevel
svn-id: r45340
2009-10-22 21:04:45 +00:00
Filippos Karapetis
1f4ad52c61 Moved the view loop counting code in the new GUI
svn-id: r45322
2009-10-22 05:41:50 +00:00
Martin Kiewitz
e3d03ce22b SCI/newgui: kAnimate added comment about fastCast
svn-id: r45315
2009-10-21 21:07:21 +00:00
Martin Kiewitz
fd9a062452 SCI/newgui: kAnimate - fastCast change (again)
svn-id: r45314
2009-10-21 20:57:42 +00:00
Filippos Karapetis
8f8af8a19b Make the check for global variable 84 inside SciGuiAnimate::invoke() simpler and faster
svn-id: r45313
2009-10-21 20:25:05 +00:00
Filippos Karapetis
4f58d91309 Fixed animations in LSL1VGA again
svn-id: r45312
2009-10-21 20:10:23 +00:00
Filippos Karapetis
b105d690e3 - Removed kShow() and the related code it uses - it's a debugging function, and we have the same functionality in the debug console
- Merged the view signal flags from kernel.h and gui_animate.h, and named them appropriately. Also, updated the notes next to them, cause some were incorrectly marked as not used in our engine
- Added a note about a hack used in the old GUI in the view signal flags
- Moved the control state flags inside gui_helpers.h

svn-id: r45310
2009-10-21 19:19:03 +00:00
Martin Kiewitz
95cefe311c SCI/newgui: kAnimate - now reads out signal again in .dispose loop, just in case. Currently there is no issue known.
svn-id: r45309
2009-10-21 15:23:05 +00:00
Martin Kiewitz
c9e618b6a5 SCI/newgui: updating flags separately to fix issue in sq1 (almost at the end) where wilco will go michael jackson otherwise
svn-id: r45308
2009-10-21 15:12:10 +00:00
Martin Kiewitz
257d086aa1 SCI/newgui: palVary logic as comments (work in progress)
svn-id: r45293
2009-10-20 21:25:50 +00:00