Simplify Asset Headers (#2474)
This commit is contained in:
@@ -1,37 +1,18 @@
|
||||
#pragma once
|
||||
#define dgNightSkybox1Tex "__OTR__textures/vr_fine3_static/gNightSkybox1Tex"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gNightSkybox1Tex[] = dgNightSkybox1Tex;
|
||||
#else
|
||||
static const char gNightSkybox1Tex[] __attribute__((aligned (2))) = dgNightSkybox1Tex;
|
||||
#endif
|
||||
|
||||
#define dgNightSkybox2Tex "__OTR__textures/vr_fine3_static/gNightSkybox2Tex"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gNightSkybox2Tex[] = dgNightSkybox2Tex;
|
||||
#else
|
||||
static const char gNightSkybox2Tex[] __attribute__((aligned (2))) = dgNightSkybox2Tex;
|
||||
#endif
|
||||
|
||||
#define dgNightSkybox3Tex "__OTR__textures/vr_fine3_static/gNightSkybox3Tex"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gNightSkybox3Tex[] = dgNightSkybox3Tex;
|
||||
#else
|
||||
static const char gNightSkybox3Tex[] __attribute__((aligned (2))) = dgNightSkybox3Tex;
|
||||
#endif
|
||||
|
||||
#define dgNightSkybox4Tex "__OTR__textures/vr_fine3_static/gNightSkybox4Tex"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gNightSkybox4Tex[] = dgNightSkybox4Tex;
|
||||
#else
|
||||
static const char gNightSkybox4Tex[] __attribute__((aligned (2))) = dgNightSkybox4Tex;
|
||||
#endif
|
||||
|
||||
#define dgNightSkybox5Tex "__OTR__textures/vr_fine3_static/gNightSkybox5Tex"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gNightSkybox5Tex[] = dgNightSkybox5Tex;
|
||||
#else
|
||||
static const char gNightSkybox5Tex[] __attribute__((aligned (2))) = dgNightSkybox5Tex;
|
||||
#endif
|
||||
|
||||
|
||||
#include "align_asset_macro.h"
|
||||
|
||||
#define dgNightSkybox1Tex "__OTR__textures/vr_fine3_static/gNightSkybox1Tex"
|
||||
static const ALIGN_ASSET(2) char gNightSkybox1Tex[] = dgNightSkybox1Tex;
|
||||
|
||||
#define dgNightSkybox2Tex "__OTR__textures/vr_fine3_static/gNightSkybox2Tex"
|
||||
static const ALIGN_ASSET(2) char gNightSkybox2Tex[] = dgNightSkybox2Tex;
|
||||
|
||||
#define dgNightSkybox3Tex "__OTR__textures/vr_fine3_static/gNightSkybox3Tex"
|
||||
static const ALIGN_ASSET(2) char gNightSkybox3Tex[] = dgNightSkybox3Tex;
|
||||
|
||||
#define dgNightSkybox4Tex "__OTR__textures/vr_fine3_static/gNightSkybox4Tex"
|
||||
static const ALIGN_ASSET(2) char gNightSkybox4Tex[] = dgNightSkybox4Tex;
|
||||
|
||||
#define dgNightSkybox5Tex "__OTR__textures/vr_fine3_static/gNightSkybox5Tex"
|
||||
static const ALIGN_ASSET(2) char gNightSkybox5Tex[] = dgNightSkybox5Tex;
|
||||
Reference in New Issue
Block a user