SilentPatch/SilentPatchSA/StdAfxSA.h

41 lines
958 B
C
Raw Normal View History

2017-04-02 22:41:50 +05:00
#pragma warning(disable:4458) // declaration hides class member
#pragma warning(disable:4201) // nonatandard extension user: nameless struct/union
#pragma warning(disable:4100) // unreferenced formal parameter
2014-05-31 00:14:47 +06:00
#define WIN32_LEAN_AND_MEAN
2016-11-12 22:28:46 +05:00
#define NOMINMAX
2015-05-02 03:27:30 +05:00
#define WINVER 0x0502
#define _WIN32_WINNT 0x0502
2014-05-31 00:14:47 +06:00
#include <windows.h>
2014-08-03 19:38:53 +06:00
#include <cassert>
2014-05-31 00:14:47 +06:00
#define RwEngineInstance (*rwengine)
#include <rwcore.h>
2014-08-19 16:57:35 +06:00
#include <rphanim.h>
#include <rtpng.h>
2014-05-31 00:14:47 +06:00
2019-06-29 02:14:32 +05:00
#include "Utils/MemoryMgr.h"
#include "Utils/MemoryMgr.GTA.h"
#include "Maths.h"
2019-03-06 01:26:46 +05:00
#include "rwutils.hpp"
2017-06-19 23:00:02 +05:00
#include "TheFLAUtils.h"
2014-06-10 22:31:19 +06:00
// SA operator delete
2014-08-03 19:38:53 +06:00
extern void (*GTAdelete)(void* data);
extern const char* (*GetFrameNodeName)(RwFrame*);
2014-08-19 16:57:35 +06:00
extern RpHAnimHierarchy* (*GetAnimHierarchyFromSkinClump)(RpClump*);
RwObject* GetFirstObject(RwFrame* pFrame);
2014-06-10 22:31:19 +06:00
extern unsigned char& nGameClockDays;
extern unsigned char& nGameClockMonths;
#ifdef _DEBUG
2017-04-10 15:32:31 +05:00
#define MEM_VALIDATORS 1
#else
#define MEM_VALIDATORS 0
2017-04-10 15:32:31 +05:00
#endif