From 2b841e24cde456666f6b1853360a7e7fbf6bebdc Mon Sep 17 00:00:00 2001 From: Ian C Date: Fri, 12 Oct 2018 12:47:29 +0000 Subject: Some tweaks to the grav demo. --- xd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xd.c b/xd.c index 8d043a7..51900cb 100644 --- a/xd.c +++ b/xd.c @@ -3904,9 +3904,9 @@ static void CatwalkDemo(void) /* ---------------------------------------- GRAVITY DEMO */ -#define GRAV_OBJ 20 +#define GRAV_OBJ 10 #define GRAV_TRAIL 200 -#define GRAV_SIZE 4 +#define GRAV_SIZE 100 static void GravityDemo(void) { @@ -3935,7 +3935,7 @@ static void GravityDemo(void) gravobj[f].y = centre_y; gravobj[f].dx = 0; gravobj[f].dy = 0; - gravobj[f].mass = 80; + gravobj[f].mass = 1000; } else { @@ -3960,7 +3960,7 @@ static void GravityDemo(void) gravobj[f].dy = (double)RND(10)/10.0; */ - gravobj[f].mass = RND2(10, 2); + gravobj[f].mass = 1; } gravobj[f].col = GetCol(RND2(255,128), -- cgit v1.2.3