Don't leak score board internals out to other code
[neverball] / ball / game_server.h
1 #ifndef GAME_SERVER_H
2 #define GAME_SERVER_H
3
4 #include "solid.h"
5 #include "fs.h"
6
7 /*---------------------------------------------------------------------------*/
8
9 #define RESPONSE    0.05f              /* Input smoothing time               */
10 #define ANGLE_BOUND 20.0f              /* Angle limit of floor tilting       */
11 #define VIEWR_BOUND 10.0f              /* Maximum rate of view rotation      */
12
13 /*---------------------------------------------------------------------------*/
14
15 int   game_server_init(const char *, int, int);
16 void  game_server_free(void);
17 void  game_server_step(float);
18
19 void  game_set_goal(void);
20 void  game_clr_goal(void);
21
22 void  game_set_ang(int, int);
23 void  game_set_pos(int, int);
24 void  game_set_x  (int);
25 void  game_set_z  (int);
26 void  game_set_cam(int);
27 void  game_set_rot(float);
28 void  game_set_fly(float, const struct s_file *);
29
30 /*---------------------------------------------------------------------------*/
31
32 int input_put(fs_file);
33 int input_get(fs_file);
34
35 /*---------------------------------------------------------------------------*/
36
37 #endif