mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-11-22 13:32:36 +01:00
44 lines
1006 B
C
44 lines
1006 B
C
#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
|
|
|
|
#define WIN32_LEAN_AND_MEAN
|
|
|
|
#define NOMINMAX
|
|
#define WINVER 0x0502
|
|
#define _WIN32_WINNT 0x0502
|
|
|
|
#include <windows.h>
|
|
#include <cassert>
|
|
|
|
#define RwEngineInstance (*rwengine)
|
|
|
|
#include <rwcore.h>
|
|
#include <rphanim.h>
|
|
#include <rtpng.h>
|
|
|
|
#include "MemoryMgr.h"
|
|
#include "MemoryMgr.GTA.h"
|
|
#include "Maths.h"
|
|
#include "rwpred.hpp"
|
|
|
|
#include "TheFLAUtils.h"
|
|
|
|
// SA operator delete
|
|
extern void (*GTAdelete)(void* data);
|
|
extern const char* (*GetFrameNodeName)(RwFrame*);
|
|
extern RpHAnimHierarchy* (*GetAnimHierarchyFromSkinClump)(RpClump*);
|
|
int32_t Int32Rand();
|
|
RwObject* GetFirstObject(RwFrame* pFrame);
|
|
|
|
extern unsigned char& nGameClockDays;
|
|
extern unsigned char& nGameClockMonths;
|
|
|
|
#define DISABLE_FLA_DONATION_WINDOW 0
|
|
|
|
#ifdef _DEBUG
|
|
#define MEM_VALIDATORS 1
|
|
#else
|
|
#define MEM_VALIDATORS 0
|
|
#endif
|