Go to most recent revision |
Blame |
Compare with Previous |
Last modification |
View Log
| RSS feed
/*
* Project: S.Ha.R.K.
*
* Coordinators:
* Giorgio Buttazzo <giorgio@sssup.it>
* Paolo Gai <pj@gandalf.sssup.it>
*
* Authors :
* Paolo Gai <pj@gandalf.sssup.it>
* (see the web pages for full authors list)
*
* ReTiS Lab (Scuola Superiore S.Anna - Pisa - Italy)
*
* http://www.sssup.it
* http://retis.sssup.it
* http://shark.sssup.it
*/
/*
------------
CVS : $Id: iniziali.h,v 1.1.1.1 2004-05-24 18:03:46 giacomo Exp $
File: $File$
Revision: $Revision: 1.1.1.1 $
Last update: $Date: 2004-05-24 18:03:46 $
------------
*/
/*
* Copyright (C) 2000 Merli Andrea and Zucchetti Alessandro
*
* 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
*
*/
#define YMENU 10 /* menu level */
#define XMIN 1
#define XMAX 799
#define YMIN 100
#define YMAX 599
#define D 27
#define VEL 10 /* linear velocity (def. = 6) */
#define ANG 15 /* angolo massimo sterzata (15) */
#define ESC 27 /* ASCII code of ESCAPE key */
#define MAX_P 10 /* max number of calc */
#define MAX_B 1
#define GROUP_SOFT 4
#define GROUP_PLAY 2
#define GROUP_BALL 3
#define PERIOD_BALL 30000
#define PERIOD_CALC 100000
#define PERIOD_PORT 30000
#define CALC_WCET 5000
#define PORT_WCET 4000
#define BALL_WCET 5000
#define BALL_RADIUS 5
#define VER_RES 600
#define ORI_RES 800
#define COL_DEP 16
#define FREE_MODE 0 /*il giocatore corre palla al piede*/
#define PASS_MODE 1 /*il giocatore passa la palla rasoterra*/
#define NO_BALL_MODE 4
#define PENALTY_MODE_BLUE 5
#define PENALTY_MODE_WHITE 6
#define RESTART 6
#define CANC 370
#define RLEFT 1 /*RUN LEFT*/
#define RDOWN 3 /*RUN DOWN*/
#define RUP 5 /*RUN UP*/
#define RRIGHT 7 /*RUN RIGHT*/
#define RRUP 9 /*RUN RIGHT UP*/
#define RRDW 15 /*RUN RIGHT DOWN*/
#define RLUP 11 /*RUN LEFT UP*/
#define RLDW 13 /*RUN LEFT DOWN*/
#define RLEFT2 17 /*RUN LEFT*/
#define RDOWN2 19 /*RUN DOWN*/
#define RUP2 21 /*RUN UP*/
#define RRIGHT2 23 /*RUN RIGHT*/
#define RRUP2 25 /*RUN RIGHT UP*/
#define RRDW2 27 /*RUN RIGHT DOWN*/
#define RLUP2 29 /*RUN LEFT UP*/
#define RLDW2 31 /*RUN LEFT DOWN*/
#define NO_ACT 0
#define GOAL_ACT 2
#define MENU_ACT 3
#define NO_PENALTY 0
#define PENALTY 1