2 // C++ Interface: physic
7 // Author: Tobias Glaesser <tobi.web@gmx.de>, (C) 2004
9 // Copyright: See COPYING file that comes with this distribution
13 #ifndef SUPERTUX_PHYSIC_H
14 #define SUPERTUX_PHYSIC_H
19 PH_VT, /* Vertical throw.*/
24 typedef struct physic_type
28 unsigned int start_time;
32 void physic_init(physic_type* pphysic);
33 int physic_get_state(physic_type* pphysic);
34 void physic_set_state(physic_type* pphysic, int nstate);
35 void physic_set_start_vy(physic_type* pphysic, float start_vy);
36 float physic_get_velocity(physic_type* pphysic);
37 float physic_get_max_distance(physic_type* pphysic);
38 unsigned int physic_get_max_time(physic_type* pphysic);
39 unsigned int physic_get_time_gone(physic_type* pphysic);
41 #endif /*SUPERTUX_PHYSIC_H*/