00001 // ----------------------------------------------------------------------- // 00002 // 00003 // MODULE : clientinterfaces.h 00004 // 00005 // PURPOSE : Declares extern pointers to the client interfaces 00006 // 00007 // CREATED : 12/20/00 00008 // 00009 // (c) 2000 LithTech, Inc. All Rights Reserved 00010 // 00011 // ----------------------------------------------------------------------- // 00012 00013 #ifndef __CLIENT_INTERFACES_H__ 00014 #define __CLIENT_INTERFACES_H__ 00015 00016 00017 // Engine includes 00018 #include <ltbasetypes.h> 00019 00020 00022 // Must include sdk/inc/iltcommon.h to use 00023 class ILTCommon; 00024 extern ILTCommon *g_pLTCCommon; 00025 00026 // Must include sdk/inc/iltphysics.h to use 00027 class ILTPhysics; 00028 extern ILTPhysics *g_pLTCPhysics; 00029 00030 // Must include sdk/inc/iltmodel.h to use 00031 class ILTModelClient; 00032 extern ILTModelClient *g_pLTCModel; 00033 00034 // Must include sdk/inc/iltdrawprim.h to use 00035 class ILTDrawPrim; 00036 extern ILTDrawPrim *g_pLTCDrawPrim; 00037 00038 // Must include sdk/inc/ilttexinterface.h to use 00039 class ILTTexInterface; 00040 extern ILTTexInterface *g_pLTCTexInterface; 00041 00042 // Must include sdk/inc/iltsoundmgr.h to use 00043 class ILTClientSoundMgr; 00044 extern ILTClientSoundMgr* g_pLTCSoundMgr; 00045 00046 // Must include sdk/inc/physics/collisionmgr.h to use 00047 class ILTCollisionMgr; 00048 extern ILTCollisionMgr* g_pLTCCollisionMgr; 00049 00050 // Must include sdk/inc/iltfontmanager.h to use 00051 class ILTFontManager; 00052 extern ILTFontManager* g_pLTCFontManager; 00053 00054 // Must include sdk/inc/iltwidgetmanager.h to use 00055 class ILTWidgetManager; 00056 extern ILTWidgetManager* g_pLTCWidgetManager; 00057 00058 // Must include shared/src/istatemgr.h to use 00059 class ISplEventMgr; 00060 extern ISplEventMgr *g_pSplCEventMgr; 00061 00062 00064 // This function verifies that all interfaces have been properly 00065 // initialized (non-NULL) 00066 // It should be called sometime after construction of all interfaces. 00067 LTRESULT VerifyClientInterfaces(); 00068 00069 00070 #endif // __CLIENT_INTERFACES_H__