diff options
author | Ian C <ianc@noddybox.co.uk> | 2018-10-12 12:47:29 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2018-10-12 12:47:29 +0000 |
commit | 2b841e24cde456666f6b1853360a7e7fbf6bebdc (patch) | |
tree | 00a7031709c3e222d7d18825d2d83fe165c1887e /xd.c | |
parent | da9b172b8abd44825d362a57c9209f8a6fdc6e5d (diff) |
Some tweaks to the grav demo.
Diffstat (limited to 'xd.c')
-rw-r--r-- | xd.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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), |