|
1096 | 1096 | <int32_t name='fatigue'/> |
1097 | 1097 | </struct-type> |
1098 | 1098 |
|
| 1099 | + <bitfield-type type-name='unit_move_load_ranged_weapon_flag' base-type='uint32_t'> bay12: UNIT_MOVE_LOAD_RANGED_WEAPON_FLAG_* |
| 1100 | + <flag-bit name='then_shoot'/> |
| 1101 | + <flag-bit name='playcombat'/> |
| 1102 | + </bitfield-type> |
| 1103 | + |
| 1104 | + <struct-type type-name='unit_action_data_load_ranged_weapon' original-name='unit_move_load_ranged_weaponst'> |
| 1105 | + <int32_t name='movewait'/> |
| 1106 | + <int32_t name='shooter_itid' ref-target='item'/> |
| 1107 | + <int32_t name='ammo_itid' ref-target='item'/> |
| 1108 | + <bitfield name='flags' base-type='uint32_t' type-name='unit_move_load_ranged_weapon_flag'/> |
| 1109 | + <int32_t name='target_unid' ref-target='unit'/> |
| 1110 | + <int16_t name='target_lx'/> |
| 1111 | + <int16_t name='target_ly'/> |
| 1112 | + <int16_t name='target_lz'/> |
| 1113 | + <int16_t name='target_bp'/> |
| 1114 | + <int32_t name='target_bp_hit_chance_adjustment'/> |
| 1115 | + </struct-type> |
| 1116 | + |
| 1117 | + <bitfield-type type-name='unit_move_shoot_ranged_weapon_flag' base-type='uint32_t'> bay12: UNIT_MOVE_SHOOT_RANGED_WEAPON_FLAG_* |
| 1118 | + <flag-bit name='playcombat'/> |
| 1119 | + </bitfield-type> |
| 1120 | + |
| 1121 | + <struct-type type-name='unit_action_data_shoot_ranged_weapon' original-name='unit_move_shoot_ranged_weaponst'> |
| 1122 | + <int32_t name='movewait'/> |
| 1123 | + <int32_t name='shooter_itid' ref-target='item'/> |
| 1124 | + <int32_t name='ammo_itid' ref-target='item'/> |
| 1125 | + <bitfield name='flags' base-type='uint32_t' type-name='unit_move_shoot_ranged_weapon_flag'/> |
| 1126 | + <int32_t name='target_unid' ref-target='unit'/> |
| 1127 | + <int16_t name='target_lx'/> |
| 1128 | + <int16_t name='target_ly'/> |
| 1129 | + <int16_t name='target_lz'/> |
| 1130 | + <int16_t name='target_bp'/> |
| 1131 | + <int32_t name='target_bp_hit_chance_adjustment'/> |
| 1132 | + </struct-type> |
| 1133 | + |
| 1134 | + <struct-type type-name='unit_action_data_throw_item' original-name='unit_move_throw_itemst'> |
| 1135 | + <int32_t name='movewait'/> |
| 1136 | + <int32_t name='thrown_itid' ref-target='item'/> |
| 1137 | + <int32_t name='target_unid' ref-target='unit'/> |
| 1138 | + <int16_t name='target_lx'/> |
| 1139 | + <int16_t name='target_ly'/> |
| 1140 | + <int16_t name='target_lz'/> |
| 1141 | + <int16_t name='target_bp'/> |
| 1142 | + <int32_t name='target_bp_hit_chance_adjustment'/> |
| 1143 | + </struct-type> |
| 1144 | + |
| 1145 | + <struct-type type-name='unit_action_data_post_shoot_recovery' original-name='unit_move_post_shoot_recoveryst'> |
| 1146 | + <int32_t name='movewait'/> |
| 1147 | + </struct-type> |
| 1148 | + |
1099 | 1149 | <struct-type type-name='unit_action' original-name='unit_movest'> |
1100 | 1150 | <enum name='type' type-name='unit_action_type' init-value='None'/> |
1101 | 1151 |
|
|
1131 | 1181 | <compound name='dismount' type-name='unit_action_data_dismount'/> |
1132 | 1182 | <compound name='leadanimal' type-name='unit_action_data_lead_animal'/> |
1133 | 1183 | <compound name='stopleadanimal' type-name='unit_action_data_stop_lead_animal'/> |
| 1184 | + <compound name='loadrangedweapon' type-name='unit_action_data_load_ranged_weapon'/> |
| 1185 | + <compound name='shootrangedweapon' type-name='unit_action_data_shoot_ranged_weapon'/> |
| 1186 | + <compound name='throwitem' type-name='unit_action_data_throw_item'/> |
| 1187 | + <compound name='postshootrecovery' type-name='unit_action_data_post_shoot_recovery'/> |
1134 | 1188 | </compound> |
1135 | 1189 | </struct-type> |
1136 | 1190 |
|
|
1215 | 1269 | <enum-item name='Pet' comment='Left shoulder, right shoulder, or head, selected randomly using pet_seed'/> |
1216 | 1270 | <enum-item name='SewnInto'/> |
1217 | 1271 | <enum-item name='Strapped'/> |
| 1272 | + <enum-item name='Nocked'/> |
1218 | 1273 | </enum-type> |
1219 | 1274 |
|
1220 | 1275 | <struct-type type-name='unit_inventory_item' original-name='invitemst'> |
|
1228 | 1283 | refers-to='$$._global._parent._global.body.body_plan.body_parts[$]'/> |
1229 | 1284 |
|
1230 | 1285 | <int32_t name='pet_seed' comment='RNG seed for Pet mode'/> |
1231 | | - <int32_t name='wound_id' init-value='-1' comment='-1 unless suture'/> |
| 1286 | + <int32_t name='wound_id' init-value='-1' comment='also nocked_in_itemid'/> |
1232 | 1287 | </struct-type> |
1233 | 1288 |
|
1234 | 1289 | <enum-type type-name='soldier_mood_type' base-type='int32_t'> bay12: SoldierMoodType |
|
1311 | 1366 | <flag-bit name='trade_resolved' comment='(CIV_RESOLVED)'/> |
1312 | 1367 | <flag-bit name='has_breaks' comment='(EVALUATE_LEAKS)'/> |
1313 | 1368 | <flag-bit name='gutted' comment='(HEALTH_GUTTED)'/> |
1314 | | - <flag-bit comment='(UNUSED_16)'/> |
| 1369 | + <flag-bit name='must_forget_completely_keep_rooms'/> |
1315 | 1370 |
|
1316 | 1371 | <flag-bit name='locked_in_for_trading' comment="(TRADE_LOCKED) Locked in for trading"/> |
1317 | 1372 | <flag-bit name='slaughter' comment='(BUTCHERABLE) marked for slaughter'/> |
|
2744 | 2799 | <int32_t name='next_action_id'/> |
2745 | 2800 |
|
2746 | 2801 | <compound name='counters'> not a compound: |
2747 | | - <int32_t name='think_counter' comment='loaddelay'/> |
2748 | 2802 | <int32_t name='job_counter' comment='movewait'/> |
2749 | 2803 | <int32_t name='swap_counter'/> |
2750 | 2804 |
|
|
0 commit comments