Simplify Asset Headers (#2474)
This commit is contained in:
@@ -1,79 +1,36 @@
|
||||
#pragma once
|
||||
#define dgFaTLUT "__OTR__objects/object_fa/gFaTLUT"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gFaTLUT[] = dgFaTLUT;
|
||||
#else
|
||||
static const char gFaTLUT[] __attribute__((aligned (2))) = dgFaTLUT;
|
||||
#endif
|
||||
|
||||
#define dgFaSkinTex "__OTR__objects/object_fa/gFaSkinTex"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gFaSkinTex[] = dgFaSkinTex;
|
||||
#else
|
||||
static const char gFaSkinTex[] __attribute__((aligned (2))) = dgFaSkinTex;
|
||||
#endif
|
||||
|
||||
#define dgFaEyeOpenTex "__OTR__objects/object_fa/gFaEyeOpenTex"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gFaEyeOpenTex[] = dgFaEyeOpenTex;
|
||||
#else
|
||||
static const char gFaEyeOpenTex[] __attribute__((aligned (2))) = dgFaEyeOpenTex;
|
||||
#endif
|
||||
|
||||
#define dgFaMouthTex "__OTR__objects/object_fa/gFaMouthTex"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gFaMouthTex[] = dgFaMouthTex;
|
||||
#else
|
||||
static const char gFaMouthTex[] __attribute__((aligned (2))) = dgFaMouthTex;
|
||||
#endif
|
||||
|
||||
#define dgFaHair1Tex "__OTR__objects/object_fa/gFaHair1Tex"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gFaHair1Tex[] = dgFaHair1Tex;
|
||||
#else
|
||||
static const char gFaHair1Tex[] __attribute__((aligned (2))) = dgFaHair1Tex;
|
||||
#endif
|
||||
|
||||
#define dgFaEarTex "__OTR__objects/object_fa/gFaEarTex"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gFaEarTex[] = dgFaEarTex;
|
||||
#else
|
||||
static const char gFaEarTex[] __attribute__((aligned (2))) = dgFaEarTex;
|
||||
#endif
|
||||
|
||||
#define dgFaHair2Tex "__OTR__objects/object_fa/gFaHair2Tex"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gFaHair2Tex[] = dgFaHair2Tex;
|
||||
#else
|
||||
static const char gFaHair2Tex[] __attribute__((aligned (2))) = dgFaHair2Tex;
|
||||
#endif
|
||||
|
||||
#define dgFaHeadbandTex "__OTR__objects/object_fa/gFaHeadbandTex"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gFaHeadbandTex[] = dgFaHeadbandTex;
|
||||
#else
|
||||
static const char gFaHeadbandTex[] __attribute__((aligned (2))) = dgFaHeadbandTex;
|
||||
#endif
|
||||
|
||||
#define dgFaEyeHalfTex "__OTR__objects/object_fa/gFaEyeHalfTex"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gFaEyeHalfTex[] = dgFaEyeHalfTex;
|
||||
#else
|
||||
static const char gFaEyeHalfTex[] __attribute__((aligned (2))) = dgFaEyeHalfTex;
|
||||
#endif
|
||||
|
||||
#define dgFaEyeClosedTex "__OTR__objects/object_fa/gFaEyeClosedTex"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gFaEyeClosedTex[] = dgFaEyeClosedTex;
|
||||
#else
|
||||
static const char gFaEyeClosedTex[] __attribute__((aligned (2))) = dgFaEyeClosedTex;
|
||||
#endif
|
||||
|
||||
#define dgFaDL "__OTR__objects/object_fa/gFaDL"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gFaDL[] = dgFaDL;
|
||||
#else
|
||||
static const char gFaDL[] __attribute__((aligned (2))) = dgFaDL;
|
||||
#endif
|
||||
|
||||
|
||||
#include "align_asset_macro.h"
|
||||
|
||||
#define dgFaTLUT "__OTR__objects/object_fa/gFaTLUT"
|
||||
static const ALIGN_ASSET(2) char gFaTLUT[] = dgFaTLUT;
|
||||
|
||||
#define dgFaSkinTex "__OTR__objects/object_fa/gFaSkinTex"
|
||||
static const ALIGN_ASSET(2) char gFaSkinTex[] = dgFaSkinTex;
|
||||
|
||||
#define dgFaEyeOpenTex "__OTR__objects/object_fa/gFaEyeOpenTex"
|
||||
static const ALIGN_ASSET(2) char gFaEyeOpenTex[] = dgFaEyeOpenTex;
|
||||
|
||||
#define dgFaMouthTex "__OTR__objects/object_fa/gFaMouthTex"
|
||||
static const ALIGN_ASSET(2) char gFaMouthTex[] = dgFaMouthTex;
|
||||
|
||||
#define dgFaHair1Tex "__OTR__objects/object_fa/gFaHair1Tex"
|
||||
static const ALIGN_ASSET(2) char gFaHair1Tex[] = dgFaHair1Tex;
|
||||
|
||||
#define dgFaEarTex "__OTR__objects/object_fa/gFaEarTex"
|
||||
static const ALIGN_ASSET(2) char gFaEarTex[] = dgFaEarTex;
|
||||
|
||||
#define dgFaHair2Tex "__OTR__objects/object_fa/gFaHair2Tex"
|
||||
static const ALIGN_ASSET(2) char gFaHair2Tex[] = dgFaHair2Tex;
|
||||
|
||||
#define dgFaHeadbandTex "__OTR__objects/object_fa/gFaHeadbandTex"
|
||||
static const ALIGN_ASSET(2) char gFaHeadbandTex[] = dgFaHeadbandTex;
|
||||
|
||||
#define dgFaEyeHalfTex "__OTR__objects/object_fa/gFaEyeHalfTex"
|
||||
static const ALIGN_ASSET(2) char gFaEyeHalfTex[] = dgFaEyeHalfTex;
|
||||
|
||||
#define dgFaEyeClosedTex "__OTR__objects/object_fa/gFaEyeClosedTex"
|
||||
static const ALIGN_ASSET(2) char gFaEyeClosedTex[] = dgFaEyeClosedTex;
|
||||
|
||||
#define dgFaDL "__OTR__objects/object_fa/gFaDL"
|
||||
static const ALIGN_ASSET(2) char gFaDL[] = dgFaDL;
|
||||
Reference in New Issue
Block a user