iw5-mod/src/std_include.hpp

45 lines
683 B
C++
Raw Normal View History

2018-12-01 09:42:29 -05:00
#pragma once
2018-12-23 16:15:32 -05:00
#define BINARY_PAYLOAD_SIZE 0x0A000000
2018-12-23 12:25:22 -05:00
#pragma warning(push)
#pragma warning(disable: 4458)
2018-12-01 09:42:29 -05:00
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
2018-12-23 12:25:22 -05:00
#include <Windowsx.h>
#include <objidl.h>
#include <gdiplus.h>
2018-12-01 09:42:29 -05:00
2018-12-26 10:28:16 -05:00
// min and max is required by gdi, therefore NOMINMAX won't work
#ifdef max
#undef max
#endif
#ifdef min
#undef min
#endif
2018-12-01 09:42:29 -05:00
#include <map>
#include <vector>
2018-12-22 12:45:27 -05:00
#include <mutex>
2018-12-23 07:17:08 -05:00
#include <thread>
2018-12-23 16:15:32 -05:00
#include <fstream>
#include <filesystem>
2018-12-23 07:17:08 -05:00
2018-12-26 10:28:16 -05:00
#include <zlib.h>
#include <diff.h>
#include <patch.h>
#include <tomcrypt.h>
2018-12-23 12:25:22 -05:00
#pragma warning(pop)
2018-12-23 07:17:08 -05:00
using namespace std::literals;
2018-12-01 09:42:29 -05:00
2018-12-23 12:25:22 -05:00
#pragma comment (lib, "gdiplus.lib")
2018-12-01 09:42:29 -05:00
#pragma warning(disable: 4100)
2018-12-23 12:25:22 -05:00
#include "resource.hpp"