mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-04-22 15:47:19 +00:00
Revert "- add 'flipline' function to levelcompatibility"
This reverts commit1a85206983
. Revert "- implement the following functions under LevelCompatibility:" This reverts commit6537eca669
.
This commit is contained in:
parent
29e4f34de6
commit
033f0ca43e
2 changed files with 0 additions and 57 deletions
|
@ -515,22 +515,6 @@ DEFINE_ACTION_FUNCTION(DLevelCompatibility, SetVertex)
|
|||
return 0;
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION(DLevelCompatibility, FlipLine)
|
||||
{
|
||||
PARAM_SELF_PROLOGUE(DLevelCompatibility);
|
||||
PARAM_UINT(lineidx);
|
||||
|
||||
line_t *line = &level.lines[lineidx];
|
||||
vertex_t *v1 = line->v1;
|
||||
vertex_t *v2 = line->v2;
|
||||
|
||||
line->v1 = v2;
|
||||
line->v2 = v1;
|
||||
|
||||
ForceNodeBuild = true;
|
||||
return 0;
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION(DLevelCompatibility, SetLineSectorRef)
|
||||
{
|
||||
PARAM_SELF_PROLOGUE(DLevelCompatibility);
|
||||
|
@ -559,42 +543,6 @@ DEFINE_ACTION_FUNCTION(DLevelCompatibility, GetDefaultActor)
|
|||
ACTION_RETURN_OBJECT(GetDefaultByName(actorclass));
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION(DLevelCompatibility, GetNumMapThings)
|
||||
{
|
||||
PARAM_SELF_PROLOGUE(DLevelCompatibility);
|
||||
ACTION_RETURN_INT(MapThingsConverted.Size());
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION(DLevelCompatibility, GetMapThingPos)
|
||||
{
|
||||
PARAM_SELF_PROLOGUE(DLevelCompatibility);
|
||||
PARAM_INT(thingnum);
|
||||
if (MapThingsConverted.Size())
|
||||
ACTION_RETURN_VEC3(MapThingsConverted[thingnum].pos);
|
||||
else
|
||||
return 0;
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION(DLevelCompatibility, GetMapThingAngle)
|
||||
{
|
||||
PARAM_SELF_PROLOGUE(DLevelCompatibility);
|
||||
PARAM_INT(thingnum);
|
||||
if (MapThingsConverted.Size())
|
||||
ACTION_RETURN_INT(MapThingsConverted[thingnum].angle);
|
||||
else
|
||||
return 0;
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION(DLevelCompatibility, SetMapThingAngle)
|
||||
{
|
||||
PARAM_SELF_PROLOGUE(DLevelCompatibility);
|
||||
PARAM_INT(thingnum);
|
||||
PARAM_INT(thingangle);
|
||||
if (MapThingsConverted.Size())
|
||||
MapThingsConverted[thingnum].angle = thingangle;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
|
|
|
@ -1460,12 +1460,7 @@ class LevelCompatibility native play
|
|||
protected native void SetThingFlags(int thing, int flags);
|
||||
protected native void SetVertex(uint vertex, double x, double y);
|
||||
protected native void SetLineSectorRef(uint line, uint side, uint sector);
|
||||
protected native void FlipLine(uint Line);
|
||||
protected native Actor GetDefaultActor(Name actorclass);
|
||||
protected native int GetNumMapThings();
|
||||
protected native Vector3 GetMapThingPos(int thing);
|
||||
protected native int GetMapThingAngle(int thing);
|
||||
protected native void SetMapThingAngle(int thing, int angle);
|
||||
|
||||
protected void SetWallTexture(int line, int side, int texpart, String texture)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue