|
|
|
@ -10,7 +10,7 @@
@@ -10,7 +10,7 @@
|
|
|
|
|
|
|
|
|
|
#define FLOOR_THICKNESS 200 |
|
|
|
|
#define MAX_ROPE_GRAB_LEN 80000 |
|
|
|
|
#define MIN_PHYSICS_STEP 2.0 |
|
|
|
|
#define MIN_PHYSICS_STEP 6.0 |
|
|
|
|
|
|
|
|
|
#define TIMESTEP_LENGTH 5.0 |
|
|
|
|
|
|
|
|
@ -57,6 +57,9 @@ void get_new_physics(Body **phys);
@@ -57,6 +57,9 @@ void get_new_physics(Body **phys);
|
|
|
|
|
void ratcheted_winch_motor_update(Motor* motor);
|
|
|
|
|
void winch_motor_update (struct motorstruct *motor);
|
|
|
|
|
|
|
|
|
|
/* object that draw.c watches */ |
|
|
|
|
struct draw_watcher draw_watch; |
|
|
|
|
|
|
|
|
|
// move the collision poly to the position of the player
|
|
|
|
|
void default_update_collision_poly(Body *body) { |
|
|
|
|
for (int i=0; i < body->collision_poly_size; i++) { |
|
|
|
@ -723,6 +726,7 @@ void next_level() {
@@ -723,6 +726,7 @@ void next_level() {
|
|
|
|
|
|
|
|
|
|
level += 1;; |
|
|
|
|
get_floor_ceiling(); |
|
|
|
|
draw_watch.best_time = get_best_time(); |
|
|
|
|
load_score_times("saves/times"); |
|
|
|
|
|
|
|
|
|
v = world.uniques_index[ROOM_W]->room->ceil.items[2]->collision_poly[0]; |
|
|
|
|