2016-04-18 09:08:37 +00:00
|
|
|
/*==============================================
|
|
|
|
File created by Yohann NICOLAS.
|
|
|
|
|
|
|
|
@file error.hpp
|
|
|
|
@brief Error logger definition.
|
|
|
|
|
|
|
|
This file defiens various functions related to
|
|
|
|
error handling in D2External functions.
|
|
|
|
|
|
|
|
==============================================*/
|
2017-01-23 19:34:12 +00:00
|
|
|
#pragma once
|
2016-04-18 09:08:37 +00:00
|
|
|
|
|
|
|
#include <windows.h>
|
|
|
|
|
|
|
|
extern DWORD active_logFile;
|
|
|
|
|
|
|
|
void log_initfile();
|
|
|
|
void log_box( const char* pFormat, ... );
|
|
|
|
void log_msg( const char* pFormat, ... );
|
|
|
|
void d2_assert( bool pCondition, char* pLocation, char* pMessage, int pLineNbr );
|
|
|
|
|
2017-01-23 19:34:12 +00:00
|
|
|
/*================================= END OF FILE =================================*/
|