forked from github/server
22 lines
496 B
C
22 lines
496 B
C
#pragma once
|
|
|
|
#ifndef H_TRAVELTHRU
|
|
#define H_TRAVELTHRU
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
struct attrib;
|
|
struct stream;
|
|
struct region;
|
|
struct faction;
|
|
struct unit;
|
|
void travelthru_map(struct region * r, void(*cb)(struct region *r, struct unit *, void *), void *cbdata);
|
|
bool travelthru_cansee(const struct region *r, const struct faction *f, const struct unit *u);
|
|
void travelthru_add(struct region * r, struct unit * u);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|