| 1 |
/* Libvisual-plugins - Standard plugins for libvisual |
| 2 |
* |
| 3 |
* Copyright (C) 2000, 2001 Remi Arquier <[email protected]> |
| 4 |
* |
| 5 |
* Authors: Remi Arquier <[email protected]> |
| 6 |
* Dennis Smit <[email protected]> |
| 7 |
* |
| 8 |
* $Id: def.h,v 1.4 2006/01/15 00:18:01 synap Exp $ |
| 9 |
* |
| 10 |
* This program is free software; you can redistribute it and/or modify |
| 11 |
* it under the terms of the GNU General Public License as |
| 12 |
* published by the Free Software Foundation; either version 2 |
| 13 |
* of the License, or (at your option) any later version. |
| 14 |
* |
| 15 |
* This program is distributed in the hope that it will be useful, |
| 16 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 17 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 18 |
* GNU General Public License for more details. |
| 19 |
* |
| 20 |
* You should have received a copy of the GNU General Public License |
| 21 |
* along with this program; if not, write to the Free Software |
| 22 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 23 |
*/ |
| 24 |
|
| 25 |
#ifndef _JESS_DEF_H |
| 26 |
#define _JESS_DEF_H |
| 27 |
|
| 28 |
#define PI 3.1416 |
| 29 |
#define RESX 640 /* start resolution */ |
| 30 |
#define RESY 300 |
| 31 |
#define RESX_D 640 /* rerence resolution */ |
| 32 |
#define RESY_D 300 |
| 33 |
|
| 34 |
#define SCREENFLAG SDL_HWSURFACE|SDL_HWPALETTE|SDL_DOUBLEBUF|SDL_ASYNCBLIT|SDL_HWACCEL|SDL_RLEACCEL |
| 35 |
|
| 36 |
#define RESFACTX(par1) ( (int) ( (float) resx*(par1)/RESX_D )) |
| 37 |
#define RESFACTY(par1) ( (int) ( (float) resy*(par1)/RESY_D )) |
| 38 |
#define RESFACTXF(par1) ( (float) resx*(par1)/RESX_D ) |
| 39 |
#define RESFACTYF(par1) ( (float) resy*(par1)/RESY_D ) |
| 40 |
|
| 41 |
#define FUSEE_MAX 10 |
| 42 |
#define FUSEE_VIE 5 |
| 43 |
#define FUSEE_RAYON 210 |
| 44 |
#define FUSEE_COLOR 250 |
| 45 |
|
| 46 |
#define LINE_MAX 10 |
| 47 |
#define LINE_VIE 60 |
| 48 |
|
| 49 |
#define MANAGE 0 |
| 50 |
#define NEW 1 |
| 51 |
#define REINIT 1 |
| 52 |
#define NEW_SESSION 2 |
| 53 |
#define DEDT_FACTOR 80000 /* speed fading control*/ |
| 54 |
|
| 55 |
#define STARS_MAX 256 |
| 56 |
#define MORPH_SPEED 0.5 |
| 57 |
|
| 58 |
#ifndef NULL |
| 59 |
#define NULL 0 |
| 60 |
#endif |
| 61 |
|
| 62 |
#endif |