Differences From Artifact [4a41b22985]:
- File exec.c — part of check-in [b39ff189b9] at 2019-07-15 03:27:00 on branch trunk — Add gameover,key_ignored,changed variables for future use (user: user, size: 7771) [annotate] [blame] [check-ins using]
To Artifact [5cd8b5f27b]:
- File exec.c — part of check-in [9d982f0655] at 2020-10-20 23:21:48 on branch trunk — Add game.c file (not implemented much) (user: user, size: 7902) [annotate] [blame] [check-ins using]
| ︙ | |||
222 223 224 225 226 227 228 229 230 | 222 223 224 225 226 227 228 229 230 231 232 233 | + + + |
const char*execute_turn(int key) {
if(setjmp(my_env)) return my_error;
changed=0;
key_ignored=0;
lastimage_processing=0;
vstackptr=0;
if(key_ignored && changed) return "Invalid use of IgnoreKey";
if(key_ignored && changed) return "Invalid use of IgnoreKey";
return 0;
}
|