2016-04-18 09:08:37 +00:00
|
|
|
/*==============================================
|
|
|
|
File created by Yohann NICOLAS.
|
2016-04-18 09:10:35 +00:00
|
|
|
Add support 1.13d by L'Autour.
|
2016-04-18 09:08:37 +00:00
|
|
|
|
|
|
|
this file implements some common and useful
|
|
|
|
function related to some Diablo II mechanisms.
|
|
|
|
|
|
|
|
/*============================================*/
|
|
|
|
#pragma once
|
|
|
|
|
2017-01-23 19:34:12 +00:00
|
|
|
//#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
|
2016-04-18 09:08:37 +00:00
|
|
|
#include <windows.h>
|
2017-01-23 19:34:12 +00:00
|
|
|
|
2016-04-18 09:08:37 +00:00
|
|
|
#include "../Commons/d2Constants.h"
|
|
|
|
#include "../Commons/d2BinFile.h"
|
|
|
|
#include "../Commons/d2Struct.h"
|
|
|
|
#include "../Commons/d2StringTblStruct.h"
|
|
|
|
#include "../Commons/D2UnitStruct.h"
|
|
|
|
#include "../Commons/updatingConst.h"
|
2017-01-23 19:34:12 +00:00
|
|
|
#include "../Commons/VersionInfo.h"
|
2016-04-18 09:08:37 +00:00
|
|
|
|
2017-01-23 19:34:12 +00:00
|
|
|
#include "error.h"
|
2016-04-18 09:08:37 +00:00
|
|
|
#include "modifMemory.h"
|
|
|
|
#include "parameters.h"
|
2017-01-23 19:34:12 +00:00
|
|
|
#include "d2wrapper.h"
|
|
|
|
#include "playerCustomData.h" // include common.h
|
|
|
|
#include "globalVariable.h" // include common.h
|
2016-04-18 09:10:35 +00:00
|
|
|
|
2017-01-23 19:34:12 +00:00
|
|
|
#include "d2functions.h"
|
|
|
|
#include "LocalizedStrings.h"
|
2016-04-18 09:08:37 +00:00
|
|
|
|
|
|
|
bool isOnRect(DWORD x, DWORD y, DWORD x0, DWORD y0, DWORD l, DWORD h);
|
|
|
|
void freeMessage(sWinMessage* msg);
|
|
|
|
|
|
|
|
/*================================= END OF FILE =================================*/
|