Commit Graph

37185 Commits

Author SHA1 Message Date
Johannes Schickel
b431e700d8 Fix bug in LoopingAudioStream::readBuffer, this makes the unit tests complete without any error.
svn-id: r47935
2010-02-06 16:42:15 +00:00
Johannes Schickel
e3d4d5e379 Add (currently failing :-/) unit tests for LoopingAudioStream.
svn-id: r47934
2010-02-06 16:41:53 +00:00
Johannes Schickel
4fca64d1b0 Move test AudioStream creation to a new file.
svn-id: r47933
2010-02-06 16:41:27 +00:00
Filippos Karapetis
2cfa5e428c Mark the sanity checks inside kernelSetNowSeen and kernelBaseSetter as hacks
svn-id: r47932
2010-02-06 16:30:32 +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
Filippos Karapetis
b12437bbfc Don't try and manipulate invalid views (i.e. views with view ID -1/65535, which are most likely the currently missing dynamically constructed text views). Torin chapter 1 starts now (and dies shortly afterwards, but that's a different issue)
svn-id: r47930
2010-02-06 15:58:59 +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
Arnaud Boutonné
59c351a3b2 Fascination: Fix lamp problem in parking lot.
svn-id: r47927
2010-02-06 08:10:56 +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
Matthew Hoops
f1f277d56d Add detection entry for KQ5 Mac. Also, make Mac and Amiga SCI1_EGA+ games default to MIDI as we don't (yet) support their patches. KQ5 Mac will start and go until the main menu.
svn-id: r47924
2010-02-06 01:38:00 +00:00
Martin Kiewitz
c7cbb80dc4 SCI: removing int8 from kernelSetNowSeen() as well, didnt make any sense :P
svn-id: r47923
2010-02-05 23:17:39 +00:00
Martin Kiewitz
bf82c49ce4 SCI: removing int8 inside kernelSetNowSeen as well, didnt make any sense :P
svn-id: r47922
2010-02-05 23:14:46 +00:00
Max Horn
4be44fe9a2 SCI: Get rid of the mysterious sign_extend_byte() and replace it by a simple cast ;)
svn-id: r47921
2010-02-05 22:56:27 +00:00
Max Horn
b0b89e788b SCI: Document GfxCompare::canBeHereCheckRectList; pass Common::Rect by ref
svn-id: r47920
2010-02-05 22:56:05 +00:00
Max Horn
d2871f925a SCI: Add comment to GfxCompare::canBeHereCheckRectList
svn-id: r47919
2010-02-05 22:55:41 +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
9b5363c0e4 SCI: moved control type enum
svn-id: r47915
2010-02-05 21:32:43 +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
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
969a048619 Silence a valgrind warning. The sound buffer should be created with malloc and not new[].
svn-id: r47896
2010-02-05 04:27:51 +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
Fabio Battaglia
822e59288f N64: remove some unused code
svn-id: r47886
2010-02-04 20:17:03 +00:00