37103 Commits

Author SHA1 Message Date
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
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
Vladimir Menshakov
170c4c5c11 added fading in certain areas (bush in forest)
svn-id: r47872
2010-02-04 07:44:13 +00:00
Arnaud Boutonné
d5ce8b500e Fascination - Add detection for EN Atari version
svn-id: r47871
2010-02-04 00:12:00 +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
Arnaud Boutonné
7e166d1ad6 clean-up : forgot commented code
svn-id: r47869
2010-02-03 22:20:33 +00:00
Arnaud Boutonné
f5764b1152 Fascination - based on the theoritical values of flag, use getWindow instead of the code I added. Suppress shr 8 in getWindow and switched from int8 to uint16, in order to match the executable.
svn-id: r47868
2010-02-03 22:14:06 +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
Sven Hesse
51d0365818 Loosening the 2 samples per channel requirement of Apple_ADPCMStream to 1 sample per channel
svn-id: r47864
2010-02-03 19:55:14 +00:00
Johannes Schickel
87534da624 Remove code duplication.
svn-id: r47863
2010-02-03 17:03:46 +00:00
Johannes Schickel
5030ba3596 Add tests for RawStream's seek implementation.
svn-id: r47862
2010-02-03 16:57:46 +00:00
Johannes Schickel
9da2b4eac2 Add tests for stereo mode of RawStream.
svn-id: r47861
2010-02-03 16:02:25 +00:00
Johannes Schickel
8fcaa28a7f Test various sample rates with RawStream's getLength implementation (just in case...).
svn-id: r47860
2010-02-03 16:02:04 +00:00
Johannes Schickel
6312b690de Fix bug in RawStream::getLength for 16bit streams. (Uncovered by our new unit tests yay!)
svn-id: r47859
2010-02-03 15:45:54 +00:00
Johannes Schickel
2cb82808eb Add unit test for RawStream::getLength.
svn-id: r47858
2010-02-03 15:45:29 +00:00
Johannes Schickel
e9f831c1da Some additional tests of RawStream::readBuffer.
svn-id: r47857
2010-02-03 15:45:08 +00:00
Johannes Schickel
274f6e5033 Add test for rewind functionality of RawStream.
svn-id: r47856
2010-02-03 15:44:43 +00:00
Johannes Schickel
6b2e9be345 Add tests for unsigned sample data for RawStream.
svn-id: r47855
2010-02-03 15:25:06 +00:00
Johannes Schickel
a5e4741775 Less noisy output in case something goes wrong.
svn-id: r47854
2010-02-03 15:24:44 +00:00