Release with radar

main
Cameron Murphy Reikes 2 years ago
parent dc05af2834
commit 86fa62ce1d

@ -6,7 +6,7 @@
#define SERVER_PORT 2551 #define SERVER_PORT 2551
// must be unsigned integer // must be unsigned integer
#define GIT_RELEASE_TAG 25 #define GIT_RELEASE_TAG 26
#ifdef DEBUG #ifdef DEBUG

@ -288,7 +288,7 @@ typedef struct QueryResult
cpVect pointA; cpVect pointA;
cpVect pointB; cpVect pointB;
} QueryResult; } QueryResult;
static THREADLOCAL char query_result_data[QUEUE_SIZE_FOR_ELEMENTS(sizeof(QueryResult), 128)] = {0}; static THREADLOCAL char query_result_data[QUEUE_SIZE_FOR_ELEMENTS(sizeof(QueryResult), 256)] = {0};
// the data starts off NULL, on the first call sets it to result data // the data starts off NULL, on the first call sets it to result data
static THREADLOCAL Queue query_result = {0}; static THREADLOCAL Queue query_result = {0};
@ -3157,7 +3157,7 @@ void process(struct GameState *gs, double dt)
*/ */
circle_query(gs->space, entity_pos(cur_box), SCANNER_MAX_RANGE); circle_query(gs->space, entity_pos(cur_box), SCANNER_MAX_RANGE);
cpBody *body_results[128] = {0}; cpBody *body_results[512] = {0};
size_t cur_results_len = 0; size_t cur_results_len = 0;
QUEUE_ITER(&query_result, QueryResult, res) QUEUE_ITER(&query_result, QueryResult, res)

@ -89,7 +89,6 @@
#define TIME_BETWEEN_WORLD_SAVE 30.0f #define TIME_BETWEEN_WORLD_SAVE 30.0f
#endif #endif
#define BOMB_EXPLOSION_PUSH 5.0f #define BOMB_EXPLOSION_PUSH 5.0f
#define BOMB_EXPLOSION_RADIUS 1.0f #define BOMB_EXPLOSION_RADIUS 1.0f

Loading…
Cancel
Save