Simplify Asset Headers (#2474)
This commit is contained in:
@@ -1,37 +1,18 @@
|
||||
#pragma once
|
||||
#define ds1Tex "__OTR__overlays/ovl_Arrow_Ice/s1Tex"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char s1Tex[] = ds1Tex;
|
||||
#else
|
||||
static const char s1Tex[] __attribute__((aligned (2))) = ds1Tex;
|
||||
#endif
|
||||
|
||||
#define ds2Tex "__OTR__overlays/ovl_Arrow_Ice/s2Tex"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char s2Tex[] = ds2Tex;
|
||||
#else
|
||||
static const char s2Tex[] __attribute__((aligned (2))) = ds2Tex;
|
||||
#endif
|
||||
|
||||
#define dsVtx "__OTR__overlays/ovl_Arrow_Ice/sVtx"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char sVtx[] = dsVtx;
|
||||
#else
|
||||
static const char sVtx[] __attribute__((aligned (2))) = dsVtx;
|
||||
#endif
|
||||
|
||||
#define dsMaterialDL "__OTR__overlays/ovl_Arrow_Ice/sMaterialDL"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char sMaterialDL[] = dsMaterialDL;
|
||||
#else
|
||||
static const char sMaterialDL[] __attribute__((aligned (2))) = dsMaterialDL;
|
||||
#endif
|
||||
|
||||
#define dsModelDL "__OTR__overlays/ovl_Arrow_Ice/sModelDL"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char sModelDL[] = dsModelDL;
|
||||
#else
|
||||
static const char sModelDL[] __attribute__((aligned (2))) = dsModelDL;
|
||||
#endif
|
||||
|
||||
|
||||
#include "align_asset_macro.h"
|
||||
|
||||
#define ds1Tex "__OTR__overlays/ovl_Arrow_Ice/s1Tex"
|
||||
static const ALIGN_ASSET(2) char s1Tex[] = ds1Tex;
|
||||
|
||||
#define ds2Tex "__OTR__overlays/ovl_Arrow_Ice/s2Tex"
|
||||
static const ALIGN_ASSET(2) char s2Tex[] = ds2Tex;
|
||||
|
||||
#define dsVtx "__OTR__overlays/ovl_Arrow_Ice/sVtx"
|
||||
static const ALIGN_ASSET(2) char sVtx[] = dsVtx;
|
||||
|
||||
#define dsMaterialDL "__OTR__overlays/ovl_Arrow_Ice/sMaterialDL"
|
||||
static const ALIGN_ASSET(2) char sMaterialDL[] = dsMaterialDL;
|
||||
|
||||
#define dsModelDL "__OTR__overlays/ovl_Arrow_Ice/sModelDL"
|
||||
static const ALIGN_ASSET(2) char sModelDL[] = dsModelDL;
|
||||
Reference in New Issue
Block a user