summaryrefslogtreecommitdiff
path: root/procyon/include/acm
diff options
context:
space:
mode:
Diffstat (limited to 'procyon/include/acm')
-rw-r--r--procyon/include/acm/bs.h121
-rw-r--r--procyon/include/acm/evt.h10
-rw-r--r--procyon/include/acm/gfx.h8
-rw-r--r--procyon/include/acm/info.h12
-rw-r--r--procyon/include/acm/sav.h9
5 files changed, 0 insertions, 160 deletions
diff --git a/procyon/include/acm/bs.h b/procyon/include/acm/bs.h
deleted file mode 100644
index 497bdb0..0000000
--- a/procyon/include/acm/bs.h
+++ /dev/null
@@ -1,121 +0,0 @@
-#if !defined(acm_hdr_bs)
-#define acm_hdr_bs
-
-#include <GLFW/glfw3.h>
-#include <signal.h>
-#include <stdint.h>
-#include <stdio.h>
-#include <zap/bs.h>
-
-#define acm_ver ((uint_least64_t)+0x1)
-#define acm_savver ((uint_least64_t)+0x1)
-
-#define acm_plnmlen ((zap_sz)+0x10u)
-
-#define acm_dflplnm ("Jameson\x0\x0\x0\x0\x0\x0\x0\x0")
-
-#if defined(acm_dbg)
-#define acm_log(...) (acm_dbglog(__VA_ARGS__))
-#else
-#define acm_log(...) ((void)0x0u)
-#endif
-
-typedef enum {
- acm_drv_h1,
- acm_drv_h2,
- acm_drv_h3,
- acm_drv_h4,
- acm_drv_h5,
- acm_drv_h6,
- acm_drv_h7,
- acm_drv_h8,
- acm_drv_m1,
- acm_drv_m2,
- acm_drv_m3,
- acm_drv_m4,
-} acm_drv;
-
-typedef enum {
- acm_shipid_add,
- acm_shipid_ana,
- acm_shipid_asp,
- acm_shipid_boa,
- acm_shipid_cob,
- acm_shipid_con,
- acm_shipid_cou,
- acm_shipid_cyg,
- acm_shipid_dov,
- acm_shipid_eag,
- acm_shipid_falc,
- acm_shipid_fer,
- acm_shipid_frei,
- acm_shipid_geck,
- acm_shipid_haul,
- acm_shipid_hawk,
- acm_shipid_keel,
- acm_shipid_kes,
- acm_shipid_krait,
- acm_shipid_lift,
- acm_shipid_lion,
- acm_shipid_mamba,
- acm_shipid_moray,
- acm_shipid_osp,
- acm_shipid_pan,
- acm_shipid_puma,
- acm_shipid_py,
- acm_shipid_shut,
- acm_shipid_side,
- acm_shipid_tran,
- acm_shipid_vip,
- acm_shipid_vult,
-} acm_shipid;
-
-typedef enum {
- acm_stat_err,
- acm_stat_ok,
-} acm_stat;
-
-typedef struct {
- uint_least64_t rx; /* Rotation data */
- uint_least64_t ry;
- uint_least64_t rz;
- uint_least64_t px; /* Position data */
- uint_least64_t py;
- uint_least64_t pz;
- uint_least64_t vx; /* Velocity data */
- uint_least64_t vy;
- uint_least64_t vz;
-} acm_objpos;
-
-typedef struct {
- acm_objpos pos;
-} acm_obj;
-
-typedef struct {
- acm_drv drv;
- acm_shipid id;
-} acm_ship;
-
-typedef struct {
- char nm[acm_plnmlen + 0x1u];
- uint_least16_t heat;
- acm_objpos pos;
- uint_least64_t selsys;
- acm_ship ship;
- uint_least64_t tm;
-} acm_pldat;
-
-extern struct {
- bool gfxisinit;
- acm_pldat pldat;
- char const * savloc;
- GLFWwindow * win;
-} acm_dat;
-
-extern sig_atomic_t volatile acm_gotintr;
-
- void acm_dbglog(char const * fmt,...);
- void acm_init( void);
-[[noreturn]] void acm_exit( acm_stat stat);
-
-#endif
diff --git a/procyon/include/acm/evt.h b/procyon/include/acm/evt.h
deleted file mode 100644
index 3a5aa2a..0000000
--- a/procyon/include/acm/evt.h
+++ /dev/null
@@ -1,10 +0,0 @@
-#if !defined(acm_hdr_evt)
-#define acm_hdr_evt
-
-#include <acm/bs.h>
-
-#include <stdint.h>
-
-bool acm_jmp(uint_least64_t sys);
-
-#endif
diff --git a/procyon/include/acm/gfx.h b/procyon/include/acm/gfx.h
deleted file mode 100644
index c3fdc15..0000000
--- a/procyon/include/acm/gfx.h
+++ /dev/null
@@ -1,8 +0,0 @@
-#if !defined(acm_hdr_gfx)
-#define acm_hdr_gfx
-
-#include <acm/bs.h>
-
-void acm_initgfx(void);
-
-#endif
diff --git a/procyon/include/acm/info.h b/procyon/include/acm/info.h
deleted file mode 100644
index d42ad0b..0000000
--- a/procyon/include/acm/info.h
+++ /dev/null
@@ -1,12 +0,0 @@
-#if !defined(acm_hdr_info)
-#define acm_hdr_info
-
-#include <acm/bs.h>
-
-#include <stdint.h>
-
-char const * acm_shipnm( acm_shipid ship);
-uint_least64_t acm_sysdist(uint_least64_t sys);
-uint_least64_t acm_jmplen( acm_ship const * ship);
-
-#endif
diff --git a/procyon/include/acm/sav.h b/procyon/include/acm/sav.h
deleted file mode 100644
index 4caf810..0000000
--- a/procyon/include/acm/sav.h
+++ /dev/null
@@ -1,9 +0,0 @@
-#if !defined(acm_hdr_sav)
-#define acm_hdr_sav
-
-#include <acm/bs.h>
-
-void acm_cont(acm_pldat * pldat);
-void acm_sav( acm_pldat const * pldat);
-
-#endif