-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstuff.h
More file actions
23 lines (20 loc) · 896 Bytes
/
stuff.h
File metadata and controls
23 lines (20 loc) · 896 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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);
int delta_turn_towards_angle(int angle, int tangle, int turning);
int delta_turn_towards_xy(int x1, int y1, int x2, int y2, int angle, int turning);
int turn_towards_xy_forbid(int x1, int y1, int x2, int y2, int angle, int turning, int forbid);
int pos_or_neg(int a);
char coin(void);
inline int fxpart(float angle, int length);
inline int fypart(float angle, int length);