Commit Graph
7940 Commits
Author SHA1 Message Date
Martin Kiewitz 248bc560f3 SCI: moved onControl etc. into GfxCompare, now getting called directly. also fixed loading saved games due Gfx* changes
svn-id: r47912
2010-02-05 20:44:03 +00:00
Matthew Hoops 779fc7dc19 Cleanup kShowMovie; merge the SCI1.1/SCI2 and SCI2.1 AVI code.
svn-id: r47911
2010-02-05 19:41:06 +00:00
Martin Kiewitz c78a49f563 SCI: initializing _highPlanePri inside GfxFrameout
svn-id: r47910
2010-02-05 19:33:39 +00:00
Martin Kiewitz a7aa3a6dea SCI: fix warning inside GfxCoordAdjuster header
svn-id: r47909
2010-02-05 19:09:34 +00:00
Martin Kiewitz f3ea96d168 SCI: GfxCoordAdjuster class added, local2Global and global2Local use that class directly, kGraph / RedrawBox is now using GfxPaint16 directly
svn-id: r47908
2010-02-05 18:56:13 +00:00
Martin Kiewitz e7cffa90b2 SCI: frameout sci32 stuff now gets called directly w/o SciGui/32
svn-id: r47907
2010-02-05 16:03:14 +00:00
Martin Kiewitz 71519a0a8f SCI: removing debugShowMap from SciGui32
svn-id: r47906
2010-02-05 15:55:18 +00:00
Martin Kiewitz 03dd0ac7bb SCI: screen specific debug functions are now called directly w/o SciGui/32
svn-id: r47905
2010-02-05 15:53:36 +00:00
Martin Kiewitz ab2941bb52 SCI: adding some minor documentation for the various graphic classes
svn-id: r47904
2010-02-05 15:48:45 +00:00
Martin Kiewitz f8f490c565 SCI: calling most of the cursor functions directly via _gfxCursor instead of SciGui/32
svn-id: r47903
2010-02-05 14:48:51 +00:00
Martin Kiewitz 6c204cc890 SCI: renamed class Cursor to GfxCursor
svn-id: r47902
2010-02-05 13:05:26 +00:00
Walter van Niftrik 19910ec279 SCI: Add implementation for Intersections().
svn-id: r47901
2010-02-05 12:57:05 +00:00
Martin Kiewitz 51b608d794 SCI: renamed class Font to GfxFont
svn-id: r47900
2010-02-05 12:30:41 +00:00
Martin Kiewitz 3ad4433adf SCI: renamed SciGuiPicture to GfxPicture
svn-id: r47899
2010-02-05 12:14:03 +00:00
Filippos Karapetis a0e40a0675 Added information on the patches folder included in KQ6CD
svn-id: r47898
2010-02-05 09:02:36 +00:00
Torbjörn Andersson baae94fb81 Use strcmp() to test the game ID, not the != operator.
svn-id: r47897
2010-02-05 07:06:43 +00:00
Matthew Hoops 3b6f6bfbd8 SCI2 Windows games are scaled from 320x200 to 640x480, not 640x400. Aspect ratio correction will eventually have to be applied. This fixes a possible segfault when playing the credits video in GK1 (which is 640x480).
svn-id: r47895
2010-02-05 04:16:12 +00:00
Matthew Hoops 19d3f5ad9b Have SCI look through the patches directory (except in KQ6 where the patches in that directory are broken) to fix some GK1 Windows problems. Add the MSRLE codec to AVI (from DrMcCoy's Dark Seed II engine, with permission). GK1 Windows now will play the credits video.
svn-id: r47894
2010-02-05 03:29:04 +00:00
Filippos Karapetis 0d85b39468 Moved the PalVary code inside the GfxPalette class
svn-id: r47893
2010-02-04 23:17:33 +00:00
Martin Kiewitz 3a94200e18 SCI: fix build paint16.h change
svn-id: r47892
2010-02-04 22:30:46 +00:00
Martin Kiewitz cabd18da9e SCI: renaming class View to GfxView
svn-id: r47891
2010-02-04 22:17:58 +00:00
Martin Kiewitz c336204a3f SCI: renaming Transitions to GfxTransitions
svn-id: r47890
2010-02-04 21:04:47 +00:00
Martin Kiewitz 5f39e3b7b5 SCI: kPicNotValid now uses GfxScreen directly and not SciGui/32
svn-id: r47889
2010-02-04 20:52:56 +00:00
Martin Kiewitz 00ac235331 SCI: making pathfinding debug support also work in sci32 (though it just shows the path for 2.5 seconds there)
svn-id: r47888
2010-02-04 20:43:00 +00:00
Martin Kiewitz e74bd30a2e SCI: putting most kGraph functions into GfxPaint16
svn-id: r47887
2010-02-04 20:18:01 +00:00
Martin Kiewitz fb49449322 SCI: putting kDrawCel info GfxPaint class, debug is using GfxPaint class as well for drawing cels
svn-id: r47885
2010-02-04 20:02:48 +00:00
Martin Kiewitz 21cfb4c0c7 SCI: cleaning up deleting of graphic objects
svn-id: r47884
2010-02-04 19:33:36 +00:00
Martin Kiewitz 3ce2e22978 SCI: adding GfxPaint class, implementing kernelDrawPicture for GfxPaint16 and GfxPaint32, using those classes directly when drawing pictures instead of SciGui/32. Making draw_pic command work in sci32 that way, using _gfxPaint16 for kDrawPic because that command is sci16 exclusive
svn-id: r47883
2010-02-04 19:22:40 +00:00
Martin Kiewitz 5dc8f75b68 SCI: moving paint32.o around...
svn-id: r47882
2010-02-04 18:52:03 +00:00
Martin Kiewitz 708c340d1f SCI: fixing header of paint32
svn-id: r47881
2010-02-04 18:48:20 +00:00
Martin Kiewitz 6664d26db7 SCI: adding GfxPaint32 class, adding back support for planes, minor change in GfxPaint16 (using #def instead of fixed value)
svn-id: r47880
2010-02-04 17:57:44 +00:00
Martin Kiewitz 3545438900 SCI: adding back selector for sci32
svn-id: r47879
2010-02-04 17:55:23 +00:00
Martin Kiewitz 7b0b4f5313 SCI: also adjusting bottom/right coordinate of plane rect
svn-id: r47878
2010-02-04 16:14:59 +00:00
Martin Kiewitz 751db2fcf3 SCI: added clipping inside frameout (fixes torin)
svn-id: r47877
2010-02-04 16:12:47 +00:00
Martin Kiewitz 6ea821fac7 SCI: adding selectors bottom and right
svn-id: r47876
2010-02-04 16:06:56 +00:00
Martin Kiewitz 4e090f4ede SCI: support for resX, resY inside frameout
svn-id: r47875
2010-02-04 12:07:27 +00:00
Martin Kiewitz e3cab50c15 SCI: adding support for resX, resY selectors for sci32
svn-id: r47874
2010-02-04 12:01:19 +00:00
Martin Kiewitz a79330e6d8 SCI: fix support for cels that are larger than 64k (sierra logo animation in sq6)
svn-id: r47873
2010-02-04 11:54:48 +00:00
Filippos Karapetis ee66af41a2 Fixed the hang with the new music code after the copy protection in Island of Dr. Brain
svn-id: r47870
2010-02-03 23:02:37 +00:00
Martin Kiewitz b2876ca9d3 SCI: some work on robot REing (still comments only)
svn-id: r47867
2010-02-03 22:06:57 +00:00
Martin Kiewitz d09d37ff4e SCI: fixing picture corruption in sci32 (e.g. sq6 picture 430, kq7 after intro)
svn-id: r47866
2010-02-03 22:05:22 +00:00
Martin Kiewitz da771b91e6 SCI: we checked first cel size when detecting hires instead of actual picture resolution, now checking correctly
svn-id: r47865
2010-02-03 21:59:41 +00:00
Filippos Karapetis 2fb37063a4 Placed all the game feature detection code in a separate class
svn-id: r47850
2010-02-03 11:02:43 +00:00
Filippos Karapetis 887ca3145e Initial implementation of text drawing for SCI2 (it's a hack for now, done the "SCI0-SCI11" way, and text splitting is wrong...)
svn-id: r47838
2010-02-03 01:36:53 +00:00
Max Horn 09046947d4 SCI: Make add_exec_stack_entry & add_exec_stack_varselector static / private
svn-id: r47837
2010-02-03 01:34:39 +00:00
Max Horn bca7c6eef3 SCI: Move more stuff around
svn-id: r47836
2010-02-03 01:34:15 +00:00
Max Horn bec3a0d539 cleanup
svn-id: r47835
2010-02-03 01:33:48 +00:00
Max Horn 4ecaf4d4ac SCI: restoring param of run_vm is a bool, not an int
svn-id: r47834
2010-02-03 01:33:23 +00:00
Max Horn bb5e34a014 SCI: Get rid of EngineState::stack_segment
svn-id: r47833
2010-02-03 01:32:59 +00:00
Max Horn b2d69649f7 SCI: Rearrange members of class EngineState
svn-id: r47832
2010-02-03 01:32:27 +00:00