mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-27 06:02:11 +00:00
19 lines
401 B
C++
19 lines
401 B
C++
#pragma once
|
|
|
|
#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)
|