This commit is contained in:
Paul 2001-06-08 18:30:39 +00:00
parent d0115c86f5
commit 15b2041480
2 changed files with 4 additions and 13 deletions

View File

@ -97,17 +97,7 @@ void CScrollyBackground::render()
sFrameHdr *fh;
int x,y,w,h;
switch(m_drawMode)
{
default:
case DRAWMODE_NORMAL:
smode=0;
break;
case DRAWMODE_ADDITIVE:
smode=1;
break;
}
smode=m_drawMode;
fh=m_sprites->getFrameHeader(m_frame);
w=(fh->W*m_scale)>>8;

View File

@ -39,8 +39,9 @@ class CScrollyBackground
public:
typedef enum
{
DRAWMODE_NORMAL,
DRAWMODE_ADDITIVE,
DRAWMODE_NORMAL=1,
DRAWMODE_ADDITIVE=1,
DRAWMODE_SUBTRACTIVE=2,
}DRAWMODE;
enum