diff options
author | EliasFleckenstein03 <eliasfleckenstein@web.de> | 2020-09-28 15:18:36 +0200 |
---|---|---|
committer | EliasFleckenstein03 <eliasfleckenstein@web.de> | 2020-09-28 15:18:36 +0200 |
commit | 8430394c9d903a9ac246c47a31da59f774f6ae19 (patch) | |
tree | 61128641af553c86b0cc83ca15f9dbed3c4b21be /scout.h | |
parent | 543d104fbc7a8fc0853f5237b9fecf58990af5ee (diff) | |
download | libscout-8430394c9d903a9ac246c47a31da59f774f6ae19.tar.xz |
First Prototype (unfinished)
Diffstat (limited to 'scout.h')
-rw-r--r-- | scout.h | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -0,0 +1,25 @@ +#ifndef _LIBSCOUT_H_ +#define _LIBSCOUT_H_ + +struct scnode { + struct scway *way; + void *dat; +}; + +struct scway { + const struct scnode *lto; + struct scway *alt; + int len; +}; + +struct scwaypoint { + const struct scnode *nod; + const struct scway *way; + struct scwaypoint *nxt; + int len; +}; + +struct scway *scaddway(struct scnode *, const struct scnode *, int); +struct scwaypoint *scout(const struct scnode *, const struct scnode *, struct scwaypoint *); + +#endif |