Constants

const CLUSTER​_HUB = 0x00000001

Public Member Variables

native Array< @Sector > Sectors

native Array< @Line > Lines

native Array< @Side > Sides

native readonly Array< @Vertex > Vertexes

native internal Array< @SectorPortal > SectorPortals

native readonly int time

native readonly int maptime

native readonly int totaltime

native readonly int starttime

native readonly int partime

native readonly int sucktime

native readonly int cluster

native readonly int clusterflags

native readonly int levelnum

native readonly String LevelName

native readonly String MapName



native readonly String F1Pic

native readonly int maptype

native readonly String AuthorName

native readonly String Music

native readonly int musicorder

native readonly TextureID skytexture1

native readonly TextureID skytexture2

native float skyspeed1

native float skyspeed2







native play double gravity

native play double aircontrol

native play double airfriction

native play int airsupply

native readonly double teamdamage

native readonly bool noinventorybar

native readonly bool monsterstelefrag

native readonly bool actownspecial

native readonly bool sndseqtotalctrl

native bool allmap


native readonly bool monsterfallingdamage

native readonly bool checkswitchrange

native readonly bool polygrind

native readonly bool nomonsters

native readonly bool allowrespawn

native bool frozen
🛇deprecated since 3.8.0: Use Level.isFrozen() instead

native readonly bool infinite​_flight

native readonly bool no​_dlg​_freeze

native readonly bool keepfullinventory

native readonly bool removeitems

native readonly bool useplayerstartz

native readonly int fogdensity

native readonly int outsidefogdensity

native readonly int skyfog

native readonly float pixelstretch

native readonly float MusicVolume


native readonly int compatflags

native readonly int compatflags2

native readonly LevelInfo info

Public Functions

native String GetUDMFString(
int type,
int index,
Name key
)

native int GetUDMFInt(
int type,
int index,
Name key
)

native double GetUDMFFloat(
int type,
int index,
Name key
)

native play int ExecuteSpecial(
int special,
Actor activator,
Line linedef,
bool lineside,
int arg1 = 0,
int arg2 = 0,
int arg3 = 0,
int arg4 = 0,
int arg5 = 0
)

native void GiveSecret(
Actor activator,
bool printmsg = true,
bool playsound = true
)

native void StartSlideshow(
Name whichone = 'none'
)

native static void MakeScreenShot()

native static void MakeAutoSave()

native void WorldDone()

static void RemoveAllBots(bool fromlist)
🛇deprecated since 3.8.0: This function does nothing


native void SetInterMusic(
String nextmap
)

native String FormatMapName(
int mapnamecolor
)

native bool IsJumpingAllowed() const

native bool IsCrouchingAllowed() const

native bool IsFreelookAllowed() const

native void StartIntermission(
Name type,
int state
) const

native play SpotState GetSpotState(
bool create = true
)

native int FindUniqueTid(
int start = 0,
int limit = 0
)

native uint GetSkyboxPortal(Actor actor)

native void ReplaceTextures(
String from,
String to,
int flags
)

native clearscope HealthGroup FindHealthGroup(
int id
)


native Vector3, int PickPlayerStart(
int pnum,
int flags = 0
)

native int isFrozen() const

native void setFrozen(bool on)

native String LookupString(uint index)

native clearscope Sector PointInSector(
Vector2 pt
) const

native clearscope bool IsPointInLevel(
Vector3 p
) const

static clearscope bool IsPointInMap(
Vector3 p
)
🛇deprecated since 3.8.0: Use Level.IsPointInLevel() instead

native clearscope Vector2 Vec2Diff(
Vector2 v1,
Vector2 v2
) const

native clearscope Vector3 Vec3Diff(
Vector3 v1,
Vector3 v2
) const

native clearscope Vector3 SphericalCoords(
Vector3 viewpoint,
Vector3 targetPos,
Vector2 viewAngles = (0, 0),
bool absolute = false
) const

native clearscope Vector2 Vec2Offset(
Vector2 pos,
Vector2 dir,
bool absolute = false
) const

native clearscope Vector3 Vec2OffsetZ(
Vector2 pos,
Vector2 dir,
double atz,
bool absolute = false
) const

native clearscope Vector3 Vec3Offset(
Vector3 pos,
Vector3 dir,
bool absolute = false
) const

native String GetChecksum() const

native void ChangeSky(
TextureID sky1,
TextureID sky2
)



native ActorIterator CreateActorIterator(
int tid,
Class< Actor > type = "Actor"
)

String TimeFormatted(
bool totals = false
)

native play bool CreateCeiling(
Sector sec,
int type,
Line ln,
double speed,
double speed2,
double height = 0,
int crush = -1,
int silent = 0,
int change = 0,
int crushmode = 0
)

native play bool CreateFloor(
Sector sec,
int floortype,
Line ln,
double speed,
double height = 0,
int crush = -1,
int change = 0,
bool crushmode = false,
bool hereticlower = false
)

native void ExitLevel(
int position,
bool keepFacing
)

native void SecretExitLevel(
int position
)

native void ChangeLevel(
String levelname,
int position = 0,
int flags = 0,
int skill = -1
)



Inner Enums