216
217
218
219
220
221
222
223
224
225
226
227
228
229
|
nobjects=0;
free(objects);
objects=0;
gameover=0;
}
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";
|
>
|
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
|
nobjects=0;
free(objects);
objects=0;
gameover=0;
}
const char*execute_turn(int key) {
// Set key=0 for initialization
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";
|