| 1283 | } |
| 1284 | |
| 1285 | void SaveMissile(int i) |
| 1286 | { |
| 1287 | MissileStruct *pMissile = &missile[i]; |
| 1288 | |
| 1289 | CopyInt(&pMissile->_mitype, tbuff); |
| 1290 | CopyInt(&pMissile->_mix, tbuff); |
| 1291 | CopyInt(&pMissile->_miy, tbuff); |
| 1292 | CopyInt(&pMissile->_mixoff, tbuff); |
| 1293 | CopyInt(&pMissile->_miyoff, tbuff); |
| 1294 | CopyInt(&pMissile->_mixvel, tbuff); |
| 1295 | CopyInt(&pMissile->_miyvel, tbuff); |
| 1296 | CopyInt(&pMissile->_misx, tbuff); |
| 1297 | CopyInt(&pMissile->_misy, tbuff); |
| 1298 | CopyInt(&pMissile->_mitxoff, tbuff); |
| 1299 | CopyInt(&pMissile->_mityoff, tbuff); |
| 1300 | CopyInt(&pMissile->_mimfnum, tbuff); |
| 1301 | CopyInt(&pMissile->_mispllvl, tbuff); |
| 1302 | CopyInt(&pMissile->_miDelFlag, tbuff); |
| 1303 | CopyChar(&pMissile->_miAnimType, tbuff); |
| 1304 | tbuff += 3; // Alignment |
| 1305 | CopyInt(&pMissile->_miAnimFlags, tbuff); |
| 1306 | tbuff += 4; // Skip pointer _miAnimData |
| 1307 | CopyInt(&pMissile->_miAnimDelay, tbuff); |
| 1308 | CopyInt(&pMissile->_miAnimLen, tbuff); |
| 1309 | CopyInt(&pMissile->_miAnimWidth, tbuff); |
| 1310 | CopyInt(&pMissile->_miAnimWidth2, tbuff); |
| 1311 | CopyInt(&pMissile->_miAnimCnt, tbuff); |
| 1312 | CopyInt(&pMissile->_miAnimAdd, tbuff); |
| 1313 | CopyInt(&pMissile->_miAnimFrame, tbuff); |
| 1314 | CopyInt(&pMissile->_miDrawFlag, tbuff); |
| 1315 | CopyInt(&pMissile->_miLightFlag, tbuff); |
| 1316 | CopyInt(&pMissile->_miPreFlag, tbuff); |
| 1317 | CopyInt(&pMissile->_miUniqTrans, tbuff); |
| 1318 | CopyInt(&pMissile->_mirange, tbuff); |
| 1319 | CopyInt(&pMissile->_misource, tbuff); |
| 1320 | CopyInt(&pMissile->_micaster, tbuff); |
| 1321 | CopyInt(&pMissile->_midam, tbuff); |
| 1322 | CopyInt(&pMissile->_miHitFlag, tbuff); |
| 1323 | CopyInt(&pMissile->_midist, tbuff); |
| 1324 | CopyInt(&pMissile->_mlid, tbuff); |
| 1325 | CopyInt(&pMissile->_mirnd, tbuff); |
| 1326 | CopyInt(&pMissile->_miVar1, tbuff); |
| 1327 | CopyInt(&pMissile->_miVar2, tbuff); |
| 1328 | CopyInt(&pMissile->_miVar3, tbuff); |
| 1329 | CopyInt(&pMissile->_miVar4, tbuff); |
| 1330 | CopyInt(&pMissile->_miVar5, tbuff); |
| 1331 | CopyInt(&pMissile->_miVar6, tbuff); |
| 1332 | CopyInt(&pMissile->_miVar7, tbuff); |
| 1333 | CopyInt(&pMissile->_miVar8, tbuff); |
| 1334 | } |
| 1335 | |
| 1336 | void SaveObject(int i) |
| 1337 | { |