diff options
author | tjw <tjw@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2007-02-16 23:50:37 +0000 |
---|---|---|
committer | tjw <tjw@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2007-02-16 23:50:37 +0000 |
commit | 9dbe35a4dd8d5fce96c627f000d15395f32bc55a (patch) | |
tree | 3bc0f6b9f85125a426cdc2a290237adc76b1c699 /code/qcommon/q_shared.h | |
parent | 9a51af746dd98abd8ca52424a4b78a16e3d98b7b (diff) | |
download | ioquake3-aero-9dbe35a4dd8d5fce96c627f000d15395f32bc55a.tar.gz ioquake3-aero-9dbe35a4dd8d5fce96c627f000d15395f32bc55a.zip |
* (bug 3019) use the operating system's random number generator if possible
when generating the qkey file
git-svn-id: svn://svn.icculus.org/quake3/trunk@1046 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/qcommon/q_shared.h')
-rw-r--r-- | code/qcommon/q_shared.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/code/qcommon/q_shared.h b/code/qcommon/q_shared.h index 74958ff..f4b9bd2 100644 --- a/code/qcommon/q_shared.h +++ b/code/qcommon/q_shared.h @@ -640,6 +640,8 @@ void QDECL Com_sprintf (char *dest, int size, const char *fmt, ...) __attribute_ char *Com_SkipTokens( char *s, int numTokens, char *sep ); char *Com_SkipCharset( char *s, char *sep ); +void Com_RandomBytes( byte *string, int len ); + // mode parm for FS_FOpenFile typedef enum { FS_READ, |