Home
last modified time | relevance | path

Searched refs:randNum3 (Results 1 – 1 of 1) sorted by relevance

/dports/games/dunelegacy/dunelegacy-0.96.4/src/
H A DMapSeed.cpp234 Uint16 randNum3; in createMapWithSeed() local
383 randNum3 = SeedRand() & 0xFF; in createMapWithSeed()
385 point.x = point.x + (((sinus[randNum3] * randNum2) >> 7) << 4); in createMapWithSeed()
386 point.y = point.y + ((((-1) * sinus[(randNum3+64) % 256] * randNum2) >> 7) << 4); in createMapWithSeed()