2014-05-31 00:14:47 +06:00
|
|
|
#pragma warning(disable:4481) // nonstandard extension used: override specifier 'override'
|
|
|
|
#pragma warning(disable:4401) // member is bit field
|
|
|
|
#pragma warning(disable:4733) // handler not registered as safe handler
|
|
|
|
#pragma warning(disable:4725) // instruction may be inaccurate on some Pentiums
|
2014-08-04 18:30:16 +06:00
|
|
|
#pragma warning(disable:4201) // nonstandard extension used: nameless struct/union
|
2014-05-31 00:14:47 +06:00
|
|
|
|
|
|
|
#define WIN32_LEAN_AND_MEAN
|
|
|
|
#define _CRT_SECURE_NO_WARNINGS
|
|
|
|
#define _USE_MATH_DEFINES
|
|
|
|
|
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>
|
2014-06-06 18:59:16 +06:00
|
|
|
#include <rtpng.h>
|
2014-05-31 00:14:47 +06:00
|
|
|
|
2015-02-08 23:52:41 +05:00
|
|
|
#include "resource.h"
|
|
|
|
|
2014-05-31 00:14:47 +06:00
|
|
|
#include "MemoryMgr.h"
|
2014-06-03 06:10:03 +06:00
|
|
|
#include "Maths.h"
|
2017-03-28 00:17:43 +05:00
|
|
|
#include "rwpred.hpp"
|
2014-06-03 06:10:03 +06:00
|
|
|
|
2014-06-10 22:31:19 +06:00
|
|
|
// SA operator delete
|
2014-08-03 19:38:53 +06:00
|
|
|
extern void (*GTAdelete)(void* data);
|
2014-08-13 02:30:37 +06:00
|
|
|
extern const char* (*GetFrameNodeName)(RwFrame*);
|
2014-08-19 16:57:35 +06:00
|
|
|
extern RpHAnimHierarchy* (*GetAnimHierarchyFromSkinClump)(RpClump*);
|
2017-03-09 04:53:03 +05:00
|
|
|
int32_t Int32Rand();
|
2014-06-10 22:31:19 +06:00
|
|
|
|
2014-06-15 23:56:43 +06:00
|
|
|
extern unsigned char& nGameClockDays;
|
|
|
|
extern unsigned char& nGameClockMonths;
|
|
|
|
|
2016-07-04 06:20:40 +05:00
|
|
|
#define DISABLE_FLA_DONATION_WINDOW 0
|