Move server port to build settings

main
Cameron Murphy Reikes 2 years ago
parent 7c6dd0b22a
commit 3410df7941

@ -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

@ -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

Loading…
Cancel
Save