// *** OpenGTA3 ***
// miscellaneous functions

// ### CRC32 ###
// >> 53CF00
DWORD crc32FromString (BYTE * str); //(XREF: 2)
// >> 53CF30
DWORD crc32FromUpcaseString (BYTE * str); // (XREF: 97)
// >> 53CF70
DWORD crc32FromStringContinue (DWORD crc, BYTE * str); //(XREF: 5)


// ### File System ###
extern char * currentPath;

TCHAR * initUserDir ();	// initialize path to user directories (XREF: 3)
void chdirUserDir ();
void chdirProgramDir (char * relPath);	


int random (int l, int h);	// returns random number in range l..h-1