Enumify terrain blockage and generalize the line of sight function

This should probably be two separate commits, but they're tangled together and I don't want to spend the effort to disentangle them.
This commit is contained in:
2014-12-01 19:50:19 -05:00
parent afd45b3774
commit d900c7edef
19 changed files with 150 additions and 300 deletions

View File

@@ -10,7 +10,6 @@ void get_town_info();
void get_sign_resource();
void set_info_strings();
cTown::cItem edit_item(cTown::cItem item);
void modify_lists();
void set_up_lights();
bool is_wall(short i,short j);
bool is_correctable_wall(short i,short j);
@@ -41,8 +40,7 @@ bool out_fix_water(location l);
void adjust_space(location l);
bool is_lava(short x,short y);
ter_num_t coord_to_ter(short x,short y);
short get_obscurity(short x,short y);
short can_see(location p1,location p2,short mode);
short light_obscurity(short x,short y);
bool place_item(location spot_hit,short which_item,short property,short always,short odds);
void place_items_in_town();
void set_up_start_screen();