| 1204 | } |
| 1205 | |
| 1206 | void TriggerLaraBlood() |
| 1207 | { |
| 1208 | int node = 1; |
| 1209 | |
| 1210 | for (int i = 0; i < LARA_MESHES::LM_HEAD; i++) |
| 1211 | { |
| 1212 | if (node & LaraItem->TouchBits.ToPackedBits()) |
| 1213 | { |
| 1214 | auto vec = GetJointPosition(LaraItem, |
| 1215 | i, |
| 1216 | Vector3i( |
| 1217 | (GetRandomControl() & 31) - 16, |
| 1218 | (GetRandomControl() & 31) - 16, |
| 1219 | (GetRandomControl() & 31) - 16 |
| 1220 | )); |
| 1221 | DoBloodSplat(vec.x, vec.y, vec.z, (GetRandomControl() & 7) + 8, 2 * GetRandomControl(), LaraItem->RoomNumber); |
| 1222 | } |
| 1223 | |
| 1224 | node <<= 1; |
| 1225 | } |
| 1226 | } |
| 1227 | |
| 1228 | void Ricochet(Pose& pose) |
| 1229 | { |
no test coverage detected