diff options
Diffstat (limited to 'src/parsec_server/include/e_world_trans.h')
| -rwxr-xr-x | src/parsec_server/include/e_world_trans.h | 33 |
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_ |
