2017-04-02 19:41:50 +02: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-30 20:14:47 +02:00
|
|
|
|
|
|
|
#define WIN32_LEAN_AND_MEAN
|
|
|
|
|
2016-11-12 18:28:46 +01:00
|
|
|
#define NOMINMAX
|
2015-05-02 00:27:30 +02:00
|
|
|
#define WINVER 0x0502
|
|
|
|
#define _WIN32_WINNT 0x0502
|
2014-05-30 20:14:47 +02:00
|
|
|
|
|
|
|
#include <windows.h>
|
2014-08-03 15:38:53 +02:00
|
|
|
#include <cassert>
|
2014-05-30 20:14:47 +02:00
|
|
|
|
|
|
|
#define RwEngineInstance (*rwengine)
|
|
|
|
|
|
|
|
#include <rwcore.h>
|
2014-08-19 12:57:35 +02:00
|
|
|
#include <rphanim.h>
|
2014-06-06 14:59:16 +02:00
|
|
|
#include <rtpng.h>
|
2014-05-30 20:14:47 +02:00
|
|
|
|
|
|
|
#include "MemoryMgr.h"
|
2014-06-03 02:10:03 +02:00
|
|
|
#include "Maths.h"
|
2017-03-27 21:17:43 +02:00
|
|
|
#include "rwpred.hpp"
|
2014-06-03 02:10:03 +02:00
|
|
|
|
2017-06-19 20:00:02 +02:00
|
|
|
#include "TheFLAUtils.h"
|
|
|
|
|
2014-06-10 18:31:19 +02:00
|
|
|
// SA operator delete
|
2014-08-03 15:38:53 +02:00
|
|
|
extern void (*GTAdelete)(void* data);
|
2014-08-12 22:30:37 +02:00
|
|
|
extern const char* (*GetFrameNodeName)(RwFrame*);
|
2014-08-19 12:57:35 +02:00
|
|
|
extern RpHAnimHierarchy* (*GetAnimHierarchyFromSkinClump)(RpClump*);
|
2017-03-09 00:53:03 +01:00
|
|
|
int32_t Int32Rand();
|
2014-06-10 18:31:19 +02:00
|
|
|
|
2014-06-15 19:56:43 +02:00
|
|
|
extern unsigned char& nGameClockDays;
|
|
|
|
extern unsigned char& nGameClockMonths;
|
|
|
|
|
2016-07-04 03:20:40 +02:00
|
|
|
#define DISABLE_FLA_DONATION_WINDOW 0
|
2017-04-10 12:32:31 +02:00
|
|
|
|
2017-09-12 13:48:15 +02:00
|
|
|
#ifdef _DEBUG
|
2017-04-10 12:32:31 +02:00
|
|
|
#define MEM_VALIDATORS 1
|
2017-09-12 13:48:15 +02:00
|
|
|
#else
|
|
|
|
#define MEM_VALIDATORS 0
|
2017-04-10 12:32:31 +02:00
|
|
|
#endif
|