00001 // ----------------------------------------------------------------------- // 00002 // 00003 // MODULE : clienthelper.h 00004 // 00005 // PURPOSE : Client-side helper functions - Definition 00006 // 00007 // CREATED : 03/22/01 00008 // 00009 // (c) 2001 LithTech, Inc. All Rights Reserved 00010 // 00011 // ----------------------------------------------------------------------- // 00012 00013 #ifndef __CLIENT_HELPER_H__ 00014 #define __CLIENT_HELPER_H__ 00015 00016 00017 // Engine includes 00018 #include <ltcodes.h> 00019 00020 00022 LTRESULT ShutdownIfFailed(LTRESULT result, const char *pErrStr); 00023 LTRESULT DebugPrintIfFailed(LTRESULT result, const char *pErrStr); 00024 int DebugWrite(const char *pStr, ...); 00025 00026 00027 #endif // __CLIENT_HELPER_H__