Mercurial > touhou-doc
diff 06/ecl.xhtml @ 5:b3644dff344c
Way too much changes. :/
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Mon, 22 Aug 2011 20:30:51 +0200 |
parents | bd0f1253691d |
children | 2a7b9d62c0c4 |
line wrap: on
line diff
--- a/06/ecl.xhtml +++ b/06/ecl.xhtml @@ -29,7 +29,7 @@ typedef struct { uint16_t <a href="ecl.xml">opcode</a>; uint16_t size; // Never less than 0xc. uint16_t rank_mask; // the first byte is always 0xff, and the second the mask of the ranks to which the instruction applies, 1 for easy, 8 for lunatic. - uint16_t param_mask; // If the last param is a stack, the number of bytes at 0 indicates the number of items in the stack. + uint16_t param_mask; // If the last param is a stack, the number of bits at 0 indicates the number of items in the stack. unsigned char params[size-0xc]; } thecl06_sub_t; </pre> @@ -60,9 +60,12 @@ typedef struct { float y; float z; // Unused, always 0. int16_t resistance; // From 0 to 0x7fff; greater is equal to 0. + int16_t object_dropped; // Between -2 and 2. + // 0000 to 00ff: power + // ff00 to ffff: random + // other: nothing uint16_t unknown1; - uint16_t unknown2; - uint16_t unknown3; + uint16_t unknown2; // 0 for normal enemies; 1 for mid-boss; 3 or 4 for boss. } thecl_enemy_t; </pre>