Johannes Schickel
0075fa2f98
GRAPHICS: Replace OverlayColor with uint16 in scaler code.
...
Scalers are actually fixed at 2Bpp right now and not at the
depth of OverlayColor.
2012-06-12 04:18:59 +02:00
Tarek Soliman
a4798602d7
JANITORIAL: Fix missing whitespace in pointer cast
...
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'
This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
Willem Jan Palenstijn
052177d136
COMMON: Remove some double-underscore defines (reserved)
2011-11-14 14:59:58 +01:00
Christoph Mallon
23a0f5318c
JANITORIAL: Remove trailing empty lines.
2011-08-07 13:53:33 +02:00
CeRiAl
d809756c8d
SCALERS: Fix Normal1xAspect scaler bug reported in bug #3313709
2011-06-14 22:43:28 +02:00
Willem Jan Palenstijn
a1f12c25ca
ARM: Fix normal2x scaler for width % 4 != 0
...
The first jump to 'thin:' didn't leave r14 (remaining width)
in the right state.
2011-06-10 21:31:03 +02:00
CeRiAl
ef3484646a
SCALERS: Fix for compiling for ARM without using ASM scalers
2011-06-10 21:30:45 +02:00
Alyssa Milburn
1529287082
GRAPHICS: Move comment to the right function.
2011-06-08 19:30:22 +02:00
strangerke
69b1485a22
GIT: Clean up: Suppress SVN tags, now useless
2011-05-12 01:16:22 +02:00
peres
6ddf6693ce
GRAPHICS: use the new interpolate16_5_3
2011-05-07 08:38:53 +09:00
peres
2dddcbf41d
GRAPHICS: implement the long awaited interpolate16_5_3
2011-05-07 08:38:32 +09:00
Johannes Schickel
71bdb86e02
Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".
...
For further discussion check here:
https://github.com/scummvm/scummvm/pull/16
Conflicts:
graphics/png.cpp
2011-05-01 16:54:45 +02:00
Ori Avtalion
9414d7a6e2
JANITORIAL: Reduce header dependencies in shared code
...
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Johannes Schickel
3fd919060c
GRPAHICS: Do not access Surface::bytesPerPixel anymore.
2011-04-17 20:58:08 +02:00
Johannes Schickel
39b993fb02
GRAPHICS: Prefer Surface::create taking a PixelFormat over the one taking a byte depth.
2011-04-17 16:24:52 +02:00
dhewg
d83a83ef50
JANITORIAL: Remove/comment unused vars
...
Found by GCC 4.6's -Wunused-but-set-variable
2011-03-29 21:57:56 +02:00
Johannes Schickel
f53f1af062
GRAPHICS: Adapt thumbnail code to grabPalette RGBA->RGB change.
2011-02-14 17:08:32 +01:00
Max Horn
ab039812e7
COMMON: OSystem now has a PaletteManager
...
svn-id: r55806
2011-02-07 17:52:38 +00:00
Max Horn
dbddd758d1
GRAPHICS: colour -> color
...
svn-id: r54287
2010-11-17 12:21:37 +00:00
Max Horn
7e7ad149c2
GRAPHICS: Cleanup advmame scaler code; don't include assert.h
...
svn-id: r54104
2010-11-07 00:37:04 +00:00
Johannes Schickel
2662d569d9
Fix long standing regression (introduced with r34053) in thumbnail scaling code for Hercules graphics.
...
svn-id: r50605
2010-07-02 22:38:42 +00:00
Filippos Karapetis
e22a75de99
Rewrote the handling of thumbnail creation for KQ6 Windows in rev #50600 , so that it recreates the screen buffer like the other workarounds above it (thanks to LordHoto for pointing this out)
...
svn-id: r50601
2010-07-02 19:04:44 +00:00
Filippos Karapetis
1beff1a599
Added a special case for KQ6 hires in the thumbnail creation code, which runs at a resolution of 640x440
...
svn-id: r50600
2010-07-02 16:52:09 +00:00
Johannes Schickel
d163686d2d
Document that the current Hercules mode thumbnail scaler code is pretty much aimed for SCUMM games.
...
svn-id: r48736
2010-04-19 20:44:25 +00:00
Johannes Schickel
498d1da182
Cleanup.
...
svn-id: r48735
2010-04-19 20:44:05 +00:00
Andre Heider
64cba2878a
Do not call OSystem::grabPalette() for 16bit modes, when the result is not used anyway for those modes.
...
svn-id: r48733
2010-04-19 20:37:20 +00:00
Robin Watts
9bb92eba9e
Fix for ARM Normal2xAspect scaler that was causing crashes when the screen
...
'shakes' (such as when the head/bomb goes of at the start of sam'n'max).
Was overwriting the end of the screen when asked to plot a non-multiple of
5 lines.
svn-id: r48690
2010-04-17 15:45:06 +00:00
Robin Watts
99e032e954
Fix missing definition of gBitFormat.
...
svn-id: r48213
2010-03-09 01:20:23 +00:00
Johannes Schickel
56bd4a6e18
Use a template for hq2x and hq3x instead of using #include and defines.
...
svn-id: r48197
2010-03-08 19:16:50 +00:00
Johannes Schickel
807f0223d7
Fix compilation.
...
svn-id: r48196
2010-03-08 19:07:31 +00:00
Max Horn
e90f074177
Add new aspect ratio scaler variant, based on the Normal2xAspect ARM code
...
svn-id: r48195
2010-03-08 10:32:45 +00:00
Max Horn
706769a3dc
Rewrite Normal1xAspect (untested, may be broken)
...
svn-id: r48194
2010-03-08 10:32:28 +00:00
Max Horn
569273040e
Remove redundant code
...
svn-id: r48193
2010-03-08 10:32:05 +00:00
Max Horn
2cdf8996f3
Rename PocketPCLandscapeAspect to Normal1xAspect and move it to
...
graphics/scaler/aspect.cpp
svn-id: r48192
2010-03-08 10:31:42 +00:00
Max Horn
0fc137cdf2
Rename PocketPCPortrait scaler to DownscaleHorizByThreeQuarters,
...
and move it to graphics/scaler.
svn-id: r48191
2010-03-08 10:31:09 +00:00
Max Horn
a558e60fec
SCALERS: Get rid of MAKE_WRAPPER; make RGBtoYUV internal
...
svn-id: r48189
2010-03-08 10:30:23 +00:00
Max Horn
78b6bed8db
Code formatting
...
svn-id: r48188
2010-03-08 10:29:52 +00:00
Max Horn
d239d5c2f8
SCALERS: Change 'bitformat' template params to 'colormasks';
...
get rid of some #defines
svn-id: r48187
2010-03-08 10:29:35 +00:00
Max Horn
28c6c600d4
Move some aspect ratio related stuff to graphics/scaler/aspect.h
...
svn-id: r48186
2010-03-08 10:29:00 +00:00
Johannes Schickel
aed02365ec
Strip trailing spaces/tabs.
...
svn-id: r47541
2010-01-25 01:39:44 +00:00
Arnaud Boutonné
1f79fd5788
Some more header modifications ("Graphic Adventure Engine" and the legal property paragraph)
...
svn-id: r47489
2010-01-23 22:50:24 +00:00
Max Horn
974b49ebfe
Put two of the WinCE downscalers into graphics/scaler/downscaler*, so that they can be used by multiple backends (more could be added as needed)
...
svn-id: r45974
2009-11-18 15:19:44 +00:00
Max Horn
5884ac58c6
Whitespace changes
...
svn-id: r44546
2009-10-02 20:21:07 +00:00
Andre Heider
fa3e257aa2
Removed the svn:executable property on non-executables
...
svn-id: r44444
2009-09-28 09:16:53 +00:00
Max Horn
37e51f1575
Fixed some (pedantic) warnings
...
svn-id: r44015
2009-09-08 22:03:07 +00:00
Johannes Schickel
84c1fc6399
Fix bug for non 8bpp indexed game screens in grabScreen565.
...
svn-id: r43796
2009-08-29 08:02:40 +00:00
Jody Northup
21e6438a50
changes to graphics/scaler/thumbnail_intern.cpp that escaped earlier 16-bit merge.
...
svn-id: r43788
2009-08-29 07:23:49 +00:00
Joost Peters
edaa4a0422
MIPSpro compilation fixes / workarounds (from a patch by Rainer Canavan)
...
The hashmap.h change is ugly, but so far the only thing found to work. Suggestions for a better "fix" appreciated!
svn-id: r43380
2009-08-14 17:18:03 +00:00
Max Horn
affbe86026
Patch #2818501 : enable scale2x mmx on x86_64
...
svn-id: r42918
2009-07-30 09:36:50 +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