void init_trig(void);

float angle_to_radians(int angle);
int radians_to_angle(float angle);
fixed angle_to_fixed(int angle);
int grand(int number);
int crandom(int number);
int turn_towards_angle(int angle, int tangle, int turning);
int turn_towards_xy(int x1, int y1, int x2, int y2, int angle, int turning);
inline int xpart(int angle, int length);
inline int ypart(int angle, int length);
int pulsate(int speed, int amount, int county);
int angle_difference(int a1, int a2);

void error_message_out(const char *errm);
