19 lines
372 B
C++
19 lines
372 B
C++
#pragma once
|
|
#include <cstdint>
|
|
#include <deerith/core/log.h>
|
|
|
|
#define world_SIMULATION_TICK_FREQ 50
|
|
#define NETWORK_RELATIVE_TICK 2
|
|
|
|
#define NETWORK_DELAY 10
|
|
|
|
namespace deerith
|
|
{
|
|
using id_t = uint32_t;
|
|
|
|
void init_engine();
|
|
void shutdown_engine();
|
|
|
|
bool execute_client(const char *server_executable_path, int port);
|
|
void shutdown_executing_servers();
|
|
} |