mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 15:02:01 +00:00
Export AllClasses
This commit is contained in:
parent
8450dc5fdb
commit
77c5c1eb19
2 changed files with 2 additions and 0 deletions
|
@ -2986,6 +2986,7 @@ DEFINE_GLOBAL(playeringame)
|
||||||
DEFINE_GLOBAL(PlayerClasses)
|
DEFINE_GLOBAL(PlayerClasses)
|
||||||
DEFINE_GLOBAL_NAMED(Skins, PlayerSkins)
|
DEFINE_GLOBAL_NAMED(Skins, PlayerSkins)
|
||||||
DEFINE_GLOBAL(consoleplayer)
|
DEFINE_GLOBAL(consoleplayer)
|
||||||
|
DEFINE_GLOBAL_NAMED(PClass::AllClasses, AllClasses)
|
||||||
DEFINE_GLOBAL_NAMED(PClassActor::AllActorClasses, AllActorClasses)
|
DEFINE_GLOBAL_NAMED(PClassActor::AllActorClasses, AllActorClasses)
|
||||||
DEFINE_GLOBAL(validcount)
|
DEFINE_GLOBAL(validcount)
|
||||||
DEFINE_GLOBAL(multiplayer)
|
DEFINE_GLOBAL(multiplayer)
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
struct _ native // These are the global variables, the struct is only here to avoid extending the parser for this.
|
struct _ native // These are the global variables, the struct is only here to avoid extending the parser for this.
|
||||||
{
|
{
|
||||||
|
native readonly Array<class> AllClasses;
|
||||||
native readonly Array<class<Actor> > AllActorClasses;
|
native readonly Array<class<Actor> > AllActorClasses;
|
||||||
native readonly Array<@PlayerClass> PlayerClasses;
|
native readonly Array<@PlayerClass> PlayerClasses;
|
||||||
native readonly Array<@PlayerSkin> PlayerSkins;
|
native readonly Array<@PlayerSkin> PlayerSkins;
|
||||||
|
|
Loading…
Reference in a new issue