Euphoria
|
table_bool.h
Go to the documentation of this file.
Definition: argparse.cc:45
void make_smoother(BoolTable *world, Lrud< OutsideRule > outside_rule, std::function< std::optional< bool >(bool, const WallCounter &)> smooth_function)
Definition: table_bool.cc:327
@ empty
@ mirror
int count_walls_manhattan(const BoolTable &world, Lrud< OutsideRule > outside_rule, int cx, int cy, int step, bool include_self)
Definition: table_bool.cc:146
@ manhattan
void set_white_noise(BoolTable *world, Lrud< BorderSetupRule > border_control, std::function< bool()> rng)
Definition: table_bool.cc:11
int count_walls_box(const BoolTable &world, Lrud< OutsideRule > outside_rule, int cx, int cy, int step, bool include_self)
Definition: table_bool.cc:222
std::vector< vec2i > find_flood_fill_items(const BoolTable &world, const vec2i &start, bool allow_diagonals)
Definition: table_bool.cc:366
std::vector< vec2i > find_empty_blocks(const BoolTable &world)
Definition: table_bool.cc:346
int count_walls_plus(const BoolTable &world, Lrud< OutsideRule > outside_rule, int cx, int cy, int step, bool include_self)
Definition: table_bool.cc:183
Image draw(const BoolTable &world, Rgbai wall_color, Rgbai space_color, int scale, std::optional< BorderSettings > border)
Definition: table_bool.cc:459
@ always_empty
@ always_wall
std::vector< std::vector< vec2i > > find_empty_regions(const BoolTable &world, bool allow_diagonals)
Definition: table_bool.cc:422
Definition: table_bool.h:148
Definition: image.h:29
Definition: table.h:18
Definition: table_bool.h:98
WallCounter(const BoolTable &w, Lrud< core::OutsideRule > r, int x, int y)
Definition: table_bool.cc:255
int count(int step, bool include_self, NeighborhoodAlgorithm algorithm) const
Definition: table_bool.cc:306
Lrud< core::OutsideRule > outside_rule
Definition: table_bool.h:100