… | |
… | |
219 | if (ns) |
219 | if (ns) |
220 | ns->play_sound (sound, dx, dy); |
220 | ns->play_sound (sound, dx, dy); |
221 | } |
221 | } |
222 | |
222 | |
223 | // wether the player can "see" this mapspace or not, decided by los |
223 | // wether the player can "see" this mapspace or not, decided by los |
224 | // 0 - nothing see, 100 - fully visible |
224 | // 0 - bright, 3 dark, 4 too dark, 100 blocked or out of range |
225 | MTH sint8 visibility_at (maptile *map, int x, int y) const; |
225 | MTH sint8 darkness_at (maptile *map, int x, int y) const; |
226 | |
226 | |
227 | MTH void connect (client *ns); |
227 | MTH void connect (client *ns); |
228 | MTH void disconnect (); |
228 | MTH void disconnect (); |
229 | |
229 | |
230 | MTH void activate (); |
230 | MTH void activate (); |