aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/output.h
diff options
context:
space:
mode:
authorGravatar Tim Segers <tsegers@pm.me>2022-10-10 18:37:28 +0200
committerGravatar Tim Segers <tsegers@pm.me>2022-10-10 18:39:41 +0200
commit8c5571544169a4095ceebf5f6d6b5b9caf09c59b (patch)
tree08c8b44616ce4785d821db48fbbd0c5bf4421a75 /src/output.h
parent2337828095920b8debdb0f8e0337a9d6aad6b55c (diff)
downloadopendeco-8c5571544169a4095ceebf5f6d6b5b9caf09c59b.tar.gz
Move sources into src
Diffstat (limited to 'src/output.h')
-rw-r--r--src/output.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/output.h b/src/output.h
new file mode 100644
index 0000000..640b457
--- /dev/null
+++ b/src/output.h
@@ -0,0 +1,21 @@
+/* SPDX-License-Identifier: MIT-0 */
+
+#ifndef OUTPUT_H
+#define OUTPUT_H
+
+#include <wchar.h>
+
+#include "deco.h"
+
+#define ASC 0x2197 /* Unicode North East Arrow */
+#define LVL 0x2192 /* Unicode Rightwards Arrow */
+#define DEC 0x2198 /* Unicode South East Arrow */
+#define SWI 0x21BB /* Clockwise Open Circle Arrow */
+
+void print_planhead();
+void print_planline(const wchar_t sign, const double depth, const double time, const double runtime, const gas_t *gas);
+void print_planfoot(const decostate_t *ds);
+
+void scan_gas(gas_t *gas, char *str);
+
+#endif /* end of include guard: OUTPUT_H */