blob: e0d02d27eda97c8b4b6bd8ac83906edffe95515d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
/*
* File: cloud.h
* Summary: Functions related to clouds.
* Written by: Brent Ross
*
* Change History (most recent first):
*
* <1> Oct 1/2001 BWR Created
*/
#ifndef CLOUD_H
#define CLOUD_H
#include "externs.h"
cloud_type random_smoke_type();
void delete_cloud( int cloud );
void move_cloud( int cloud, int new_x, int new_y );
void check_place_cloud( cloud_type cl_type, int x, int y, int lifetime,
kill_category whose, int spread_rate = -1 );
void place_cloud(cloud_type cl_type, int ctarget_x, int ctarget_y,
int cl_range, kill_category whose, int spread_rate = -1 );
void manage_clouds(void);
bool is_opaque_cloud(unsigned char cloud_idx);
int steam_cloud_damage(const cloud_struct &cloud);
#endif
|