580 Commits

Author SHA1 Message Date
Johannes Schickel
cf336367e5 Change SJIS code guard to also check whether dynamic plugins are enabled.
svn-id: r43318
2009-08-12 14:02:18 +00:00
Sven Hesse
1471f0e3dd When ESCing videos, seek to the last frame that was meant to be played. Fixes graphical glitches (bug #2830985) and crashes (bug #2830988)
svn-id: r42995
2009-08-02 10:40:27 +00:00
Johannes Schickel
f41b496255 Fixed missing clearing of the low bit of the alpha mask in the "dim" screen shading function.
svn-id: r42935
2009-07-30 16:51:53 +00:00
Johannes Schickel
8c323b6bb8 Fix bug #2829737: "GUI: Wrong background colours on dialog screens (IRIX)".
svn-id: r42934
2009-07-30 16:43:25 +00:00
Max Horn
affbe86026 Patch #2818501: enable scale2x mmx on x86_64
svn-id: r42918
2009-07-30 09:36:50 +00:00
Sven Hesse
5213cf9aa2 Adding a SoundType parameter to SmackerDecoder, defaulting to kSFXSoundType
svn-id: r42887
2009-07-29 10:17:44 +00:00
Sven Hesse
f5e9aa67c4 Changing stuff around a bit so alignment requirements won't increase
svn-id: r42857
2009-07-28 15:19:55 +00:00
Sven Hesse
14114bf397 Abstracting off the block types from Imd::renderFrame() and Vmd::renderFrame()
svn-id: r42851
2009-07-27 19:01:17 +00:00
Johannes Schickel
d165f85a58 Formatting.
svn-id: r42844
2009-07-27 17:04:06 +00:00
Robin Watts
816bd9a7ea Add ARM code version of Normal2x scaler.
Add ARM only aspect ratio correcting version of Normal2x scaler.

Make WinCE port use Normal2x by default if the screen is large enough.
Make WinCE port use aspect ratio correcting version if panel is hidden.

svn-id: r42843
2009-07-27 16:29:36 +00:00
Johannes Schickel
df7e4ad7ec Add a todo to FontSJIS::drawChar taking an Graphics::Surface.
svn-id: r42824
2009-07-26 14:40:44 +00:00
Johannes Schickel
d1fed5cee1 Instead of only printing a warning, when no SJIS char data is present, just return to the caller.
svn-id: r42823
2009-07-26 14:40:03 +00:00
Johannes Schickel
4b27c43b0a Reflect code to test the magic bytes in the sjis.fnt header.
svn-id: r42821
2009-07-26 14:19:02 +00:00
Johannes Schickel
ec67b583b0 Add way to overwrite default SJIS font.
svn-id: r42819
2009-07-26 14:18:34 +00:00
Johannes Schickel
be9c906c72 Specify that the chars passed to FontSJIS::drawChar should be little endian.
svn-id: r42818
2009-07-26 14:18:21 +00:00
Johannes Schickel
15662b3cfb Print warning, when client code does try to draw an unsupported SJIS char.
svn-id: r42817
2009-07-26 14:18:06 +00:00
Johannes Schickel
ebc74a7c9b Add a factory method, which tries to open different SJIS fonts/ROMs and returns a font for the first present data.
svn-id: r42816
2009-07-26 14:17:54 +00:00
Johannes Schickel
cb960ad976 Change the way the font data for SJIS fonts is load.
svn-id: r42815
2009-07-26 14:17:40 +00:00
Johannes Schickel
0a612f40eb Add support for our custom SJIS font.
svn-id: r42813
2009-07-26 14:17:06 +00:00
Johannes Schickel
712e0c80ea Create base class FontSJIS16x16 for our own SJIS font.
svn-id: r42812
2009-07-26 14:16:51 +00:00
Sven Hesse
997f7b9a3b Reverting my fix for bug #2037158 ("In-Game animation shifted(?)"), because it breaks Woodruff's intro
svn-id: r42809
2009-07-26 13:50:18 +00:00
Sven Hesse
32d74a2247 Adding more sanity checks to Vmd::renderFrame()
svn-id: r42783
2009-07-25 18:44:24 +00:00
Sven Hesse
8d9e3de37c Adding support for (new-style) stereo in DPCM audio
svn-id: r42782
2009-07-25 18:44:06 +00:00
Sven Hesse
6de1975b65 Fixing Woodruff videos again after enabling block type 2 transparency
svn-id: r42768
2009-07-25 16:09:19 +00:00
Sven Hesse
3668895abc CoktelVideo cleanup: Splitting up some IMD methods and removing the obsolete notifyPaused()
svn-id: r42715
2009-07-24 21:36:42 +00:00
Sven Hesse
54b63ac239 Moving all implementations into the cpp
svn-id: r42714
2009-07-24 21:36:16 +00:00
Sven Hesse
c4baedc6db Renaming getAnchor() to getFrameCoords()
svn-id: r42713
2009-07-24 21:35:57 +00:00
Sven Hesse
8396e20713 Fixing bytes per pixel detection
svn-id: r42712
2009-07-24 21:35:06 +00:00
Sven Hesse
b2154f612d Adding stubs for newer VMDs found in Addy 5
svn-id: r42710
2009-07-24 21:34:17 +00:00
Sven Hesse
6e79ba66c9 Properly reading the video codec fourcc, in case we need other codecs in the future
svn-id: r42708
2009-07-24 21:33:22 +00:00
Sven Hesse
bf768ecfb7 Calculating the number of data bytes per initial sound slice, because relying on the standard amount doesn't work for some videos
svn-id: r42707
2009-07-24 21:32:45 +00:00
Sven Hesse
adc537161a Adding subtitle support to Woodruff
svn-id: r42705
2009-07-24 21:31:00 +00:00
Sven Hesse
44fb798a3a Adding support for ADPCM sound data (yet another IMA ADPCM variant). What we've called ADPCM before is more like DPCM
svn-id: r42704
2009-07-24 21:29:41 +00:00
Sven Hesse
c78ed9e423 Adding transparency for VMD video block type 2, fixing bug #2037158 ("n-Game animation shifted(?)"). The problem was that the animation in question has an one pixel wide transparent bar on the left
svn-id: r42690
2009-07-24 10:45:25 +00:00
Robin Watts
64ebb586cd Add ARM code implementation of Scaler2x, and enable it for the WinCE
port.

svn-id: r42645
2009-07-21 19:39:24 +00:00
Vicent Marti
af289bdb03 Fixed bug 2820514 ("Help dialog causes crash")
svn-id: r42537
2009-07-16 17:29:31 +00:00
Johannes Schickel
16c949d24a Formatting.
svn-id: r42530
2009-07-16 11:41:45 +00:00
Vicent Marti
40d8209bca Fixed issue with beveled shapes being drawn outside their shapes. Possible regressions.
svn-id: r42529
2009-07-16 11:37:36 +00:00
Max Horn
6b98c4c4e7 Got rid of some more ioFailed uses (also fixed a potential leak in graphics/font.cpp, and handle eos correctly in the FLAC code)
svn-id: r42488
2009-07-14 18:24:20 +00:00
Johannes Schickel
96abaaea6d Fix possible memory leak.
svn-id: r42487
2009-07-14 18:15:07 +00:00
Johannes Schickel
3f1563c819 Got rid of ioFailed in font code, also added another check for err() when loading bdf fonts from text files.
svn-id: r42486
2009-07-14 18:14:20 +00:00
Torbjörn Andersson
aa50dd61e9 Got rid of ioFailed(). I haven't actually tested it, but we don't use the MPEG
decoder at the moment, and it was only used in the BACKEND_8BIT case anyway.

svn-id: r42484
2009-07-14 16:45:18 +00:00
Sven Hesse
aac58c80cc Removing ioFailed() usage and fixing a leak in case of error
svn-id: r42469
2009-07-14 08:57:55 +00:00
Filippos Karapetis
a0a675e42d Reverted commit #42257, as the original issue was with the compilation process of MSVC and the ENABLE_* checks work correctly
svn-id: r42289
2009-07-09 15:15:49 +00:00
Sven Hesse
8a7a81ed30 Warn instead of crash when a video frame part was found although the header says there's no video
svn-id: r42286
2009-07-09 09:39:51 +00:00
Filippos Karapetis
570d157ff3 The ENABLE_* flags are only checked for *.cpp files in MSVC, so move the ENABLE_* checks to sjis.cpp to fix compilation under MSVC
svn-id: r42257
2009-07-08 07:13:56 +00:00
Johannes Schickel
832540f64f Simply compile guard of SJIS code and fix comment.
svn-id: r42234
2009-07-07 19:18:32 +00:00
Johannes Schickel
2a117d9a90 Add guards to only include SJIS font code, when KYRA or SCI is enabled.
svn-id: r42233
2009-07-07 19:00:51 +00:00
Johannes Schickel
e35dd4df1c Change "FM-Towns" to "FM-TOWNS" for consistency.
svn-id: r42232
2009-07-07 19:00:39 +00:00
Johannes Schickel
8c65d4d4a9 - Rename FontSJIS::enableShadow to enableOutline.
- Initialize outline to false by default in FontTowns.

svn-id: r42231
2009-07-07 18:17:30 +00:00