Simplify Asset Headers (#2474)
This commit is contained in:
@@ -1,65 +1,30 @@
|
||||
#pragma once
|
||||
#define dgBlockSmallDL "__OTR__objects/object_pu_box/gBlockSmallDL"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gBlockSmallDL[] = dgBlockSmallDL;
|
||||
#else
|
||||
static const char gBlockSmallDL[] __attribute__((aligned (2))) = dgBlockSmallDL;
|
||||
#endif
|
||||
|
||||
#define dgBlockSmallCol "__OTR__objects/object_pu_box/gBlockSmallCol"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gBlockSmallCol[] = dgBlockSmallCol;
|
||||
#else
|
||||
static const char gBlockSmallCol[] __attribute__((aligned (2))) = dgBlockSmallCol;
|
||||
#endif
|
||||
|
||||
#define dgBlockMediumDL "__OTR__objects/object_pu_box/gBlockMediumDL"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gBlockMediumDL[] = dgBlockMediumDL;
|
||||
#else
|
||||
static const char gBlockMediumDL[] __attribute__((aligned (2))) = dgBlockMediumDL;
|
||||
#endif
|
||||
|
||||
#define dgBlockMediumCol "__OTR__objects/object_pu_box/gBlockMediumCol"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gBlockMediumCol[] = dgBlockMediumCol;
|
||||
#else
|
||||
static const char gBlockMediumCol[] __attribute__((aligned (2))) = dgBlockMediumCol;
|
||||
#endif
|
||||
|
||||
#define dgBlockTallDL "__OTR__objects/object_pu_box/gBlockTallDL"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gBlockTallDL[] = dgBlockTallDL;
|
||||
#else
|
||||
static const char gBlockTallDL[] __attribute__((aligned (2))) = dgBlockTallDL;
|
||||
#endif
|
||||
|
||||
#define dgBlockTallCol "__OTR__objects/object_pu_box/gBlockTallCol"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gBlockTallCol[] = dgBlockTallCol;
|
||||
#else
|
||||
static const char gBlockTallCol[] __attribute__((aligned (2))) = dgBlockTallCol;
|
||||
#endif
|
||||
|
||||
#define dgBlockTallestDL "__OTR__objects/object_pu_box/gBlockTallestDL"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gBlockTallestDL[] = dgBlockTallestDL;
|
||||
#else
|
||||
static const char gBlockTallestDL[] __attribute__((aligned (2))) = dgBlockTallestDL;
|
||||
#endif
|
||||
|
||||
#define dgBlockTallestCol "__OTR__objects/object_pu_box/gBlockTallestCol"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gBlockTallestCol[] = dgBlockTallestCol;
|
||||
#else
|
||||
static const char gBlockTallestCol[] __attribute__((aligned (2))) = dgBlockTallestCol;
|
||||
#endif
|
||||
|
||||
#define dgBlockTex "__OTR__objects/object_pu_box/gBlockTex"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gBlockTex[] = dgBlockTex;
|
||||
#else
|
||||
static const char gBlockTex[] __attribute__((aligned (2))) = dgBlockTex;
|
||||
#endif
|
||||
|
||||
|
||||
#include "align_asset_macro.h"
|
||||
|
||||
#define dgBlockSmallDL "__OTR__objects/object_pu_box/gBlockSmallDL"
|
||||
static const ALIGN_ASSET(2) char gBlockSmallDL[] = dgBlockSmallDL;
|
||||
|
||||
#define dgBlockSmallCol "__OTR__objects/object_pu_box/gBlockSmallCol"
|
||||
static const ALIGN_ASSET(2) char gBlockSmallCol[] = dgBlockSmallCol;
|
||||
|
||||
#define dgBlockMediumDL "__OTR__objects/object_pu_box/gBlockMediumDL"
|
||||
static const ALIGN_ASSET(2) char gBlockMediumDL[] = dgBlockMediumDL;
|
||||
|
||||
#define dgBlockMediumCol "__OTR__objects/object_pu_box/gBlockMediumCol"
|
||||
static const ALIGN_ASSET(2) char gBlockMediumCol[] = dgBlockMediumCol;
|
||||
|
||||
#define dgBlockTallDL "__OTR__objects/object_pu_box/gBlockTallDL"
|
||||
static const ALIGN_ASSET(2) char gBlockTallDL[] = dgBlockTallDL;
|
||||
|
||||
#define dgBlockTallCol "__OTR__objects/object_pu_box/gBlockTallCol"
|
||||
static const ALIGN_ASSET(2) char gBlockTallCol[] = dgBlockTallCol;
|
||||
|
||||
#define dgBlockTallestDL "__OTR__objects/object_pu_box/gBlockTallestDL"
|
||||
static const ALIGN_ASSET(2) char gBlockTallestDL[] = dgBlockTallestDL;
|
||||
|
||||
#define dgBlockTallestCol "__OTR__objects/object_pu_box/gBlockTallestCol"
|
||||
static const ALIGN_ASSET(2) char gBlockTallestCol[] = dgBlockTallestCol;
|
||||
|
||||
#define dgBlockTex "__OTR__objects/object_pu_box/gBlockTex"
|
||||
static const ALIGN_ASSET(2) char gBlockTex[] = dgBlockTex;
|
||||
Reference in New Issue
Block a user