summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2018-10-12 12:47:29 +0000
committerIan C <ianc@noddybox.co.uk>2018-10-12 12:47:29 +0000
commit2b841e24cde456666f6b1853360a7e7fbf6bebdc (patch)
tree00a7031709c3e222d7d18825d2d83fe165c1887e
parentda9b172b8abd44825d362a57c9209f8a6fdc6e5d (diff)
Some tweaks to the grav demo.
-rw-r--r--xd.c8
1 files 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),