1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-05-18 07:57:45 +00:00

Add another model flag, reorder

This commit is contained in:
Joshua Goins 2025-05-17 12:52:20 -04:00
parent 4a48a3bc7a
commit 061954d73d

View file

@ -55,19 +55,20 @@ pub struct ModelFileHeader {
#[brw(repr = u8)]
#[derive(Debug, Clone, PartialEq)]
enum ModelFlags1 {
DustOcclusionEnabled = 0x80,
SnowOcclusionEnabled = 0x40,
RainOcclusionEnabled = 0x20,
LightingReflectionEnabled = 0x08,
WavingAnimationDisabled = 0x04,
LightShadowDisabled = 0x02,
ShadowDisabled = 0x01,
LightShadowDisabled = 0x02,
WavingAnimationDisabled = 0x04,
LightingReflectionEnabled = 0x08,
RainOcclusionEnabled = 0x20,
SnowOcclusionEnabled = 0x40,
DustOcclusionEnabled = 0x80,
// NOTE: these are most likely a combination of other flags
Unknown1 = 0x10,
Unknown2 = 0x5, // TODO: seen in some bgparts
Unknown3 = 0xE4, // TODO: seen in some bgparts
Unknown4 = 0xE5, // TODO: seen in some bgparts
Unknown5 = 0x6,
}
#[binrw]