Searched refs:Xdiv (Results 1 – 10 of 10) sorted by relevance
183 short Xdiv; member293 int InitBkg(EERIE_BACKGROUND * eb, short sx, short sz, short Xdiv, short Zdiv);
323 rx = poss.x - ((float)px * ACTIVEBKG->Xdiv); in CheckInPoly()435 rx = poss.x - ((float)px * ACTIVEBKG->Xdiv); in CheckInPolyPrecis()1700 int InitBkg(EERIE_BACKGROUND * eb, short sx, short sz, short Xdiv, short Zdiv) { in InitBkg() argument1717 if (Xdiv < 0) Xdiv = 1; in InitBkg()1719 if (Zdiv < 0) Xdiv = 1; in InitBkg()1721 eb->Xdiv = Xdiv; in InitBkg()1723 eb->Xmul = 1.f / (float)eb->Xdiv; in InitBkg()1833 bb.min.x = (float)i * ACTIVEBKG->Xdiv - 10; in EERIEPOLY_Compute_PolyIn()1834 bb.max.x = (float)bb.min.x + ACTIVEBKG->Xdiv + 20; in EERIEPOLY_Compute_PolyIn()
38 Xdiv.c
196 float xsub=((float)depx)*this->background->Xdiv;247 xsub+=this->background->Xdiv;
1113 pos.x = (float)((float)((float)i) * (float)eb->Xdiv); in AnchorData_Create_Phase_II_Original_Method()1148 currcyl.origin.x = pos.x + pposx * eb->Xdiv; in AnchorData_Create_Phase_II_Original_Method()1272 pos.x = (float)((float)((float)i + 0.33f * (float)divvx) * (float)eb->Xdiv); in AnchorData_Create()
591 float fx0 = ACTIVEBKG->Xdiv * (float)x0; in PrecalcDynamicLighting()593 float fx1 = ACTIVEBKG->Xdiv * (float)x1; in PrecalcDynamicLighting()
732 … mse->cub.xmin) * ( 1.0f / 2 ) + ((float)ACTIVEBKG->Xsize * (float)ACTIVEBKG->Xdiv) * ( 1.0f / 2 ); in DanaeLoadLevel()
1856 float xx=((float)x+0.5f)*ACTIVEBKG->Xdiv; in ComputeTileLights()
577 vxx = ((float)i * (float)m_activeBkg->Xdiv * m_modX); in drawBackground()
1820 …e->cub.xmin-(mse->cub.xmax-mse->cub.xmin)*.5f+((float)ACTIVEBKG->Xsize*(float)ACTIVEBKG->Xdiv)*.5f; in FirstFrameHandling()