added explicit extern specifiers to physics functions lacking them
parent
7a2cb3cd5c
commit
ead22d114c
|
@ -5,7 +5,6 @@
|
|||
|
||||
typedef struct object_t object_t;
|
||||
|
||||
typedef void(*collided_fn)(object_t*, struct object_t*);
|
||||
typedef void(*collided_fn)(object_t*, object_t*);
|
||||
typedef void(*solver_fn)(object_t* left, object_t* right);
|
||||
|
||||
|
@ -34,15 +33,16 @@ typedef struct physics_t {
|
|||
};
|
||||
} physics_t;
|
||||
|
||||
physics_t physics_default();
|
||||
extern physics_t physics_default();
|
||||
|
||||
void object_broadcast_evt_collision(object_t* this, object_t* other);
|
||||
extern void object_broadcast_evt_collision(object_t* this, object_t* other);
|
||||
|
||||
void physics_update();
|
||||
extern void physics_update();
|
||||
|
||||
void move_and_slide(object_t* this, float delta_time);
|
||||
|
||||
extern short can_collide(const object_t* this);
|
||||
|
||||
extern void solve_collision_slide(object_t* left, object_t* right);
|
||||
extern float get_solve_force(const object_t* this, const object_t* other, float* solve_x, float* solve_y);
|
||||
|
||||
|
|
Loading…
Reference in New Issue