/demos/trunk/bca/initfile.c |
---|
152,7 → 152,7 |
shutdown_task_PID = task_create("Shutdown Task",shutdown_task_body,&nrt,NULL); |
if (shutdown_task_PID == NIL) { |
sys_shutdown_message("Error: Cannot create shutdown task\n"); |
sys_end(); |
exit(1); |
} |
} |
179,7 → 179,7 |
cprintf("Error: Cannot open graphical mode\n"); |
KEYB26_close(); |
INPUT26_close(); |
sys_end(); |
exit(1); |
} |
FB26_use_grx(FRAME_BUFFER_DEVICE); |
223,8 → 223,6 |
sys_shutdown_message("-- S.Ha.R.K. Closed --\n"); |
sys_abort_shutdown(0); |
return NULL; |
} |
/demos/trunk/bca/fab_lib.c |
---|
18,7 → 18,7 |
* http://shark.sssup.it |
*/ |
/* CVS : $Id: fab_lib.c,v 1.4 2004-05-23 08:59:27 giacomo Exp $ */ |
/* CVS : $Id: fab_lib.c,v 1.5 2005-01-08 14:34:28 pj Exp $ */ |
/* |
* Copyright (C) 2000 Fabio Calabrese <fabiocalabrese77@yahoo.it> |
79,7 → 79,7 |
if (!test) {kern_printf("\n OK: %s.",OkMsg);} |
else {kern_printf("\n ERROR: %s!",ErrorMsg); |
if (EXITflag==FAB_EXIT_YES) sys_end(); |
if (EXITflag==FAB_EXIT_YES) exit(0); |
} |
} |
/demos/trunk/bca/bca.c |
---|
18,7 → 18,7 |
* http://shark.sssup.it |
*/ |
/* CVS : $Id: bca.c,v 1.5 2004-05-23 08:59:27 giacomo Exp $ */ |
/* CVS : $Id: bca.c,v 1.6 2005-01-08 14:34:28 pj Exp $ */ |
/* |
* Copyright (C) 2000 Fabio Calabrese <fabiocalabrese77@yahoo.it> |
126,7 → 126,7 |
void end_fun(KEY_EVT* k) |
{ sys_shutdown_message("Ending...\n"); |
sys_end(); |
exit(0); |
} |
void incrementa_aerei_fun(KEY_EVT* k) |
{ if (aereo_count<AEREO_N_MAX) aereo_count++; |