------------------------------------------------ VISIBLE -------------------------------------------------
| 107 | } |
| 108 | //------------------------------------------------ VISIBLE ------------------------------------------------- |
| 109 | bool Map::visible(int x, int y) |
| 110 | { |
| 111 | BW::activeTile value = getActiveTile(x, y); |
| 112 | if ( BroodwarImpl.isReplay() ) |
| 113 | return value.bVisibilityFlags != 255; |
| 114 | return !(value.bVisibilityFlags & (1 << BroodwarImpl.BWAPIPlayer->getIndex())); |
| 115 | } |
| 116 | //--------------------------------------------- HAS EXPLORED ----------------------------------------------- |
| 117 | bool Map::isExplored(int x, int y) |
| 118 | { |