Stinking clouds block line of sight
... you will also get a message when a seen stinking cloud or the one surrounding the hero dissipates. Original feature comes from Fourk, but this version (with some minor changes) comes from xnethack by copperwater <aosdict@gmail.com>
This commit is contained in:
@@ -1113,6 +1113,8 @@ struct instance_globals {
|
||||
NhRegion **regions;
|
||||
int n_regions;
|
||||
int max_regions;
|
||||
boolean gas_cloud_diss_within;
|
||||
int gas_cloud_diss_seen;
|
||||
|
||||
/* restore.c */
|
||||
int n_ids_mapped;
|
||||
|
||||
@@ -2220,6 +2220,7 @@ extern void split_rects(NhRect *, NhRect *);
|
||||
|
||||
/* ## region.c ### */
|
||||
|
||||
extern boolean inside_region(NhRegion *, int, int);
|
||||
extern void clear_regions(void);
|
||||
extern void run_regions(void);
|
||||
extern boolean in_out_region(xchar, xchar);
|
||||
|
||||
Reference in New Issue
Block a user