aboutsummaryrefslogtreecommitdiff
path: root/sys/gio/gks/gks.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
commitfa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch)
treebdda434976bc09c864f2e4fa6f16ba1952b1e555 /sys/gio/gks/gks.h
downloadiraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz
Initial commit
Diffstat (limited to 'sys/gio/gks/gks.h')
-rw-r--r--sys/gio/gks/gks.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/sys/gio/gks/gks.h b/sys/gio/gks/gks.h
new file mode 100644
index 00000000..2373c55f
--- /dev/null
+++ b/sys/gio/gks/gks.h
@@ -0,0 +1,40 @@
+# Definitions for the gks emulator.
+
+define NDEV 10 # Maximum number of open devices possible
+define INACTIVE 0
+define ACTIVE 1
+define MAX_WCS 16 # Maximum number of world coordinate systems
+define NASF 13 # Number of aspect source flags
+
+# Following are emuneration types used by the GKS emulator.
+define GRIGHT 0
+define GLEFT 1
+define GUP 2
+define GDOWN 3
+define GAHNOR 0
+define GALEFT 1
+define GACENT 2
+define GARITE 3
+define GAVNOR 0
+define GATOP 1
+define GACAP 2
+define GAHALF 3
+define GABASE 4
+define GABOTT 5
+define GPOINT 1
+define GPLUS 2
+define GAST 3
+define GOMARK 4
+define GXMARK 5
+define GHOLLO 0
+define GSOLID 1
+define GPATTR 2
+define GHATCH 3
+define GBUNDL 0
+define GINDIV 1
+define GRIGHT 0
+define GLEFT 1
+define GUP 2
+define GDOWN 3
+define GCONDI 0
+define GALWAY 1