Simplify Asset Headers (#2474)
This commit is contained in:
@@ -1,44 +1,21 @@
|
||||
#pragma once
|
||||
#define dgGravestoneGrassTex "__OTR__objects/object_haka/gGravestoneGrassTex"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gGravestoneGrassTex[] = dgGravestoneGrassTex;
|
||||
#else
|
||||
static const char gGravestoneGrassTex[] __attribute__((aligned (2))) = dgGravestoneGrassTex;
|
||||
#endif
|
||||
|
||||
#define dgGravestoneEarthTex "__OTR__objects/object_haka/gGravestoneEarthTex"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gGravestoneEarthTex[] = dgGravestoneEarthTex;
|
||||
#else
|
||||
static const char gGravestoneEarthTex[] __attribute__((aligned (2))) = dgGravestoneEarthTex;
|
||||
#endif
|
||||
|
||||
#define dgGravestoneTombTex "__OTR__objects/object_haka/gGravestoneTombTex"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gGravestoneTombTex[] = dgGravestoneTombTex;
|
||||
#else
|
||||
static const char gGravestoneTombTex[] __attribute__((aligned (2))) = dgGravestoneTombTex;
|
||||
#endif
|
||||
|
||||
#define dgGravestoneStoneDL "__OTR__objects/object_haka/gGravestoneStoneDL"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gGravestoneStoneDL[] = dgGravestoneStoneDL;
|
||||
#else
|
||||
static const char gGravestoneStoneDL[] __attribute__((aligned (2))) = dgGravestoneStoneDL;
|
||||
#endif
|
||||
|
||||
#define dgGravestoneEarthDL "__OTR__objects/object_haka/gGravestoneEarthDL"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gGravestoneEarthDL[] = dgGravestoneEarthDL;
|
||||
#else
|
||||
static const char gGravestoneEarthDL[] __attribute__((aligned (2))) = dgGravestoneEarthDL;
|
||||
#endif
|
||||
|
||||
#define dgGravestoneCol "__OTR__objects/object_haka/gGravestoneCol"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gGravestoneCol[] = dgGravestoneCol;
|
||||
#else
|
||||
static const char gGravestoneCol[] __attribute__((aligned (2))) = dgGravestoneCol;
|
||||
#endif
|
||||
|
||||
|
||||
#include "align_asset_macro.h"
|
||||
|
||||
#define dgGravestoneGrassTex "__OTR__objects/object_haka/gGravestoneGrassTex"
|
||||
static const ALIGN_ASSET(2) char gGravestoneGrassTex[] = dgGravestoneGrassTex;
|
||||
|
||||
#define dgGravestoneEarthTex "__OTR__objects/object_haka/gGravestoneEarthTex"
|
||||
static const ALIGN_ASSET(2) char gGravestoneEarthTex[] = dgGravestoneEarthTex;
|
||||
|
||||
#define dgGravestoneTombTex "__OTR__objects/object_haka/gGravestoneTombTex"
|
||||
static const ALIGN_ASSET(2) char gGravestoneTombTex[] = dgGravestoneTombTex;
|
||||
|
||||
#define dgGravestoneStoneDL "__OTR__objects/object_haka/gGravestoneStoneDL"
|
||||
static const ALIGN_ASSET(2) char gGravestoneStoneDL[] = dgGravestoneStoneDL;
|
||||
|
||||
#define dgGravestoneEarthDL "__OTR__objects/object_haka/gGravestoneEarthDL"
|
||||
static const ALIGN_ASSET(2) char gGravestoneEarthDL[] = dgGravestoneEarthDL;
|
||||
|
||||
#define dgGravestoneCol "__OTR__objects/object_haka/gGravestoneCol"
|
||||
static const ALIGN_ASSET(2) char gGravestoneCol[] = dgGravestoneCol;
|
||||
Reference in New Issue
Block a user