terps/tads/tads3/test/data/novec.t
raw| 1 | #charset "us-ascii" |
| 2 | |
| 3 | #include <tadsgen.h> |
| 4 | |
| 5 | /* |
| 6 | * program without including vector metaclass definition, to test |
| 7 | * creation of metaclass globals |
| 8 | */ |
| 9 | main(args) |
| 10 | { |
| 11 | if (mainGlobal.restartID > 10000) |
| 12 | { |
| 13 | "Done!\n"; |
| 14 | return; |
| 15 | } |
| 16 | |
| 17 | /* say hello */ |
| 18 | "This is main() - restartID = <<mainGlobal.restartID>>\n"; |
| 19 | |
| 20 | /* try restarting */ |
| 21 | restartGame(_mainRestart, mainGlobal.restartID + 1); |
| 22 | } |
| 23 |