mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-25 21:31:14 +00:00
21 lines
434 B
C++
21 lines
434 B
C++
#pragma once
|
|
|
|
#define _CRT_SECURE_NO_WARNINGS
|
|
|
|
#include <cstdint>
|
|
#include <vector>
|
|
#include <map>
|
|
#include <memory>
|
|
|
|
#ifdef WIN32
|
|
#include <Windows.h>
|
|
#undef min
|
|
#undef max
|
|
#endif
|
|
|
|
#include "gl_load/gl_system.h"
|
|
|
|
#define APART(x) (static_cast<uint32_t>(x) >> 24)
|
|
#define RPART(x) ((static_cast<uint32_t>(x) >> 16) & 0xff)
|
|
#define GPART(x) ((static_cast<uint32_t>(x) >> 8) & 0xff)
|
|
#define BPART(x) (static_cast<uint32_t>(x) & 0xff)
|