Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1550 → Rev 1549

/demos/trunk/jumpball/rrn.c
18,11 → 18,11
 
/**
------------
CVS : $Id: rrn.c,v 1.6 2005-01-08 14:35:17 pj Exp $
CVS : $Id: rrn.c,v 1.5 2004-04-19 13:45:15 giacomo Exp $
 
File: $File$
Revision: $Revision: 1.6 $
Last update: $Date: 2005-01-08 14:35:17 $
Revision: $Revision: 1.5 $
Last update: $Date: 2004-04-19 13:45:15 $
------------
**/
 
131,7 → 131,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");
exit(1);
sys_end();
}
 
}
158,7 → 158,7
cprintf("Error: Cannot open graphical mode\n");
KEYB26_close();
INPUT26_close();
exit(1);
sys_end();
}
FB26_use_grx(FRAME_BUFFER_DEVICE);
202,6 → 202,8
 
sys_shutdown_message("-- S.Ha.R.K. Closed --\n");
 
sys_abort_shutdown(0);
 
return NULL;
 
}
/demos/trunk/jumpball/rrp.c
18,11 → 18,11
 
/**
------------
CVS : $Id: rrp.c,v 1.6 2005-01-08 14:35:17 pj Exp $
CVS : $Id: rrp.c,v 1.5 2004-04-19 13:45:15 giacomo Exp $
 
File: $File$
Revision: $Revision: 1.6 $
Last update: $Date: 2005-01-08 14:35:17 $
Revision: $Revision: 1.5 $
Last update: $Date: 2004-04-19 13:45:15 $
------------
**/
 
131,7 → 131,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");
exit(1);
sys_end();
}
 
}
158,7 → 158,7
cprintf("Error: Cannot open graphical mode\n");
KEYB26_close();
INPUT26_close();
exit(1);
sys_end();
}
FB26_use_grx(FRAME_BUFFER_DEVICE);
202,6 → 202,8
 
sys_shutdown_message("-- S.Ha.R.K. Closed --\n");
 
sys_abort_shutdown(0);
 
return NULL;
 
}
/demos/trunk/jumpball/ern.c
18,11 → 18,11
 
/**
------------
CVS : $Id: ern.c,v 1.6 2005-01-08 14:35:17 pj Exp $
CVS : $Id: ern.c,v 1.5 2004-04-19 13:45:15 giacomo Exp $
 
File: $File$
Revision: $Revision: 1.6 $
Last update: $Date: 2005-01-08 14:35:17 $
Revision: $Revision: 1.5 $
Last update: $Date: 2004-04-19 13:45:15 $
------------
**/
 
132,7 → 132,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");
exit(1);
sys_end();
}
 
}
159,7 → 159,7
cprintf("Error: Cannot open graphical mode\n");
KEYB26_close();
INPUT26_close();
exit(1);
sys_end();
}
FB26_use_grx(FRAME_BUFFER_DEVICE);
203,6 → 203,8
 
sys_shutdown_message("-- S.Ha.R.K. Closed --\n");
 
sys_abort_shutdown(0);
 
return NULL;
 
}
/demos/trunk/jumpball/ecp.c
18,11 → 18,11
 
/**
------------
CVS : $Id: ecp.c,v 1.6 2005-01-08 14:35:17 pj Exp $
CVS : $Id: ecp.c,v 1.5 2004-04-19 13:45:15 giacomo Exp $
 
File: $File$
Revision: $Revision: 1.6 $
Last update: $Date: 2005-01-08 14:35:17 $
Revision: $Revision: 1.5 $
Last update: $Date: 2004-04-19 13:45:15 $
------------
**/
 
129,7 → 129,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");
exit(1);
sys_end();
}
 
}
156,7 → 156,7
cprintf("Error: Cannot open graphical mode\n");
KEYB26_close();
INPUT26_close();
exit(1);
sys_end();
}
FB26_use_grx(FRAME_BUFFER_DEVICE);
200,6 → 200,8
 
sys_shutdown_message("-- S.Ha.R.K. Closed --\n");
 
sys_abort_shutdown(0);
 
return NULL;
 
}
/demos/trunk/jumpball/demo.c
18,11 → 18,11
 
/**
------------
CVS : $Id: demo.c,v 1.8 2005-01-08 14:35:17 pj Exp $
CVS : $Id: demo.c,v 1.7 2004-04-18 18:48:22 giacomo Exp $
 
File: $File$
Revision: $Revision: 1.8 $
Last update: $Date: 2005-01-08 14:35:17 $
Revision: $Revision: 1.7 $
Last update: $Date: 2004-04-18 18:48:22 $
------------
**/
 
132,7 → 132,7
 
void endfun(KEY_EVT *k)
{
exit(0);
sys_end();
}
 
void zerofun(KEY_EVT *k)
/demos/trunk/jumpball/jetctrl.c
18,11 → 18,11
 
/**
------------
CVS : $Id: jetctrl.c,v 1.5 2005-01-08 14:35:17 pj Exp $
CVS : $Id: jetctrl.c,v 1.4 2004-04-18 18:48:22 giacomo Exp $
 
File: $File$
Revision: $Revision: 1.5 $
Last update: $Date: 2005-01-08 14:35:17 $
Revision: $Revision: 1.4 $
Last update: $Date: 2004-04-18 18:48:22 $
------------
**/
 
202,7 → 202,7
if (p3 == -1) {
sys_shutdown_message("Could not create task <jetctrl> errno=%d",
errno);
exit(1);
sys_end();
}
 
soft_task_default_model(m4);
216,7 → 216,7
if (p4 == -1) {
sys_shutdown_message("Could not create task <jetdummy> errno=%d",
errno);
exit(1);
sys_end();
}
 
soft_task_default_model(m5);
230,7 → 230,7
if (p5 == -1) {
sys_shutdown_message("Could not create task <jetslide> errno=%d",
errno);
exit(1);
sys_end();
}
}
 
/demos/trunk/jumpball/ball.c
18,11 → 18,11
 
/**
------------
CVS : $Id: ball.c,v 1.7 2005-01-08 14:35:17 pj Exp $
CVS : $Id: ball.c,v 1.6 2004-04-18 18:48:22 giacomo Exp $
 
File: $File$
Revision: $Revision: 1.7 $
Last update: $Date: 2005-01-08 14:35:17 $
Revision: $Revision: 1.6 $
Last update: $Date: 2004-04-18 18:48:22 $
------------
**/
 
205,7 → 205,8
pid = task_create("pallaEDF", palla, &mp, NULL);
if (pid == NIL) {
sys_shutdown_message("Could not create task <pallaEDF>");
exit(1);
sys_end();
return;
}
else
task_activate(pid);