gcc warnings fixed.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@595 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
15903fe2d3
commit
e24ddf203f
1 changed files with 5 additions and 8 deletions
|
@ -281,8 +281,8 @@ int search_enumerate(char *name, int fsize, void *parm)
|
||||||
void PF_search_begin (progfuncs_t *prinst, struct globalvars_s *pr_globals)
|
void PF_search_begin (progfuncs_t *prinst, struct globalvars_s *pr_globals)
|
||||||
{ //< 0 for error, > 0 for handle.
|
{ //< 0 for error, > 0 for handle.
|
||||||
char *pattern = PR_GetStringOfs(prinst, OFS_PARM0);
|
char *pattern = PR_GetStringOfs(prinst, OFS_PARM0);
|
||||||
qboolean caseinsensative = G_FLOAT(OFS_PARM1);
|
// qboolean caseinsensative = G_FLOAT(OFS_PARM1);
|
||||||
qboolean quiet = G_FLOAT(OFS_PARM2);
|
// qboolean quiet = G_FLOAT(OFS_PARM2);
|
||||||
prvmsearch_t *s;
|
prvmsearch_t *s;
|
||||||
|
|
||||||
s = BZ_Malloc(sizeof(*s));
|
s = BZ_Malloc(sizeof(*s));
|
||||||
|
@ -473,9 +473,6 @@ void PF_clientstate (progfuncs_t *prinst, struct globalvars_s *pr_globals)
|
||||||
//too specific to the prinst's builtins.
|
//too specific to the prinst's builtins.
|
||||||
static void PF_Fixme (progfuncs_t *prinst, struct globalvars_s *pr_globals)
|
static void PF_Fixme (progfuncs_t *prinst, struct globalvars_s *pr_globals)
|
||||||
{
|
{
|
||||||
progfuncs_t *progfuncs = prinst;
|
|
||||||
qboolean printedheader = false;
|
|
||||||
|
|
||||||
Con_Printf("\n");
|
Con_Printf("\n");
|
||||||
|
|
||||||
prinst->PR_RunError(prinst, "\nBuiltin %i not implemented.\nMenu is not compatable.", prinst->lastcalledbuiltinnumber);
|
prinst->PR_RunError(prinst, "\nBuiltin %i not implemented.\nMenu is not compatable.", prinst->lastcalledbuiltinnumber);
|
||||||
|
@ -542,7 +539,7 @@ void PF_CL_drawcharacter (progfuncs_t *prinst, struct globalvars_s *pr_globals)
|
||||||
float *size = G_VECTOR(OFS_PARM2);
|
float *size = G_VECTOR(OFS_PARM2);
|
||||||
float *rgb = G_VECTOR(OFS_PARM3);
|
float *rgb = G_VECTOR(OFS_PARM3);
|
||||||
float alpha = G_FLOAT(OFS_PARM4);
|
float alpha = G_FLOAT(OFS_PARM4);
|
||||||
float flag = G_FLOAT(OFS_PARM5);
|
// float flag = G_FLOAT(OFS_PARM5);
|
||||||
|
|
||||||
const float fsize = 0.0625;
|
const float fsize = 0.0625;
|
||||||
float frow, fcol;
|
float frow, fcol;
|
||||||
|
@ -596,7 +593,7 @@ void PF_CL_drawpic (progfuncs_t *prinst, struct globalvars_s *pr_globals)
|
||||||
float *size = G_VECTOR(OFS_PARM2);
|
float *size = G_VECTOR(OFS_PARM2);
|
||||||
float *rgb = G_VECTOR(OFS_PARM3);
|
float *rgb = G_VECTOR(OFS_PARM3);
|
||||||
float alpha = G_FLOAT(OFS_PARM4);
|
float alpha = G_FLOAT(OFS_PARM4);
|
||||||
float flag = G_FLOAT(OFS_PARM5);
|
// float flag = G_FLOAT(OFS_PARM5);
|
||||||
|
|
||||||
if (Draw_ImageColours)
|
if (Draw_ImageColours)
|
||||||
Draw_ImageColours(rgb[0], rgb[1], rgb[2], alpha);
|
Draw_ImageColours(rgb[0], rgb[1], rgb[2], alpha);
|
||||||
|
@ -1495,7 +1492,7 @@ void MP_Keydown(int key)
|
||||||
|
|
||||||
if (key == 'c')
|
if (key == 'c')
|
||||||
{
|
{
|
||||||
extern keydown[];
|
extern int keydown[];
|
||||||
if (keydown[K_CTRL])
|
if (keydown[K_CTRL])
|
||||||
{
|
{
|
||||||
MP_Shutdown();
|
MP_Shutdown();
|
||||||
|
|
Loading…
Reference in a new issue