From 8430394c9d903a9ac246c47a31da59f774f6ae19 Mon Sep 17 00:00:00 2001 From: EliasFleckenstein03 Date: Mon, 28 Sep 2020 15:18:36 +0200 Subject: First Prototype (unfinished) --- scout.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 scout.h (limited to 'scout.h') diff --git a/scout.h b/scout.h new file mode 100644 index 0000000..aa1130c --- /dev/null +++ b/scout.h @@ -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 -- cgit v1.2.3