00001 // ----------------------------------------------------------------------- // 00002 // 00003 // MODULE : serverinterfaces.h 00004 // 00005 // PURPOSE : Declares extern pointers to the server interfaces 00006 // 00007 // CREATED : 12/20/00 00008 // 00009 // (c) 2000 LithTech, Inc. All Rights Reserved 00010 // 00011 // ----------------------------------------------------------------------- // 00012 00013 #ifndef __SERVER_INTERFACES_H__ 00014 #define __SERVER_INTERFACES_H__ 00015 00016 00017 // Engine includes 00018 #include <ltbasedefs.h> 00019 00020 00022 // Must include sdk/inc/iltcommon.h to use 00023 class ILTCommon; 00024 extern ILTCommon *g_pLTSCommon; 00025 00026 // Must include sdk/inc/iltphysics.h to use 00027 class ILTPhysics; 00028 extern ILTPhysics *g_pLTSPhysics; 00029 00030 // Must include sdk/inc/iltmodel.h to use 00031 class ILTModel; 00032 extern ILTModel *g_pLTSModel; 00033 00034 // Must include sdk/inc/iltsoundmgr.h to use 00035 class ILTSoundMgr; 00036 extern ILTSoundMgr* g_pLTSSoundMgr; 00037 00038 // Must include sdk/inc/physics/collisionmgr.h to use 00039 class ILTCollisionMgr; 00040 extern ILTCollisionMgr* g_pLTSCollisionMgr; 00041 00042 // Must include share/src/istatemgr.h to use 00043 class ISplEventMgr; 00044 extern ISplEventMgr* g_pSplSEventMgr; 00045 00047 // This function verifies that all interfaces have been properly 00048 // initialized (non-NULL) 00049 // It should be called sometime after construction of all interfaces. 00050 LTRESULT VerifyServerInterfaces(); 00051 00052 00053 #endif // __SERVER_INTERFACES_H__