mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 15:22:15 +00:00
- removed unused cruft in FS code.
This commit is contained in:
parent
4e1c53af91
commit
96272fc8b8
1 changed files with 0 additions and 64 deletions
|
@ -3761,30 +3761,6 @@ void FParser::SF_SetCorona(void)
|
|||
t_return.value.i = 0;
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
// new for GZDoom: Call a Hexen line special (deprecated, superseded by direct use)
|
||||
//
|
||||
//==========================================================================
|
||||
|
||||
void FParser::SF_Ls()
|
||||
{
|
||||
int args[5]={0,0,0,0,0};
|
||||
int spc;
|
||||
|
||||
if (CheckArgs(1))
|
||||
{
|
||||
spc=intvalue(t_argv[0]);
|
||||
for(int i=0;i<5;i++)
|
||||
{
|
||||
if (t_argc>=i+2) args[i]=intvalue(t_argv[i+1]);
|
||||
}
|
||||
if (spc>=0 && spc<256)
|
||||
P_ExecuteSpecial(spc, NULL,Script->trigger,false, args[0],args[1],args[2],args[3],args[4]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
// new for GZDoom: Gets the levelnum
|
||||
|
@ -4019,17 +3995,6 @@ void FParser::SF_KillInSector()
|
|||
}
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
// new for GZDoom: Sets a sector's type
|
||||
//
|
||||
//==========================================================================
|
||||
|
||||
void FParser::SF_SectorType(void)
|
||||
{
|
||||
// I don't think this was ever used publicly so I'm not going to bother fixing it.
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
// new for GZDoom: Sets a new line trigger type (Doom format!)
|
||||
|
@ -4064,30 +4029,6 @@ void FParser::SF_SetLineTrigger()
|
|||
}
|
||||
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
//
|
||||
//
|
||||
//==========================================================================
|
||||
|
||||
void FParser::SF_ChangeTag()
|
||||
{
|
||||
// Development garbage!
|
||||
}
|
||||
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
//
|
||||
//
|
||||
//==========================================================================
|
||||
|
||||
void FParser::SF_WallGlow()
|
||||
{
|
||||
// Development garbage!
|
||||
}
|
||||
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
// new for GZDoom: Call a Hexen line special
|
||||
|
@ -4505,13 +4446,10 @@ void init_functions(void)
|
|||
// new for GZDoom
|
||||
gscr->NewFunction("spawnshot2", &FParser::SF_SpawnShot2);
|
||||
gscr->NewFunction("setcolor", &FParser::SF_SetColor);
|
||||
gscr->NewFunction("sectortype", &FParser::SF_SectorType);
|
||||
gscr->NewFunction("wallglow", &FParser::SF_WallGlow);
|
||||
gscr->NewFunction("objradius", &FParser::SF_MobjRadius);
|
||||
gscr->NewFunction("objheight", &FParser::SF_MobjHeight);
|
||||
gscr->NewFunction("thingcount", &FParser::SF_ThingCount);
|
||||
gscr->NewFunction("killinsector", &FParser::SF_KillInSector);
|
||||
gscr->NewFunction("changetag", &FParser::SF_ChangeTag);
|
||||
gscr->NewFunction("levelnum", &FParser::SF_LevelNum);
|
||||
|
||||
// new inventory
|
||||
|
@ -4520,8 +4458,6 @@ void init_functions(void)
|
|||
gscr->NewFunction("checkinventory", &FParser::SF_CheckInventory);
|
||||
gscr->NewFunction("setweapon", &FParser::SF_SetWeapon);
|
||||
|
||||
gscr->NewFunction("ls", &FParser::SF_Ls); // execute Hexen type line special
|
||||
|
||||
// Dummies - shut up warnings
|
||||
gscr->NewFunction("setcorona", &FParser::SF_SetCorona);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue