Lines Matching refs:worldHeight
162 const int32_t worldHeight = world.h(); in Generate() local
164 spriteArea.resize( worldWidth, worldHeight ); in Generate()
167 for ( int32_t yy = 0; yy < worldHeight; ++yy ) { in Generate()
189 if ( worldWidth < worldHeight ) { in Generate()
190 new_sz.width = ( worldWidth * area.height ) / worldHeight; in Generate()
195 else if ( worldWidth > worldHeight ) { in Generate()
197 new_sz.height = ( worldHeight * area.width ) / worldWidth; in Generate()
272 const int32_t worldHeight = world.h(); in RedrawObjects() local
277 int stepy = worldHeight / rect.height; in RedrawObjects()
286 if ( worldWidth >= worldHeight ) in RedrawObjects()
289 sw = GetChunkSize( areah, worldHeight ); in RedrawObjects()
294 for ( int32_t y = 0; y < worldHeight; y += stepy ) { in RedrawObjects()
295 const int dsty = offsetY + ( y * areah ) / worldHeight; // calculate once per row in RedrawObjects()