aboutsummaryrefslogtreecommitdiff
path: root/src/parsec_server/include/e_world_trans.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/parsec_server/include/e_world_trans.h
downloadopenparsec-main.tar.xz
openparsec-main.zip
initial importHEADmain
Diffstat (limited to 'src/parsec_server/include/e_world_trans.h')
-rwxr-xr-xsrc/parsec_server/include/e_world_trans.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/parsec_server/include/e_world_trans.h b/src/parsec_server/include/e_world_trans.h
new file mode 100755
index 0000000..57b85e0
--- /dev/null
+++ b/src/parsec_server/include/e_world_trans.h
@@ -0,0 +1,33 @@
+/*
+* PARSEC HEADER: e_world_trans.h
+*/
+
+#ifndef _E_WORLD_TRANS_H_
+#define _E_WORLD_TRANS_H_
+
+#ifdef PARSEC_SERVER
+
+ // macros for migration purposes ------------------------------------------
+ //
+ #define PShipObjects TheWorld->m_PShipObjects
+ #define LaserObjects TheWorld->m_LaserObjects
+ #define MisslObjects TheWorld->m_MisslObjects
+ #define ExtraObjects TheWorld->m_ExtraObjects
+ #define CustmObjects TheWorld->m_CustmObjects
+
+ #define CreateObject TheWorld->CreateObject
+ #define FreeObjList TheWorld->FreeObjList
+ #define KillAllObjects TheWorld->KillAllObjects
+ #define FetchObject TheWorld->FetchObject
+ #define FetchFirstShip TheWorld->FetchFirstShip
+ #define FetchFirstLaser TheWorld->FetchFirstLaser
+ #define FetchFirstMissile TheWorld->FetchFirstMissile
+ #define FetchFirstExtra TheWorld->FetchFirstExtra
+ #define FetchFirstCustom TheWorld->FetchFirstCustom
+ #define KillClassInstances TheWorld->KillClassInstances
+
+ #define ObjClasses TheWorld->ObjClasses
+
+#endif // PARSEC_SERVER
+
+#endif // _E_WORLD_TRANS_H_