mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-07 21:10:46 +08:00
engine: client: keys: refactoring, remove NULL sentinels, make keys structs and few more functions private to keys.c file
This commit is contained in:
@@ -612,7 +612,7 @@ COM_Nibble
|
||||
Returns the 4 bit nibble for a hex character
|
||||
==================
|
||||
*/
|
||||
static byte COM_Nibble( char c )
|
||||
byte COM_Nibble( char c )
|
||||
{
|
||||
if(( c >= '0' ) && ( c <= '9' ))
|
||||
{
|
||||
|
||||
@@ -597,6 +597,7 @@ qboolean SV_Active( void );
|
||||
*/
|
||||
char *COM_MemFgets( byte *pMemFile, int fileSize, int *filePos, char *pBuffer, int bufferSize );
|
||||
void COM_HexConvert( const char *pszInput, int nInputLength, byte *pOutput );
|
||||
byte COM_Nibble( char c );
|
||||
int COM_SaveFile( const char *filename, const void *data, int len );
|
||||
byte *COM_LoadFileForMe( const char *filename, int *pLength ) MALLOC_LIKE( free, 1 );
|
||||
qboolean COM_IsSafeFileToDownload( const char *filename );
|
||||
|
||||
Reference in New Issue
Block a user