mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-10 15:53:44 +01:00
[MIRROR] next grep, no spaces (#10548)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
16a213f699
commit
8d0febfbb6
@@ -59,15 +59,15 @@
|
||||
var/hsize = round(input_size/2)
|
||||
|
||||
/*
|
||||
(x,y+isize)----(x+hsize,y+isize)----(x+size,y+isize)
|
||||
| | |
|
||||
| | |
|
||||
| | |
|
||||
(x,y+hsize)----(x+hsize,y+hsize)----(x+isize,y)
|
||||
| | |
|
||||
| | |
|
||||
| | |
|
||||
(x,y)----------(x+hsize,y)----------(x+isize,y)
|
||||
* (x,y+isize)----(x+hsize,y+isize)----(x+size,y+isize)
|
||||
* | | |
|
||||
* | | |
|
||||
* | | |
|
||||
* (x,y+hsize)----(x+hsize,y+hsize)----(x+isize,y)
|
||||
* | | |
|
||||
* | | |
|
||||
* | | |
|
||||
* (x,y)----------(x+hsize,y)----------(x+isize,y)
|
||||
*/
|
||||
// Central edge values become average of corners.
|
||||
map[TRANSLATE_COORD(x+hsize,y+isize)] = round((\
|
||||
@@ -103,7 +103,7 @@
|
||||
map[current_cell] *= (rand(1,2)==1 ? (1.0-random_element) : (1.0+random_element))
|
||||
map[current_cell] = max(0,min(cell_range,map[current_cell]))
|
||||
|
||||
// Recurse until size is too small to subdivide.
|
||||
// Recurse until size is too small to subdivide.
|
||||
if(isize>3)
|
||||
if(!priority_process)
|
||||
CHECK_TICK
|
||||
|
||||
Reference in New Issue
Block a user