Commit Graph

34995 Commits

Author SHA1 Message Date
Walter van Niftrik
4d2cfd5449 SCI: AvoidPath: Switch to A*
svn-id: r45586
2009-10-31 21:21:23 +00:00
Martin Kiewitz
0af1d66d2d SCI/newgui: added portrait data layout as comment (not completely done)
svn-id: r45585
2009-10-31 20:56:14 +00:00
Johannes Schickel
a510481202 Clean up comment a bit.
svn-id: r45583
2009-10-31 19:59:48 +00:00
Johannes Schickel
f709046167 Fix compilation.
svn-id: r45582
2009-10-31 19:55:49 +00:00
Johannes Schickel
fa506b5f0a Fix missing inventory in Kyrandia 1 PC98 16 color version, when loading a save via launcher or command line.
svn-id: r45581
2009-10-31 19:53:52 +00:00
Johannes Schickel
45208bc53d Fix certain scenes incorrectly appearing as fireberry bushes in floppy/FM-Towns/PC98 versions of Kyrandia 1.
svn-id: r45580
2009-10-31 19:52:46 +00:00
Martin Kiewitz
b29fd4dacd SCI/newgui: SciGuiPortrait created
svn-id: r45579
2009-10-31 19:48:28 +00:00
Vladimir Menshakov
6205c5f4de better scene cleanup
svn-id: r45578
2009-10-31 19:34:27 +00:00
Vladimir Menshakov
5f77a350a3 fixed bird-assert from chapter 1
svn-id: r45577
2009-10-31 19:03:44 +00:00
Vladimir Menshakov
b1671eb2d3 added missing cutscene
svn-id: r45576
2009-10-31 18:53:30 +00:00
Vladimir Menshakov
d033899a05 added cutscenes where needed, fixed invalid skipping of fullscreen messages.
svn-id: r45575
2009-10-31 18:49:47 +00:00
Johannes Schickel
67a7492fa2 Comment out unused variables.
svn-id: r45574
2009-10-31 18:36:13 +00:00
Johannes Schickel
93d26113fd Fix some memory leaks in Kyrandia 1 (this hopefully fixes crashes on NDS after a long playtime).
svn-id: r45572
2009-10-31 18:32:17 +00:00
Filippos Karapetis
58299f4bfd Added a comment that the current implementation that we got on drawing already scaled views is a temporary hack
svn-id: r45571
2009-10-31 18:26:31 +00:00
Torbjörn Andersson
d5421d93d4 Silenced GCC warning.
svn-id: r45570
2009-10-31 18:12:19 +00:00
Martin Kiewitz
cda9b293fd SCI/newgui: Changed code for graphSaveUpscaledHiresBox to not scale the position, its not needed and would actually result in a crash cause of 2 times scaling.
svn-id: r45569
2009-10-31 18:00:22 +00:00
Filippos Karapetis
9450661f72 Added some default directories
svn-id: r45568
2009-10-31 17:55:03 +00:00
Filippos Karapetis
c64fa600b7 - Added some TODOs
- Disabled the kGraph case used in KQ6 Windows for now, as it's problematic and crashes the game
- Added extra param to kDrawCel(), used in KQ6 Windows

The icon bar in KQ6 Windows is shown a bit better now

svn-id: r45567
2009-10-31 17:54:28 +00:00
Filippos Karapetis
2b29b53b47 Slight optimization to the 2x scaler
svn-id: r45566
2009-10-31 17:02:11 +00:00
Filippos Karapetis
6fd5fdcf7b Upscale the mouse cursor when the screen is upscaled. Also, reapplied some code which was accidentally reverted in commit #45562
svn-id: r45565
2009-10-31 15:44:59 +00:00
Martin Kiewitz
99cd8d5d2f SCI/newgui: kGraph support for Save-UpscaledHires-Box (not sure if coordinates are really hires, it seems that they are not)
svn-id: r45564
2009-10-31 15:25:47 +00:00
Martin Kiewitz
4b9066ef69 SCI: accidentally set newgui to default, reverting
svn-id: r45563
2009-10-31 14:41:28 +00:00
Martin Kiewitz
f36e9cbe4d SCI/newgui: UpscaledHires implemented including undithering support, cleanup
svn-id: r45562
2009-10-31 14:38:25 +00:00
Torbjörn Andersson
149d784d0b Kirben suggested using vs->bytesPerPixel instead of _bytesPerPixel when drawing
the corners on the flashlight. He's probably right, since 'vs' is what we are
drawing to.

svn-id: r45561
2009-10-31 13:43:46 +00:00
Torbjörn Andersson
2f7f5bb4f1 Fixed flashlight drawing in 16 bpp games. (Which probably means PC-Engine Loom
is the only game where it makes any difference.)

svn-id: r45560
2009-10-31 13:34:31 +00:00
Travis Howell
f7fcec1ce2 The verb images for distaff have no mask data, in PCE version of Loom.
svn-id: r45559
2009-10-31 13:15:49 +00:00
Torbjörn Andersson
773bc170a3 Fixed Valgrind warning caused by always reading four bytes at a time from the
cursor source buffer.

svn-id: r45558
2009-10-31 12:38:08 +00:00
Filippos Karapetis
43f476b571 Properly fixed putPixel() for scaled screens
svn-id: r45557
2009-10-31 12:19:35 +00:00
Filippos Karapetis
cd3f9336ab Cursor positioning now takes screen scaling into account
svn-id: r45556
2009-10-31 12:17:38 +00:00
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
Travis Howell
d76c1c6552 Add patch from Tobias, for menu keys in PCE version of Loom, with minor change.
svn-id: r45554
2009-10-31 09:48:19 +00:00
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
Johannes Schickel
92fdf79d5b Fixes for TEX and RTF output of "add_paragraph".
svn-id: r45549
2009-10-30 20:44:11 +00:00
Johannes Schickel
59eb37a76c Fix bug in "add_paragraph" in tools/credits.pl, now the "&" should be fine in credits.h again.
svn-id: r45547
2009-10-30 20:30:28 +00:00
Johannes Schickel
f55da32ca5 Fix credits.
svn-id: r45545
2009-10-30 20:25:12 +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
b2ab8fd77b Updated the MSVC project files of the draci engine for commit #45510
svn-id: r45540
2009-10-30 16:20:24 +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
Yotam Barnoy
272cc75715 PSP: Fixed serious issue in plugins due to way gcc sometimes works. Was only observable in Kyra engine but potentially applicable to all
svn-id: r45535
2009-10-30 12:26:24 +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