Johannes Schickel
0867129399
Formatting.
...
svn-id: r45553
2009-10-30 23:44:12 +00:00
Filippos Karapetis
86cafd561f
Some work on the kPortrait kernel function, used to show hires character portraits in the Windows CD version of KQ6
...
svn-id: r45552
2009-10-30 22:55:35 +00:00
Filippos Karapetis
1c158c52a1
Cleaned up kPlatform() a bit, and changed it to return appropriate values for the CD hires version of KQ6
...
svn-id: r45551
2009-10-30 22:53:00 +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
Martin Kiewitz
e87808d89b
SCI: validate_variable fixed and now using bool instead of int (fixes pq3 demo crash on my computer)
...
svn-id: r45543
2009-10-30 18:01:27 +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
Martin Kiewitz
3ec76350ec
SCI: kStrAt offset checking fixed
...
svn-id: r45537
2009-10-30 14:22:22 +00:00
Filippos Karapetis
ff284c9f5b
Remove unused includes when INCLUDE_OLDGFX is not set. Implemented the full screen updates that the current menu code is doing using new graphics functions (still unfinished). Some cleanup.
...
svn-id: r45536
2009-10-30 12:33:05 +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
0c2ab71829
SCI: kStrAt / dont do call, when offset exceeds maxSize. fixes crash in kq5
...
svn-id: r45530
2009-10-30 10:06:35 +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
Walter van Niftrik
27df03a18e
SCI: AvoidPath: Add workaround for pathfinding problem when Patti walks to
...
control room in LSL5, room 660.
svn-id: r45522
2009-10-30 04:47:02 +00:00
Walter van Niftrik
dba613ecd2
SCI: AvoidPath: Don't discard contained-access polygon when starting point
...
is right next to it.
svn-id: r45521
2009-10-30 03:54:50 +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
Filippos Karapetis
c8546fd92f
Stop SQ4 floppy from updating the unused sq4sg.dir file when deleting a saved game
...
svn-id: r45507
2009-10-29 20:31:35 +00:00
Filippos Karapetis
89811d1ea4
Cleanup
...
svn-id: r45506
2009-10-29 19:32:27 +00:00
Filippos Karapetis
ebfcea35ec
- Implemented savegame deletion for SQ4 floppy
...
- Added a more proper way to disable the "Change Directory" button, by checking its name, rather than the string it contains
svn-id: r45504
2009-10-29 18:07:39 +00:00
Filippos Karapetis
6eea032245
Disable the "Delete" button for all versions of SQ4 floppy, and the "Change Directory" button for all games (English and non-English versions)
...
svn-id: r45503
2009-10-29 16:27:23 +00:00
Filippos Karapetis
caa5136b5c
Automatically create memory.drv (the file containing the LSL5 password) for non-English versions of LSL5, so that the games don't abort if it can't be found.
...
svn-id: r45502
2009-10-29 16:05:24 +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
e5e80dd6d6
Fixed the deletion of save games - the wrong save game would be deleted with the previous code, as we sort the list by date
...
svn-id: r45499
2009-10-29 09:58:36 +00:00
Filippos Karapetis
fa3305ee01
Moved some menu code outside the INCLUDE_OLDGFX safeguards
...
svn-id: r45496
2009-10-29 01:10:10 +00:00
Filippos Karapetis
8150fc07bc
Added a workaround for the casino door in LSL1
...
svn-id: r45494
2009-10-28 23:32:28 +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
21323a8d12
Wrapped some more oldgui-specific code around INCLUDE_OLDGFX safeguards
...
svn-id: r45492
2009-10-28 22:01:42 +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
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