From 87d4bdd0b67221d8ae6ff5e2b09c731f064c52fe Mon Sep 17 00:00:00 2001
From: DeaDDooMER <deaddoomer@deadsoftware.ru>
Date: Wed, 5 Apr 2017 23:33:37 +0300
Subject: [PATCH] =?utf8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D1=8B?=
 =?utf8?q?=20=D1=84=D0=B8=D0=B7=D0=B8=D1=87=D0=B5=D1=81=D0=BA=D0=B8=D0=B5?=
 =?utf8?q?=20=D0=BA=D0=BE=D0=BD=D1=81=D1=82=D0=B0=D0=BD=D1=82=D1=8B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

---
 game.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/game.c b/game.c
index 0c63246..2370692 100644
--- a/game.c
+++ b/game.c
@@ -6,17 +6,17 @@
 
 #include "game.h"
 
-#define SPEED      (0.015 / TICK)
+#define SPEED      (0.0005 / TICK)
 #define ROTATE     (0.03 / TICK)
 #define BULL_SPEED (0.4  / TICK)
 
-#define MAX_SPEED  (0.3 / TICK)
+#define MAX_SPEED  (0.1 / TICK)
 #define MAX_ROTATE (0.3 / TICK)
 
 // Цифры взяты с потолка, но вроде неплохо подобраны
-#define G      6.673e-4
-#define M_STAR 8.0
-#define M_SHIP 0.1
+#define G      6.6719199e-11
+#define M_STAR 3e8
+#define M_SHIP 0.001
 
 Player g_player[MAX_PLAYERS];
 Bullet g_bullet[MAX_BULLETS];
@@ -155,7 +155,7 @@ void g_update() {
 			checkspacebound(&g_bullet[i].x);
 			checkspacebound(&g_bullet[i].y);
 
-			//gravity(&g_bullet[i].vx, &g_bullet[i].vy, g_bullet[i].x, g_bullet[i].y);
+			gravity(&g_bullet[i].vx, &g_bullet[i].vy, g_bullet[i].x, g_bullet[i].y);
 
 			for(int j = 0; j < MAX_PLAYERS; j++)
 				if(g_player[j].live)
-- 
2.29.2