Add missing credit for Esperanto translation
[neverball.git] / share / solid_all.h
blob6ae2f8f0befce94a328df4a83eb4b787d5d9fee7
1 #ifndef SOLID_ALL_H
2 #define SOLID_ALL_H
4 #include "solid_vary.h"
6 typedef void (*cmd_fn)(const union cmd *);
8 void sol_body_p(float p[3],
9 const struct s_vary *,
10 const struct v_body *,
11 float);
12 void sol_body_v(float v[3],
13 const struct s_vary *,
14 const struct v_body *,
15 float);
16 void sol_body_e(float e[3],
17 const struct s_vary *,
18 const struct v_body *,
19 float);
20 int sol_body_w(const struct s_vary *,
21 const struct v_body *);
23 void sol_rotate(float e[3][3], const float w[3], float dt);
25 void sol_pendulum(struct v_ball *up,
26 const float a[3],
27 const float g[3], float dt);
29 void sol_swch_step(struct s_vary *, cmd_fn, float dt, int ms);
30 void sol_move_step(struct s_vary *, cmd_fn, float dt, int ms);
31 void sol_ball_step(struct s_vary *, cmd_fn, float dt);
33 enum
35 JUMP_OUTSIDE = 0,
36 JUMP_INSIDE,
37 JUMP_TOUCH
40 enum
42 SWCH_OUTSIDE = 0,
43 SWCH_INSIDE,
44 SWCH_TOUCH
47 int sol_item_test(struct s_vary *, float *p, float item_r);
48 struct b_goal *sol_goal_test(struct s_vary *, float *p, int ui);
49 int sol_jump_test(struct s_vary *, float *p, int ui);
50 int sol_swch_test(struct s_vary *, cmd_fn, int ui);
52 #endif