… | |
… | |
3009 | void |
3009 | void |
3010 | make_visible (object *op) |
3010 | make_visible (object *op) |
3011 | { |
3011 | { |
3012 | op->hide = 0; |
3012 | op->hide = 0; |
3013 | op->invisible = 0; |
3013 | op->invisible = 0; |
|
|
3014 | |
3014 | if (op->type == PLAYER) |
3015 | if (op->type == PLAYER) |
3015 | { |
3016 | { |
3016 | op->contr->tmp_invis = 0; |
3017 | op->contr->tmp_invis = 0; |
3017 | op->contr->invis_race = 0; |
3018 | op->contr->invis_race = 0; |
3018 | } |
3019 | } |
… | |
… | |
3031 | |
3032 | |
3032 | /* look at the surrounding terrain to determine |
3033 | /* look at the surrounding terrain to determine |
3033 | * the hideability of this object. Positive levels |
3034 | * the hideability of this object. Positive levels |
3034 | * indicate greater hideability. |
3035 | * indicate greater hideability. |
3035 | */ |
3036 | */ |
3036 | |
|
|
3037 | int |
3037 | int |
3038 | hideability (object *ob) |
3038 | hideability (object *ob) |
3039 | { |
3039 | { |
3040 | int i, level = 0, mflag; |
3040 | int i, level = 0, mflag; |
3041 | sint16 x, y; |
3041 | sint16 x, y; |