Imported contents: kraptor_final_apr_03_2004.tar.gz
[kraptor.git] / include / clima.h
blobe7a9919465bc611e12d0752ef473111a10f08562
1 // ------------------------------------
2 // clima.h
3 // ------------------------------------
4 // Modulo de efectos climaticos
5 // Por Kronoman
6 // En memoria de mi querido padre
7 // Copyright (c) 2002, Kronoman
8 // ------------------------------------
9 #ifndef CLIMA_H
10 #define CLIMA_H
12 #include <allegro.h>
14 // Estructura de particula de clima, para ser usada como una array
15 typedef struct CLIMA_P {
16 fixed x, y; /* posicion */
17 fixed dx, dy; /* direccion */
18 int col, r; /* color y radio */
19 int t, d; // tipo y direccion de caida
20 } CLIMA_P;
22 // Cantidad maxima de particulas climaticas
23 #define MAX_CLIMA_P 300
26 // Prototipos
27 void init_clima(BITMAP *bmp, int c, int t, int d);
28 void mover_clima(BITMAP *bmp);
29 void dibuja_clima(BITMAP *bmp);
31 #endif