From 3410df7941bbe9b6bc4f9841c1f0f8102714639b Mon Sep 17 00:00:00 2001 From: Cameron Reikes Date: Thu, 8 Dec 2022 01:05:52 -0800 Subject: [PATCH] Move server port to build settings --- buildsettings.h | 3 ++- types.h | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/buildsettings.h b/buildsettings.h index 0a979dc..b8b10fe 100644 --- a/buildsettings.h +++ b/buildsettings.h @@ -1,9 +1,10 @@ #pragma once #ifdef SERVER_ADDRESS -#error Don't define server address from the build system, use the build settings header +#error Dont define server address from the build system, use the build settings header #endif +#define SERVER_PORT 2551 #ifdef DEBUG diff --git a/types.h b/types.h index 0d3cbd8..3ef3cbd 100644 --- a/types.h +++ b/types.h @@ -81,7 +81,6 @@ #define TIME_BETWEEN_SEND_GAMESTATE (1.0f / 20.0f) #define TIME_BETWEEN_INPUT_PACKETS (1.0f / 20.0f) #define TIMESTEP (1.0f / 60.0f) // server required to simulate at this, defines what tick the game is on -#define SERVER_PORT 2551 #define LOCAL_INPUT_QUEUE_MAX 90 // please god let you not have more than 90 frames of game latency #define INPUT_QUEUE_MAX 15