diff --git a/Flight.vcxproj b/Flight.vcxproj index 9aff11a..26ad283 100644 --- a/Flight.vcxproj +++ b/Flight.vcxproj @@ -71,6 +71,7 @@ v143 true Unicode + true diff --git a/buildsettings.h b/buildsettings.h index de6bef1..0af037c 100644 --- a/buildsettings.h +++ b/buildsettings.h @@ -14,11 +14,12 @@ #define ASSERT_DO_POPUP_AND_CRASH // #define SERVER_ADDRESS "207.246.80.160" -// #define PROFILING +#define PROFILING // #define DEBUG_RENDERING // #define DEBUG_WORLD #define UNLOCK_ALL -#define TIME_BETWEEN_WORLD_SAVE 1000000.0f +// #define TIME_BETWEEN_WORLD_SAVE 1000000.0f +#define TIME_BETWEEN_WORLD_SAVE 1.0f // #define INFINITE_RESOURCES #define DEBUG_TOOLS #define CHIPMUNK_INTEGRITY_CHECK diff --git a/flight.rdbg b/flight.rdbg index 993985d..a7738f4 100644 Binary files a/flight.rdbg and b/flight.rdbg differ diff --git a/gamestate.c b/gamestate.c index 79a7a7e..d5609f5 100644 --- a/gamestate.c +++ b/gamestate.c @@ -296,7 +296,7 @@ typedef struct QueryResult } QueryResult; static THREADLOCAL char query_result_data[128 * sizeof(QueryResult)] = {0}; // the data starts off NULL, on the first call sets it to result data -static THREADLOCAL Queue query_result = {.data_length = 128 * sizeof(QueryResult), .element_size = sizeof(cpShape *)}; +static THREADLOCAL Queue query_result = {.data_length = 128 * sizeof(QueryResult), .element_size = sizeof(QueryResult)}; static void shape_query_callback(cpShape *shape, cpContactPointSet *points, void *data) { diff --git a/types.h b/types.h index 78a791d..6a63cf1 100644 --- a/types.h +++ b/types.h @@ -39,7 +39,7 @@ #define ORB_HEAT_FORCE_MULTIPLIER 5.0 #define ORB_DRAG_CONSTANT 1.0 #define ORB_FROZEN_DRAG_CONSTANT 10.0 -#define ORB_HEAT_MAX_DETECTION_DIST 500.0 +#define ORB_HEAT_MAX_DETECTION_DIST 100.0 #define ORB_HEAL_RATE 0.2 #define ORB_MAX_FORCE 200.0