This commit is contained in:
Daveo 2001-08-14 17:07:16 +00:00
parent 6baaf136f5
commit fb2681fe0c
3 changed files with 4 additions and 4 deletions

View File

@ -1088,7 +1088,7 @@ void CNpcSeaSnakeEnemy::renderOnMapScreen( DVECTOR drawPos )
}
POLY_FT4 *Ft4= m_actorGfx->Render(drawPos,segmentType,0,0);
m_actorGfx->RotateScale( Ft4, drawPos, 0, 4096, segScale );
m_actorGfx->RotateScale( Ft4, drawPos, 0, 4096, segScale,true );
}
}

View File

@ -43,7 +43,7 @@ CLayerCollision::CLayerCollision(sLayerHdr *Hdr)
int TabH=MapHeight+COL_Y_OFS;
ColYTable=(u32*)MemAlloc(TabH*sizeof(u16),"ColYTable");
ColYTable=(int*)MemAlloc(TabH*sizeof(int),"ColYTable");
ASSERT(ColYTable);
for (int i=0; i<TabH; i++)

View File

@ -27,7 +27,7 @@ virtual ~CLayerCollision();
virtual void shutdown();
u32 GetYPos(int Y) {return(ColYTable[Y+COL_Y_OFS]);}
int GetYPos(int Y) {return(ColYTable[Y+COL_Y_OFS]);}
int getHeightFromGround(int _x,int _y,int _maxHeight=32);
int getHeightFromGroundExcluding(int _x,int _y,int _exclusion,int _maxHeight=32);
@ -72,7 +72,7 @@ protected:
u8 *Map;
static u8 s_collisionTable[];
u32 *ColYTable;
int *ColYTable;
};