saves ai
| 1225 | |
| 1226 | // saves ai |
| 1227 | void SGSObjAI(CFILE *fp, const ai_frame *ai) { |
| 1228 | gs_WriteByte(fp, (ai ? 1 : 0)); |
| 1229 | if (!ai) |
| 1230 | return; |
| 1231 | |
| 1232 | gs_WriteShort(fp, sizeof(ai_frame)); |
| 1233 | cf_WriteBytes((uint8_t *)ai, sizeof(ai_frame), fp); |
| 1234 | } |
| 1235 | |
| 1236 | // saves script |
| 1237 | //@@void SGSScript(CFILE *fp, const script_info *script) |
no test coverage detected