mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-11 17:58:16 +08:00
[saco] Implement CRC32FromUpcaseString(...)
This commit is contained in:
1 parent
402d3944e1
commit
67f4e5ba51
2 files changed
+16
No files matched your search
@@ -1437,6 +1437,21 @@ BYTE __stdcall FindPlayerNumFromPedPtr(DWORD dwPedPtr)
|
||||
|
||||
|
||||
|
||||
DWORD CRC32FromUpcaseString(char *szString)
|
||||
{
|
||||
DWORD dwResult = 0;
|
||||
|
||||
_asm push szString
|
||||
_asm mov edx, 0x53CF30
|
||||
_asm call edx
|
||||
_asm mov dwResult, eax
|
||||
_asm pop edx
|
||||
|
||||
return dwResult;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
bool unnamed_100B4B50(VECTOR *vecPos)
|
||||
|
||||
@@ -40,6 +40,7 @@ float __stdcall SquaredDistanceBetweenPoints(float x1, float y1, float z1, float
|
||||
float __stdcall SquaredDistanceBetweenPoints(VECTOR *vec1, VECTOR *vec2);
|
||||
|
||||
void __stdcall _VectorNormalise(VECTOR *vec);
|
||||
DWORD CRC32FromUpcaseString(char *szString);
|
||||
|
||||
void GameResetRadarColors();
|
||||
|
||||
|
||||
Reference in new issue
Block a user