Commit Graph
4076 Commits
Author SHA1 Message Date
Martin Kiewitz 454856b5fd SCI: put kShakeScreen into GfxPaint, called directly now
svn-id: r47936
2010-02-06 17:03:18 +00:00
Filippos Karapetis 788f375703 Added a sanity check for kListAt and made the hack for displaying text work in SCI2 only
svn-id: r47931
2010-02-06 16:12:19 +00:00
Walter van Niftrik 742ddb7979 SCI: Run GC only when execution_stack_base is 0.
svn-id: r47929
2010-02-06 12:50:50 +00:00
Filippos Karapetis b2e8777e1e Silenced warning that intersectionX and intersectionY could be uninitialized
svn-id: r47928
2010-02-06 10:43:54 +00:00
Matthew Hoops dc12437390 Add a missing break.
svn-id: r47926
2010-02-06 05:29:08 +00:00
Walter van Niftrik 38b0a148e6 SCI: Don't call garbage collector directly from kFlushResources() as this is no longer safe.
svn-id: r47925
2010-02-06 04:13:00 +00:00
Max Horn f86618f92b SCI: Add a 'SELECTOR' macro
svn-id: r47918
2010-02-05 22:55:18 +00:00
Martin Kiewitz 25a9df8a81 SCI: moving kDisplay into GfxPaint16, now getting called directly as well
svn-id: r47917
2010-02-05 22:31:48 +00:00
Martin Kiewitz 71fb77a5aa SCI: priority band specific stuff now gets called directly w/o SciGui
svn-id: r47916
2010-02-05 22:20:46 +00:00
Martin Kiewitz f967318225 SCI: remaining cursor functions now also directly called
svn-id: r47914
2010-02-05 21:09:36 +00:00
Martin Kiewitz 16efee3c0d SCI: drawMenuBar, drawStatus now called directly and w/o SciGui
svn-id: r47913
2010-02-05 20:48:06 +00:00
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 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 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
Walter van Niftrik 19910ec279 SCI: Add implementation for Intersections().
svn-id: r47901
2010-02-05 12:57:05 +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 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 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 3545438900 SCI: adding back selector for sci32
svn-id: r47879
2010-02-04 17:55:23 +00:00
Martin Kiewitz 6ea821fac7 SCI: adding selectors bottom and right
svn-id: r47876
2010-02-04 16:06:56 +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
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
Max Horn 4b19acf255 SCI: Use Common::List and Common::String to simplify breakpoint handling (untested)
svn-id: r47824
2010-02-02 22:52:41 +00:00
Max Horn 6c322506dd SCI: Move some code around (no code changes)
svn-id: r47823
2010-02-02 22:50:32 +00:00
Matthew Hoops 66b326d3e8 Add support in kString(Cpy) for copying to system strings. Also, stubbing kFileIO(19) to allow Torin to see the main menu. Some minor cleanup.
svn-id: r47820
2010-02-02 19:45:22 +00:00
Filippos Karapetis af6648fbb0 Try to make drmccoy happy again (is that even possible? :P )
svn-id: r47818
2010-02-02 17:33:52 +00:00
Filippos Karapetis e321654dcd Added a stub for kCreateTextBitmap, which shows the text that should be drawn on screen
svn-id: r47816
2010-02-02 17:20:21 +00:00
Filippos Karapetis 86408ae3bc Added an initial implementation of kGetHighPlanePri
svn-id: r47799
2010-02-01 17:04:20 +00:00
Lars Skovlund 16490ab64e Fix bug in kString(Printf)
svn-id: r47798
2010-02-01 16:58:17 +00:00
Matthew Hoops 7b34392aad Only compile in the SCI32 static selectors when ENABLE_SCI32 is set; minor cleanup.
svn-id: r47797
2010-02-01 16:42:10 +00:00
Martin Kiewitz 097b45db21 SCI: fix getLanguage - fixes gk1 german (day number blood writing at the start), thx to waltervn
svn-id: r47795
2010-02-01 13:27:20 +00:00
Martin Kiewitz a20f4ef1fc SCI: implemented reset for GfxMenu, not recreating object anymore
svn-id: r47793
2010-02-01 10:16:45 +00:00
Martin Kiewitz 845c245ff3 SCI: class menu renamed to GfxMenu - now getting called directly, also fix for loading savedgames
svn-id: r47792
2010-02-01 09:53:42 +00:00
Matthew Hoops c72c2ff711 kPlatform(0) should return the SCI platform number. Fixes playing AVI's in KQ7 Windows. Also, adding/updating detection entries for KQ7 Windows.
svn-id: r47791
2010-02-01 04:14:16 +00:00
Matthew Hoops af52e2caf0 Torin calls K_FILEIO_OPEN without a file mode to open with. Assume that it's opening the file for reading as it appears that it is just testing if it exists. Torin (and the demo) progress a little farther now.
svn-id: r47790
2010-02-01 03:59:48 +00:00
Walter van Niftrik b0b7764178 SCI: Add stub for kIntersections()
svn-id: r47784
2010-01-31 22:38:07 +00:00
Martin Kiewitz d31f696d1f SCI: rename Controls to GfxControls, gets directly called now
svn-id: r47783
2010-01-31 22:20:55 +00:00
Matthew Hoops 12d983eaf4 Make EngineState::getLanguage() check from the resource manager as to what language it has loaded before checking from what ScummVM has set and make kDoAudio use EngineState::getLanguage()
svn-id: r47782
2010-01-31 22:14:35 +00:00