Fix NOHW warnings
This commit is contained in:
parent
6bd5246edd
commit
55f3f27b55
|
@ -242,6 +242,7 @@ INT32 flags; Bits = 3232 MF_SOLID|MF_SHOOTABLE|MF_DROPOFF|M
|
||||||
INT32 raisestate; Respawn frame = 32 S_NULL // raisestate
|
INT32 raisestate; Respawn frame = 32 S_NULL // raisestate
|
||||||
}, */
|
}, */
|
||||||
|
|
||||||
|
#ifdef HWRENDER
|
||||||
static INT32 searchvalue(const char *s)
|
static INT32 searchvalue(const char *s)
|
||||||
{
|
{
|
||||||
while (s[0] != '=' && s[0])
|
while (s[0] != '=' && s[0])
|
||||||
|
@ -255,7 +256,6 @@ static INT32 searchvalue(const char *s)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HWRENDER
|
|
||||||
static float searchfvalue(const char *s)
|
static float searchfvalue(const char *s)
|
||||||
{
|
{
|
||||||
while (s[0] != '=' && s[0])
|
while (s[0] != '=' && s[0])
|
||||||
|
@ -886,7 +886,9 @@ static void readspriteinfo(MYFILE *f, INT32 num, boolean sprite2)
|
||||||
char *s = Z_Malloc(MAXLINELEN, PU_STATIC, NULL);
|
char *s = Z_Malloc(MAXLINELEN, PU_STATIC, NULL);
|
||||||
char *word, *word2;
|
char *word, *word2;
|
||||||
char *tmp;
|
char *tmp;
|
||||||
|
#ifdef HWRENDER
|
||||||
INT32 value;
|
INT32 value;
|
||||||
|
#endif
|
||||||
char *lastline;
|
char *lastline;
|
||||||
INT32 skinnumbers[MAXSKINS];
|
INT32 skinnumbers[MAXSKINS];
|
||||||
INT32 foundskins = 0;
|
INT32 foundskins = 0;
|
||||||
|
@ -947,9 +949,9 @@ static void readspriteinfo(MYFILE *f, INT32 num, boolean sprite2)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
strupr(word);
|
strupr(word);
|
||||||
|
#ifdef HWRENDER
|
||||||
value = atoi(word2); // used for numerical settings
|
value = atoi(word2); // used for numerical settings
|
||||||
|
|
||||||
#ifdef HWRENDER
|
|
||||||
if (fastcmp(word, "LIGHTTYPE"))
|
if (fastcmp(word, "LIGHTTYPE"))
|
||||||
{
|
{
|
||||||
if (sprite2)
|
if (sprite2)
|
||||||
|
|
Loading…
Reference in New Issue