| 1291 | |
| 1292 | |
| 1293 | int SimCmdDoAnimation(ARGS) |
| 1294 | { |
| 1295 | int val; |
| 1296 | |
| 1297 | if ((argc != 2) && (argc != 3)) { |
| 1298 | return (TCL_ERROR); |
| 1299 | } |
| 1300 | |
| 1301 | if (argc == 3) { |
| 1302 | if ((Tcl_GetInt(interp, argv[2], &val) != TCL_OK)) { |
| 1303 | return (TCL_ERROR); |
| 1304 | } |
| 1305 | DoAnimation = val; |
| 1306 | MustUpdateOptions = 1; Kick(); |
| 1307 | } |
| 1308 | |
| 1309 | sprintf(interp->result, "%d", DoAnimation); |
| 1310 | return (TCL_OK); |
| 1311 | } |
| 1312 | |
| 1313 | |
| 1314 | int SimCmdDoMessages(ARGS) |
nothing calls this directly
no test coverage detected