[server] Add system.h header file

This commit is contained in:
RD42
2024-01-05 23:26:32 +08:00
parent d7e6dc039f
commit 3ab1451889
3 changed files with 28 additions and 0 deletions

View File

@ -72,6 +72,7 @@ typedef unsigned short PLAYERID;
typedef unsigned short ACTORID;
typedef unsigned short VEHICLEID;
#include "system.h"
#include "console.h"
#include "scrhttps.h"
#include "scrtimers.h"

View File

@ -320,6 +320,9 @@
<File
RelativePath=".\server.rc">
</File>
<File
RelativePath=".\system.h">
</File>
<File
RelativePath=".\textdrawpool.cpp">
</File>

24
server/system.h Normal file
View File

@ -0,0 +1,24 @@
#ifndef _SYSTEM_H
#define _SYSTEM_H
#ifdef _WIN32
# include <windows.h>
#else
#ifndef FALSE
#define FALSE 0
#endif
#ifndef TRUE
#define TRUE 1
#endif
typedef int BOOL;
typedef unsigned short WORD;
typedef unsigned long DWORD;
typedef char CHAR;
typedef char *PCHAR;
#endif //!Win32
#endif // _SYSTEM_H