- exposed Level.MusicVolume to ZScript

This commit is contained in:
alexey.lysiuk 2020-01-20 22:45:49 +02:00 committed by drfrag
parent a09d8e40f1
commit 7d0df9fe3f
2 changed files with 2 additions and 0 deletions

View file

@ -2940,6 +2940,7 @@ DEFINE_FIELD(FLevelLocals, fogdensity)
DEFINE_FIELD(FLevelLocals, outsidefogdensity)
DEFINE_FIELD(FLevelLocals, skyfog)
DEFINE_FIELD(FLevelLocals, pixelstretch)
DEFINE_FIELD(FLevelLocals, MusicVolume)
DEFINE_FIELD(FLevelLocals, deathsequence)
DEFINE_FIELD_NAMED(FLevelLocals, li_compatflags, compatflags)
DEFINE_FIELD_NAMED(FLevelLocals, li_compatflags2, compatflags2)

View file

@ -701,6 +701,7 @@ struct LevelLocals native
native readonly int outsidefogdensity;
native readonly int skyfog;
native readonly float pixelstretch;
native readonly float MusicVolume;
native name deathsequence;
native readonly int compatflags;
native readonly int compatflags2;