aboutsummaryrefslogtreecommitdiff
path: root/src/parsec_server/include/e_world_trans.h
blob: 57b85e0ac77f860552ff555fff7753689ccbc224 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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_