1,12 → 1,8 |
/* |
* Project: HARTIK (HA-rd R-eal TI-me K-ernel) |
* Project: S.Ha.R.K. |
* |
* Coordinators: Giorgio Buttazzo <giorgio@sssup.it> |
* Gerardo Lamastra <gerardo@sssup.it> |
* |
* Authors : Paolo Gai <pj@hartik.sssup.it> |
* (see authors.txt for full list of hartik's authors) |
* |
* ReTiS Lab (Scuola Superiore S.Anna - Pisa - Italy) |
* |
* http://www.sssup.it |
14,25 → 10,6 |
* http://hartik.sssup.it |
*/ |
|
/* |
* Copyright (C) 2000 Paolo Gai |
* |
* This program is free software; you can redistribute it and/or modify |
* it under the terms of the GNU General Public License as published by |
* the Free Software Foundation; either version 2 of the License, or |
* (at your option) any later version. |
* |
* This program is distributed in the hope that it will be useful, |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
* GNU General Public License for more details. |
* |
* You should have received a copy of the GNU General Public License |
* along with this program; if not, write to the Free Software |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* |
*/ |
|
#include "asteroid.h" |
#include <string.h> |
|
152,7 → 129,7 |
soft_task_def_usemath(ms); |
pid = task_create("StatWrite", stat_write, &ms, NULL); |
if (pid == NIL) { |
grx_close(); |
FB26_close(FRAME_BUFFER_DEVICE); |
perror("Could not create task <StatWrite>"); |
sys_end(); |
} else |
173,11 → 150,13 |
k.flag = 0; |
k.scan = KEY_N; |
k.ascii = 'n'; |
keyb_hook(k,new_game); |
k.status = KEY_PRESSED; |
keyb_hook(k,new_game,FALSE); |
|
k.flag = 0; |
k.scan = KEY_B; |
k.ascii = 'b'; |
keyb_hook(k,start_game); |
k.status = KEY_PRESSED; |
keyb_hook(k,start_game,FALSE); |
} |
|