This commit is contained in:
parent
6baaf136f5
commit
fb2681fe0c
@ -1088,7 +1088,7 @@ void CNpcSeaSnakeEnemy::renderOnMapScreen( DVECTOR drawPos )
|
|||||||
}
|
}
|
||||||
|
|
||||||
POLY_FT4 *Ft4= m_actorGfx->Render(drawPos,segmentType,0,0);
|
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 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ CLayerCollision::CLayerCollision(sLayerHdr *Hdr)
|
|||||||
|
|
||||||
int TabH=MapHeight+COL_Y_OFS;
|
int TabH=MapHeight+COL_Y_OFS;
|
||||||
|
|
||||||
ColYTable=(u32*)MemAlloc(TabH*sizeof(u16),"ColYTable");
|
ColYTable=(int*)MemAlloc(TabH*sizeof(int),"ColYTable");
|
||||||
ASSERT(ColYTable);
|
ASSERT(ColYTable);
|
||||||
|
|
||||||
for (int i=0; i<TabH; i++)
|
for (int i=0; i<TabH; i++)
|
||||||
|
@ -27,7 +27,7 @@ virtual ~CLayerCollision();
|
|||||||
|
|
||||||
virtual void shutdown();
|
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 getHeightFromGround(int _x,int _y,int _maxHeight=32);
|
||||||
int getHeightFromGroundExcluding(int _x,int _y,int _exclusion,int _maxHeight=32);
|
int getHeightFromGroundExcluding(int _x,int _y,int _exclusion,int _maxHeight=32);
|
||||||
@ -72,7 +72,7 @@ protected:
|
|||||||
u8 *Map;
|
u8 *Map;
|
||||||
|
|
||||||
static u8 s_collisionTable[];
|
static u8 s_collisionTable[];
|
||||||
u32 *ColYTable;
|
int *ColYTable;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user