2023-10-20 08:31:31 +08:00
|
|
|
|
|
|
|
#ifndef SAMPSRV_MAIN_H
|
|
|
|
#define SAMPSRV_MAIN_H
|
|
|
|
|
2023-10-28 23:37:40 +08:00
|
|
|
#define DEFAULT_MAX_PLAYERS 50
|
|
|
|
#define DEFAULT_LISTEN_PORT 8192
|
|
|
|
|
2023-10-20 08:31:31 +08:00
|
|
|
// ------------
|
|
|
|
// VERSION INFO
|
|
|
|
// ------------
|
|
|
|
|
|
|
|
#define SAMP_VERSION "0.3.7-R2"
|
|
|
|
|
|
|
|
// ------------
|
|
|
|
// OS SPECIFICS
|
|
|
|
// ------------
|
|
|
|
|
|
|
|
#ifdef WIN32
|
|
|
|
#define WIN32_LEAN_AND_MEAN
|
|
|
|
|
|
|
|
#include <windows.h>
|
|
|
|
#include <time.h>
|
|
|
|
#else
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// --------
|
|
|
|
// INCLUDES
|
|
|
|
// --------
|
|
|
|
|
|
|
|
// Regular crap
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
2023-10-25 00:01:33 +08:00
|
|
|
// Std
|
|
|
|
#include <map>
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
#include "console.h"
|
|
|
|
|
2023-10-20 08:31:31 +08:00
|
|
|
void logprintf(char* format, ...);
|
|
|
|
|
2023-10-25 00:01:33 +08:00
|
|
|
#ifdef LINUX
|
|
|
|
char* strlwr(char* str);
|
|
|
|
#endif
|
|
|
|
|
2023-10-20 08:31:31 +08:00
|
|
|
#endif // SAMPSRV_MAIN_H
|