EvilEngine/ENV: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
Line 3:
|type=[[Base]]
|objectid=0x05
|games=Night of 100 Frights<br>Battle for Bikini Bottom<br>The SpongeBob SquarePants Movie<br>The Incredibles<br>Rise of the Underminer
|sourcecode=[https://github.com/bfbbdecomp/bfbb/blob/master/src/Core/x/xEnv.h xEnv.h]}}
==Format==
|
Revision as of 19:44, 30 March 2021
ENV | |
---|---|
Environment | |
Type | Base |
Games used | The Incredibles |
Source code | xEnv.h |
Format
Offset | Type | Variable | Description |
---|---|---|---|
0x08 | AssetID (JSP) | bspAssetID | |
0x0C | AssetID (Camera) | startCameraAssetID | |
0x10 | int | climateFlags | 2 in Sand Mountain, 0 in other levels |
0x14 | float | climateStrengthMin | only used in Sand Mountain, 0 in other levels |
0x18 | float | climateStrengthMax | only used in Sand Mountain, 0 in other levels |
0x1C | AssetID (LightKit) | bspLightKit | |
0x20 | AssetID (LightKit) | objectLightKit | |
0x24 | int | padF1 | padding |
0x28 | AssetID | bspCollisionAssetID | |
0x2C | AssetID | bspFXAssetID | |
0x30 | AssetID | bspCameraAssetID | |
0x34 | AssetID (Material Map) | bspMapperID | |
0x38 | AssetID | bspMapperCollisionID | |
0x3C | AssetID | bspMapperFXID | |
0x40 | float (little endian) | loldHeight | always 10. Not present in Scooby |
Events | |||
0x44 | Event[numberOfEvents] | Events |