Mercurial > touhou-doc
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 4:617e7760fd9f | 5:b3644dff344c |
|---|---|
| 27 typedef struct { | 27 typedef struct { |
| 28 uint32_t frame_num; | 28 uint32_t frame_num; |
| 29 uint16_t <a href="ecl.xml">opcode</a>; | 29 uint16_t <a href="ecl.xml">opcode</a>; |
| 30 uint16_t size; // Never less than 0xc. | 30 uint16_t size; // Never less than 0xc. |
| 31 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. | 31 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. |
| 32 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. | 32 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. |
| 33 unsigned char params[size-0xc]; | 33 unsigned char params[size-0xc]; |
| 34 } thecl06_sub_t; | 34 } thecl06_sub_t; |
| 35 </pre> | 35 </pre> |
| 36 | 36 |
| 37 | 37 |
| 58 uint16_t size; // Really the size of the instruction. NOT ignored by the game. | 58 uint16_t size; // Really the size of the instruction. NOT ignored by the game. |
| 59 float x; | 59 float x; |
| 60 float y; | 60 float y; |
| 61 float z; // Unused, always 0. | 61 float z; // Unused, always 0. |
| 62 int16_t resistance; // From 0 to 0x7fff; greater is equal to 0. | 62 int16_t resistance; // From 0 to 0x7fff; greater is equal to 0. |
| 63 int16_t object_dropped; // Between -2 and 2. | |
| 64 // 0000 to 00ff: power | |
| 65 // ff00 to ffff: random | |
| 66 // other: nothing | |
| 63 uint16_t unknown1; | 67 uint16_t unknown1; |
| 64 uint16_t unknown2; | 68 uint16_t unknown2; // 0 for normal enemies; 1 for mid-boss; 3 or 4 for boss. |
| 65 uint16_t unknown3; | |
| 66 } thecl_enemy_t; | 69 } thecl_enemy_t; |
| 67 </pre> | 70 </pre> |
| 68 | 71 |
| 69 <p>Unknown, used only at the end of each stage.</p> | 72 <p>Unknown, used only at the end of each stage.</p> |
| 70 <pre> | 73 <pre> |
