zscript-doc/api/global/data/Information.md

63 lines
1.3 KiB
Markdown
Raw Normal View History

2018-12-29 16:05:19 -08:00
# Static Info
TODO
```
readonly array<class<Actor>> AllActorClasses;
2018-12-29 20:04:32 -08:00
readonly array<class> AllClasses;
2018-12-29 16:05:19 -08:00
readonly array<PlayerClass> PlayerClasses;
readonly array<PlayerSkin> PlayerSkins;
readonly array<Team> Teams;
2019-04-10 06:12:18 -07:00
play DehInfo Deh;
2018-12-29 16:05:19 -08:00
readonly GameInfoStruct GameInfo;
readonly FOptionMenuSettings OptionMenuSettings;
readonly textureid SkyFlatNum;
readonly Weapon WP_NOCHANGE;
```
- `AllActorClasses`
2018-12-29 20:04:32 -08:00
An array of every actor class type reference.
- `AllClasses`
An array of every class type reference.
2018-12-29 16:05:19 -08:00
- `PlayerClasses`
An array of all player classes as defined in `MAPINFO`/GameInfo and
`KEYCONF`.
2018-12-29 16:05:19 -08:00
- `PlayerSkins`
An array of all player skins as defined in `SKININFO` and `S_SKIN`.
- `Teams`
An array of all teams. Maximum index is `Team.Max`.
2019-04-10 06:12:18 -07:00
- `Deh`
2018-12-29 16:05:19 -08:00
Static DeHackEd information.
- `GameInfo`
Static information from `MAPINFO`/GameInfo.
- `OptionMenuSettings`
Defaults for `OptionMenu`s as defined in `MENUDEF`'s `OptionMenuSettings`
block and `MAPINFO`/GameInfo.
2018-12-29 16:05:19 -08:00
- `SkyFlatNum`
The texture ID for sky flats. `F_SKY1` by default in Doom.
- `WP_NOCHANGE`
A constant denoting that the weapon the player is currently holding
shouldn't be switched from.
2018-12-29 16:05:19 -08:00
<!-- EOF -->