mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 14:51:46 +00:00
- exposed Level.MusicVolume to ZScript
This commit is contained in:
parent
a05a5a8f00
commit
0d758014dd
2 changed files with 2 additions and 0 deletions
|
@ -3188,6 +3188,7 @@ DEFINE_FIELD(FLevelLocals, fogdensity)
|
||||||
DEFINE_FIELD(FLevelLocals, outsidefogdensity)
|
DEFINE_FIELD(FLevelLocals, outsidefogdensity)
|
||||||
DEFINE_FIELD(FLevelLocals, skyfog)
|
DEFINE_FIELD(FLevelLocals, skyfog)
|
||||||
DEFINE_FIELD(FLevelLocals, pixelstretch)
|
DEFINE_FIELD(FLevelLocals, pixelstretch)
|
||||||
|
DEFINE_FIELD(FLevelLocals, MusicVolume)
|
||||||
DEFINE_FIELD(FLevelLocals, deathsequence)
|
DEFINE_FIELD(FLevelLocals, deathsequence)
|
||||||
DEFINE_FIELD_BIT(FLevelLocals, frozenstate, frozen, 1) // still needed for backwards compatibility.
|
DEFINE_FIELD_BIT(FLevelLocals, frozenstate, frozen, 1) // still needed for backwards compatibility.
|
||||||
DEFINE_FIELD_NAMED(FLevelLocals, i_compatflags, compatflags)
|
DEFINE_FIELD_NAMED(FLevelLocals, i_compatflags, compatflags)
|
||||||
|
|
|
@ -725,6 +725,7 @@ struct LevelLocals native
|
||||||
native readonly int outsidefogdensity;
|
native readonly int outsidefogdensity;
|
||||||
native readonly int skyfog;
|
native readonly int skyfog;
|
||||||
native readonly float pixelstretch;
|
native readonly float pixelstretch;
|
||||||
|
native readonly float MusicVolume;
|
||||||
native name deathsequence;
|
native name deathsequence;
|
||||||
native readonly int compatflags;
|
native readonly int compatflags;
|
||||||
native readonly int compatflags2;
|
native readonly int compatflags2;
|
||||||
|
|
Loading…
Reference in a new issue