This commit is contained in:
parent
d0115c86f5
commit
15b2041480
@ -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;
|
||||
|
@ -39,8 +39,9 @@ class CScrollyBackground
|
||||
public:
|
||||
typedef enum
|
||||
{
|
||||
DRAWMODE_NORMAL,
|
||||
DRAWMODE_ADDITIVE,
|
||||
DRAWMODE_NORMAL=1,
|
||||
DRAWMODE_ADDITIVE=1,
|
||||
DRAWMODE_SUBTRACTIVE=2,
|
||||
}DRAWMODE;
|
||||
|
||||
enum
|
||||
|
Loading…
Reference in New Issue
Block a user