From a7006de01a94c8c6e3674b1564daf25a70b5cd51 Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Tue, 3 Dec 2019 16:37:03 +1000 Subject: [PATCH] Document known chrdata bitfield values --- src/include/types.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/include/types.h b/src/include/types.h index f0c510304..f0dad443a 100644 --- a/src/include/types.h +++ b/src/include/types.h @@ -260,7 +260,17 @@ struct chrdata { /*0x314*/ u32 gunrotx[2]; /*0x31c*/ u32 onladder; /*0x320*/ struct coord laddernormal; + + /** + * ........ .mmm..d. pp...... aaaaaaaa + * + * m = related to miniskedar pouncing + * d = related to dark rooms + * p = P1/P2 chr ID (0-3) + * a = special death animation + */ /*0x32c*/ struct bitfield BITFIELD; + /*0x330*/ u16 roomtosearch; /*0x332*/ u8 propsoundcount; /*0x333*/ u8 patrolnextstep;