share/gui: don't use less of widget width for truncation than available
[neverball] / share / solid_phys.h
1 /*
2  * Copyright (C) 2003 Robert Kooima
3  *
4  * NEVERBALL is  free software; you can redistribute  it and/or modify
5  * it under the  terms of the GNU General  Public License as published
6  * by the Free  Software Foundation; either version 2  of the License,
7  * or (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful, but
10  * WITHOUT  ANY  WARRANTY;  without   even  the  implied  warranty  of
11  * MERCHANTABILITY or  FITNESS FOR A PARTICULAR PURPOSE.   See the GNU
12  * General Public License for more details.
13  */
14
15 #ifndef SOL_PHYS_H
16 #define SOL_PHYS_H
17
18 #include "solid.h"
19 #include "cmd.h"
20
21 /*---------------------------------------------------------------------------*/
22
23 void sol_body_p(float p[3], const struct s_file *, const struct s_body *);
24
25 /*---------------------------------------------------------------------------*/
26
27 float sol_step(struct s_file *, const float *, float, int, int *);
28
29 int   sol_jump_test(struct s_file *, float *, int);
30 int   sol_swch_test(struct s_file *, int);
31
32 struct s_goal *sol_goal_test(struct s_file *, float *, int);
33 int            sol_item_test(struct s_file *, float *, float);
34
35 /*---------------------------------------------------------------------------*/
36
37 void sol_cmd_enq_func(void (*enq_fn) (const union cmd *));
38
39 /*---------------------------------------------------------------------------*/
40
41 #endif