mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-31 12:30:40 +00:00
- delete some inactive code.
This commit is contained in:
parent
adf3133fdc
commit
7a9e39a96b
2 changed files with 0 additions and 33 deletions
|
@ -2898,14 +2898,6 @@ int ConCompiler::parsecommand()
|
||||||
case concmd_startlevel:
|
case concmd_startlevel:
|
||||||
// start at specified level
|
// start at specified level
|
||||||
// startlevel <episode> <level>
|
// startlevel <episode> <level>
|
||||||
#if 0
|
|
||||||
if (!g_bEnhanced)
|
|
||||||
{
|
|
||||||
errorcount++;
|
|
||||||
printf(" * ERROR!(L%ld) Command '%s' is enhanced only. Define enhance with the version number your code needs before using this commands.\n", line_number, tempbuf);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
// get the ID of the DEF
|
// get the ID of the DEF
|
||||||
getlabel();
|
getlabel();
|
||||||
checkforkeyword();
|
checkforkeyword();
|
||||||
|
@ -2935,14 +2927,6 @@ int ConCompiler::parsecommand()
|
||||||
case concmd_mapvoxel:
|
case concmd_mapvoxel:
|
||||||
// map a tilenum to a voxel.
|
// map a tilenum to a voxel.
|
||||||
// syntax: mapvoxel <tilenum> <filename (8.3)>
|
// syntax: mapvoxel <tilenum> <filename (8.3)>
|
||||||
#if 0
|
|
||||||
if (!g_bEnhanced)
|
|
||||||
{
|
|
||||||
errorcount++;
|
|
||||||
printf(" * ERROR!(L%ld) Command '%s' is enhanced only. Define enhance with the version number your code needs before using this commands.\n", line_number, tempbuf);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
popscriptvalue(); // don't save in compiled code
|
popscriptvalue(); // don't save in compiled code
|
||||||
|
|
||||||
transnum(LABEL_DEFINE);
|
transnum(LABEL_DEFINE);
|
||||||
|
@ -2965,14 +2949,6 @@ int ConCompiler::parsecommand()
|
||||||
case concmd_myospal:
|
case concmd_myospal:
|
||||||
case concmd_myosx:
|
case concmd_myosx:
|
||||||
case concmd_myospalx:
|
case concmd_myospalx:
|
||||||
#if 0
|
|
||||||
if (!g_bEnhanced)
|
|
||||||
{
|
|
||||||
errorcount++;
|
|
||||||
printf(" * ERROR!(L%ld) Command '%s' is enhanced only. Define enhance with the version number your code needs before using this commands.\n", line_number, tempbuf);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
// syntax:
|
// syntax:
|
||||||
// int x, int y, int tilenum, int shade, int orientation
|
// int x, int y, int tilenum, int shade, int orientation
|
||||||
// myospal adds char pal
|
// myospal adds char pal
|
||||||
|
|
|
@ -586,15 +586,6 @@ void playerisdead(int snum, int psectlotag, int fz, int cz)
|
||||||
}
|
}
|
||||||
else p->fraggedself++;
|
else p->fraggedself++;
|
||||||
|
|
||||||
#if 0
|
|
||||||
if (myconnectindex == connecthead)
|
|
||||||
{
|
|
||||||
sprintf(tempbuf, "frag %d killed %d\n", p->frag_ps + 1, snum + 1);
|
|
||||||
sendscore(tempbuf);
|
|
||||||
// printf(tempbuf);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
p->frag_ps = snum;
|
p->frag_ps = snum;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue