aboutsummaryrefslogtreecommitdiff
path: root/src/libparsec/include/g_stgate.h
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2026-08-24 11:16:07 +0200
committerFelix Morgner <felix.morgner@gmail.com>2026-08-24 11:16:07 +0200
commitc068f22329d5cc722622a2183bbb22eef2093df7 (patch)
tree12d56c1aede67988a55e241364606bfbb4dba933 /src/libparsec/include/g_stgate.h
downloadopenparsec-c068f22329d5cc722622a2183bbb22eef2093df7.tar.xz
openparsec-c068f22329d5cc722622a2183bbb22eef2093df7.zip
initial importHEADmain
Diffstat (limited to 'src/libparsec/include/g_stgate.h')
-rw-r--r--src/libparsec/include/g_stgate.h69
1 files changed, 69 insertions, 0 deletions
diff --git a/src/libparsec/include/g_stgate.h b/src/libparsec/include/g_stgate.h
new file mode 100644
index 0000000..2f838b2
--- /dev/null
+++ b/src/libparsec/include/g_stgate.h
@@ -0,0 +1,69 @@
+/*
+ * PARSEC HEADER: s_stgate.h
+ */
+
+#ifndef _S_STGATE_H_
+#define _S_STGATE_H_
+
+
+// forward declaration
+struct genobject_pcluster_s;
+
+
+// stargate limits ------------------------------------------------------------
+//
+#define STARGATE_MAX_DEST_IP 255
+
+
+// stargate custom type structure ---------------------------------------------
+//
+struct Stargate : CustomObject {
+
+ // properties
+ bams_t rotspeed;
+ float radius;
+ geomv_t actdistance;
+ int dormant;
+ int active;
+ int autoactivate;
+ int numpartactive;
+ int actcyllen;
+ float partvel;
+ bams_t modulspeed;
+ float modulrad1;
+ float modulrad2;
+ float modulfade;
+ int acttime;
+ char flare_name [ MAX_TEXNAME + 1 ];
+ char interior_name[ MAX_TEXNAME + 1 ];
+
+ // internal data
+ word serverid;
+ char destination_name[ MAX_SERVER_NAME + 1 ];
+ //char destination_ip[ STARGATE_MAX_DEST_IP + 1 ];
+ //word destination_port;
+ node_t destination_node;
+ bams_t modulate_bams;
+ int curactcyllen;
+ int activating;
+ int manually_activated;
+ float actring;
+ genobject_pcluster_s* pcluster;
+ Vertex3* interior_vtxlist; // vtxs in object space
+ Vertex3* interior_viewvtxs; // vtxs in view space
+ geomv_t* interior_u; // u texture coordinates
+ geomv_t* interior_v; // v texture coordinates
+ TextureMap* interior_texmap;
+ int ping;
+ refframe_t lastpinged;
+};
+
+
+// external functions ---------------------------------------------------------
+//
+// (none)
+
+
+#endif // _S_STGATE_H_
+
+