forked from github/server
Probleme mit Reportschreibung sind inzwischen alle geloest, Testauswertung
sieht gut aus, und Geschwindigkeit ist ziemlich gut. Noch eine ungenutzte Funktion entfernt.
This commit is contained in:
parent
8005f97d54
commit
9503038f69
1 changed files with 0 additions and 19 deletions
|
@ -2469,25 +2469,6 @@ base36conversion(void)
|
||||||
|
|
||||||
extern void init_intervals(void);
|
extern void init_intervals(void);
|
||||||
|
|
||||||
static void
|
|
||||||
view_lighthouse(struct seen_region ** seen, region *r, faction *f)
|
|
||||||
{
|
|
||||||
/* TODO */
|
|
||||||
direction_t dir;
|
|
||||||
assert(!"must implement this");
|
|
||||||
for (dir=0;dir!=MAXDIRECTIONS;++dir) {
|
|
||||||
region * r2 = rconnect(r, dir);
|
|
||||||
if (r2) {
|
|
||||||
border * b = get_borders(r, r2);
|
|
||||||
while (b) {
|
|
||||||
if (!b->type->transparent(b, f)) break;
|
|
||||||
b = b->next;
|
|
||||||
}
|
|
||||||
if (!b) add_seen(seen, r2, see_lighthouse, false);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
view_default(struct seen_region ** seen, region *r, faction *f)
|
view_default(struct seen_region ** seen, region *r, faction *f)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue