data: add some extra default stuff

master
an 2019-06-12 21:48:15 -04:00
parent 8e05c84d42
commit 02510a92f4
1 changed files with 30 additions and 6 deletions

View File

@ -957,7 +957,7 @@ Static Map Info is 88 bytes.
| Name | Type | Offset |
| ---- | ---- | ------ |
| `EnvCode` | `u16` | `0` |
| `TextureId` | `u16` | `0` |
| `PhysicsId` | `u16` | `2` |
| `LandscapeId` | `u16` | `4` |
| `MissionFlags` | `u16` | `6` |
@ -965,16 +965,16 @@ Static Map Info is 88 bytes.
| `Name` | `u8[66]` | `18` |
| `EntryFlags` | `u32` | `84` |
- `EnvCode` is a preset number for texture collections and some other things
such as media (liquid) presets.
- `TextureId` is a Texture Collection enumeration. It is a preset number for texture collections and some other things such as media (liquid) presets.
- `PhysicsId` used to be used for specifying three physics models: one for the
Forge editor, one for the game, and one for low-gravity. However, the first one
ended up being useless and the third was made into a map flag instead which
simply modifies the current physics model. This should always be set to `1` by
new editors.
- `LandscapeId` is the landscape number to use for the sky. This starts at `0`,
since it's an offset into the landscape collections. If `DataVersion` is
`DataM1`, then this is used as the music index instead.
- `LandscapeId` is a Landscape enumeration. is the landscape number to use for
the sky. This starts at `0`, since it's an offset into the landscape
collections. If `DataVersion` is `DataM1` or the `Music` flag of `EnvFlags` is
set, then this is used as the music index instead.
- `MissionFlags` is a Mission Flags bit field.
- `EnvFlags` is an Environment Flags bit field.
- `Name` is the level name, intended to be 65 bytes, but one padding byte is
@ -2001,6 +2001,30 @@ unobstructed.
| `Lava` | `1` |
| `Goo` | `2` |
| `Sewage` | `3` |
| `Jjaro` | `4` |
### Texture Collection ###
| Name | Value |
| ---- | ----- |
| `Water` | `0` |
| `Lava` | `1` |
| `Sewage` | `2` |
| `Jjaro` | `3` |
| `Pfhor` | `4` |
These are the default texture sets.
### Landscape ###
| Name | Value |
| ---- | ----- |
| `LhowonDay` | `0` |
| `LhowonNight` | `1` |
| `Moon` | `2` |
| `Space` | `3` |
These are the default landscapes.
### Platform Type ###