#include <trgen.h>
Classes | |
struct | slope_approach_style |
Enumerations | |
enum | which_side { MINE, OPPONENTS } |
enum | which_set_of_oranges { NEAR_PLAYGROUND_BOUNDARY, NEAR_PLAYGROUND_CENTER } |
Functions | |
double | x_coord (double x, enum which_side) |
struct corn * | choose_next_corn () |
double | get_point_to_line_distance (const Point &p, const Point &lp1, const Point &lp2) |
Computes and returns line to point distance. | |
Pos * | get_corn_approach_position (struct corn *corn) |
void | remove_wall_around_corn (const double x, const double y) |
enum which_set_of_oranges |
enum which_side |
struct corn* choose_next_corn | ( | ) | [read] |
Computes and returns line to point distance.
[in] | p | the point coords |
[in] | lp1 | coords of one of the points on the line |
[in] | lp2 | coords of the second point on the line |
void remove_wall_around_corn | ( | const double | x, | |
const double | y | |||
) |
double x_coord | ( | double | x, | |
enum | which_side | |||
) |