- Added new patch style "Overlay" for TEXTURES. This is the same as CopyAlpha, except it only

copies the patch's alpha channel where it has a higher alpha than what's underneath.

SVN r3638 (trunk)
This commit is contained in:
Randy Heit 2012-05-11 02:26:50 +00:00
commit 37001d3640
3 changed files with 11 additions and 1 deletions

View file

@ -206,6 +206,7 @@ static const CopyFunc copyfuncs[][9]={
COPY_FUNCS(bModulate),
COPY_FUNCS(bCopyAlpha),
COPY_FUNCS(bCopyNewAlpha),
COPY_FUNCS(bOverlay),
COPY_FUNCS(bOverwrite)
};
#undef COPY_FUNCS
@ -422,6 +423,7 @@ static const CopyPalettedFunc copypalettedfuncs[]=
iCopyPaletted<cBGRA, bModulate>,
iCopyPaletted<cBGRA, bCopyAlpha>,
iCopyPaletted<cBGRA, bCopyNewAlpha>,
iCopyPaletted<cBGRA, bOverlay>,
iCopyPaletted<cBGRA, bOverwrite>
};