mirror of
https://github.com/1dot13/source.git
synced 2026-09-16 14:47:17 +02:00
Added Debug compatability for VC6
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@572 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -129,7 +129,9 @@ extern void DbgMessageReal(UINT16 uiTopicId, UINT8 uiCommand, UINT8 uiDebugLevel
|
||||
|
||||
extern BOOLEAN DbgSetDebugLevel(UINT16 TopicId, UINT8 uiDebugLevel);
|
||||
extern void DbgFailedAssertion( BOOLEAN fExpression, char *szFile, int nLine );
|
||||
//extern void _FailMessage(UINT8 *pString, UINT32 uiLineNum, UINT8 *pSourceFile );
|
||||
#if _MSC_VER <= 1200
|
||||
extern void _FailMessage(UINT8 *pString, UINT32 uiLineNum, UINT8 *pSourceFile );
|
||||
#endif
|
||||
extern void DbgTopicRegistration( UINT8 ubCmd, UINT16 *usTopicID, CHAR8 *zMessage );
|
||||
extern void DbgClearAllTopics( void );
|
||||
extern void _DebugMessage(UINT8 *pSourceFile, UINT32 uiLineNum, UINT8 *pString);
|
||||
|
||||
@@ -494,7 +494,9 @@ template void _FailMessage<char const *, char const *>(char const *, unsigned in
|
||||
template void _FailMessage<int, char const *>(int, unsigned int, char const *);
|
||||
template void _FailMessage<int, char *>(int, unsigned int, char *);
|
||||
template void _FailMessage<char *, char *>(char *, unsigned int, char *);
|
||||
// template void _FailMessage<char *, char *>(unsigned char *, unsigned int, char *);
|
||||
#if _MSC_VER <= 1200
|
||||
template void _FailMessage<char *, char *>(unsigned char *, unsigned int, char *);
|
||||
#endif
|
||||
template void _FailMessage<unsigned char *, char const *>(unsigned char *, unsigned int, char const *);
|
||||
template <typename type1, typename type2>
|
||||
void _FailMessage( type1 pString, UINT32 uiLineNum, type2 pSourceFile )
|
||||
|
||||
Reference in New Issue
Block a user