Clearscope Index()

For Vertex, Side, Line and Sector
This commit is contained in:
Zain Aamer 2019-08-06 12:32:24 -05:00
parent be0478972a
commit 3447904541

View file

@ -32,7 +32,7 @@ struct SectorPortal native play
struct Vertex native play struct Vertex native play
{ {
native readonly Vector2 p; native readonly Vector2 p;
native int Index(); native clearscope int Index();
} }
struct Side native play struct Side native play
@ -93,7 +93,7 @@ struct Side native play
native clearscope Vertex V1(); native clearscope Vertex V1();
native clearscope Vertex V2(); native clearscope Vertex V2();
native int Index(); native clearscope int Index();
int GetUDMFInt(Name nm) int GetUDMFInt(Name nm)
{ {
@ -174,7 +174,7 @@ struct Line native play
native bool isVisualPortal(); native bool isVisualPortal();
native Line getPortalDestination(); native Line getPortalDestination();
native int getPortalAlignment(); native int getPortalAlignment();
native int Index(); native clearscope int Index();
native bool Activate(Actor activator, int side, int type); native bool Activate(Actor activator, int side, int type);
native bool RemoteActivate(Actor activator, int side, int type, Vector3 pos); native bool RemoteActivate(Actor activator, int side, int type, Vector3 pos);
@ -362,7 +362,7 @@ struct Sector native play
native readonly int sectornum; native readonly int sectornum;
native int Index(); native clearscope int Index();
native double, Sector, F3DFloor NextHighestCeilingAt(double x, double y, double bottomz, double topz, int flags = 0); native double, Sector, F3DFloor NextHighestCeilingAt(double x, double y, double bottomz, double topz, int flags = 0);
native double, Sector, F3DFloor NextLowestFloorAt(double x, double y, double z, int flags = 0, double steph = 0); native double, Sector, F3DFloor NextLowestFloorAt(double x, double y, double z, int flags = 0, double steph = 0);