Home
last modified time | relevance | path

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

/dports/games/freeminer/freeminer-0.4.10.4/src/
H A Dmg_decoration.cpp79 int carea_size = nmax.X - nmin.X + 1; in placeDeco() local
82 if (carea_size % sidelen) { in placeDeco()
84 "sidelen; setting sidelen to " << carea_size << std::endl; in placeDeco()
85 sidelen = carea_size; in placeDeco()
88 s16 divlen = carea_size / sidelen; in placeDeco()
116 int mapindex = carea_size * (z - nmin.Z) + (x - nmin.X); in placeDeco()
/dports/games/minetest/minetest-5.4.1/src/mapgen/
H A Dmg_decoration.cpp140 int carea_size = nmax.X - nmin.X + 1; in placeDeco() local
144 if (carea_size % sidelen) in placeDeco()
145 sidelen = carea_size; in placeDeco()
147 s16 divlen = carea_size / sidelen; in placeDeco()
202 int mapindex = carea_size * (z - nmin.Z) + (x - nmin.X); in placeDeco()