SA-MP/server/main.h

49 lines
649 B
C++

#ifndef SAMPSRV_MAIN_H
#define SAMPSRV_MAIN_H
#define DEFAULT_MAX_PLAYERS 50
#define DEFAULT_LISTEN_PORT 8192
// ------------
// 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>
// Std
#include <map>
#include <string>
#include "console.h"
#include "netgame.h"
#include "plugins.h"
void logprintf(char* format, ...);
#ifdef LINUX
char* strlwr(char* str);
#endif
#endif // SAMPSRV_MAIN_H