break;
string[l] = c;
l++;
- } while (l < sizeof(string)-1);
+ } while (l < (int)sizeof(string)-1);
string[l] = 0;
if (strstr(name, "transfusion"))
gamemode = GAME_TRANSFUSION;
+ else if (strstr(name, "nexiuz"))
+ gamemode = GAME_NEXIUZ;
else if (strstr(name, "nehahra"))
gamemode = GAME_NEHAHRA;
else if (strstr(name, "hipnotic"))
if (COM_CheckParm ("-transfusion"))
gamemode = GAME_TRANSFUSION;
+ else if (COM_CheckParm ("-nexiuz"))
+ gamemode = GAME_NEXIUZ;
else if (COM_CheckParm ("-nehahra"))
gamemode = GAME_NEHAHRA;
else if (COM_CheckParm ("-hipnotic"))
gamename = "DarkPlaces-Nehahra";
gamedirname = "nehahra";
break;
+ case GAME_NEXIUZ:
+ gamename = "Nexiuz";
+ gamedirname = "data";
+ break;
case GAME_TRANSFUSION:
gamename = "Transfusion";
gamedirname = "transfusion";
while (remaining)
{
- if (remaining < sizeof(buf))
+ if (remaining < (int)sizeof(buf))
count = remaining;
else
count = sizeof(buf);