From ebf5e2a433ad46fe5caf57502cc375f28e8cda98 Mon Sep 17 00:00:00 2001 From: Cameron Reikes Date: Sat, 14 Jan 2023 15:21:44 -0800 Subject: [PATCH] Scanner fix and thrust tuning --- buildsettings.h | 8 ++++---- flight.rdbg | Bin 1618 -> 1731 bytes gamestate.c | 3 ++- types.h | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/buildsettings.h b/buildsettings.h index 0c44b31..cfe945b 100644 --- a/buildsettings.h +++ b/buildsettings.h @@ -15,19 +15,19 @@ // #define SERVER_ADDRESS "207.246.80.160" #define CONSOLE_CREATE -#define PROFILING +// #define PROFILING // Intensive profiling means profiling a lot of little tiny stuff. Not always enabled because tanks performance // #define INTENSIVE_PROFILING // #define DEBUG_RENDERING -#define DEBUG_WORLD -#define UNLOCK_ALL +// #define DEBUG_WORLD +// #define UNLOCK_ALL #define TIME_BETWEEN_WORLD_SAVE 1000000.0f // #define TIME_BETWEEN_WORLD_SAVE 1.0f // #define INFINITE_RESOURCES #define DEBUG_TOOLS #define CHIPMUNK_INTEGRITY_CHECK // #define FAT_THRUSTERS -#define NO_GRAVITY +// #define NO_GRAVITY // #define NO_SUNS #else diff --git a/flight.rdbg b/flight.rdbg index 4a0966ec0fa5ec8b645c676dc21be343b9e13d0b..4c5a69e9507ffc231da88e0dc4cc0f5f6010f694 100644 GIT binary patch delta 151 zcmcb_bC`F-Qf5Zx$;+5)C$D6-^z-LsU|?ckU=RZ0(&E(kl8nsa_>|O=)Z~)P{5)x( zXmV*$d{Taet{p@)H6^|vC$S_yFEhEA87N(Du-Y7knJ2rm=x#1x31Q>`Nr5mU10&Pq ai>!*1AF#541sNF`Ie_9YL5|5vYz6@RRwuat delta 100 zcmX@idx>YmQf4M5hRKR7){`GGJE|};Ffi}~ac*gGNqk0PS!#T7Mq)uK6Hut!V6{02 rGfiH_qRYrUIgizLvm~n!BR5DAgc%taCl|6QO^#*bVT7detected_platonics[i] = detections[detections_i]; cur_box->detected_platonics[i].intensity = max(0.1, 1.0 - clamp01(cur_box->detected_platonics[i].intensity / 100.0)); + break; } } } @@ -3447,7 +3449,6 @@ void process(struct GameState *gs, double dt) if (cur_potential_platonic->is_platonic) { kind = Platonic; - break; } } } diff --git a/types.h b/types.h index 0071c0e..36348f8 100644 --- a/types.h +++ b/types.h @@ -54,7 +54,7 @@ #define BOX_MASS 1.0 #define COLLISION_DAMAGE_SCALING 0.15 -#define THRUSTER_FORCE 24.0 +#define THRUSTER_FORCE 34.0 #define THRUSTER_ENERGY_USED_PER_SECOND 0.005 #define THRUSTER_DAMAGE_PER_SEC 2.0