mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-01-03 16:13:34 +08:00
[saco] Implement/match IsHexChar(...)
This commit is contained in:
parent
41db70ac88
commit
966b759efc
@ -1849,6 +1849,16 @@ BOOL IsFileOrDirectoryExists(char * szPath)
|
|||||||
//----------------------------------------------------
|
//----------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
BOOL IsHexChar(char c)
|
||||||
|
{
|
||||||
|
return c >= '0' && c <= '9' || c >= 'A' && c <= 'F' || c >= 'a' && c <= 'f';
|
||||||
|
}
|
||||||
|
|
||||||
|
BOOL IsHexChar(wchar_t c)
|
||||||
|
{
|
||||||
|
return c >= '0' && c <= '9' || c >= 'A' && c <= 'F' || c >= 'a' && c <= 'f';
|
||||||
|
}
|
||||||
|
|
||||||
DWORD unnamed_100B6100(char *szString, int nMaxLen)
|
DWORD unnamed_100B6100(char *szString, int nMaxLen)
|
||||||
{
|
{
|
||||||
char tmp_buf[2049];
|
char tmp_buf[2049];
|
||||||
|
@ -64,3 +64,6 @@ int GetInvalidModelInfoCount();
|
|||||||
|
|
||||||
bool HasCollisionLoaded(VECTOR *vec);
|
bool HasCollisionLoaded(VECTOR *vec);
|
||||||
BOOL __stdcall IsATrainPart(ENTITY_TYPE *pEntity);
|
BOOL __stdcall IsATrainPart(ENTITY_TYPE *pEntity);
|
||||||
|
|
||||||
|
BOOL IsHexChar(char c);
|
||||||
|
BOOL IsHexChar(wchar_t c);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user