Simplify Asset Headers (#2474)

This commit is contained in:
Amaro Martínez
2023-03-02 09:37:47 -05:00
committed by GitHub
parent 21466192e5
commit d3f864cea9
1075 changed files with 60897 additions and 139767 deletions

View File

@@ -1,58 +1,27 @@
#pragma once
#define dgGoldenTorchDL "__OTR__objects/object_syokudai/gGoldenTorchDL"
#ifdef _WIN32
static const __declspec(align(2)) char gGoldenTorchDL[] = dgGoldenTorchDL;
#else
static const char gGoldenTorchDL[] __attribute__((aligned (2))) = dgGoldenTorchDL;
#endif
#define dgWoodenTorchDL "__OTR__objects/object_syokudai/gWoodenTorchDL"
#ifdef _WIN32
static const __declspec(align(2)) char gWoodenTorchDL[] = dgWoodenTorchDL;
#else
static const char gWoodenTorchDL[] __attribute__((aligned (2))) = dgWoodenTorchDL;
#endif
#define dgTimedTorchDL "__OTR__objects/object_syokudai/gTimedTorchDL"
#ifdef _WIN32
static const __declspec(align(2)) char gTimedTorchDL[] = dgTimedTorchDL;
#else
static const char gTimedTorchDL[] __attribute__((aligned (2))) = dgTimedTorchDL;
#endif
#define dgGoldenTorch1Tex "__OTR__objects/object_syokudai/gGoldenTorch1Tex"
#ifdef _WIN32
static const __declspec(align(2)) char gGoldenTorch1Tex[] = dgGoldenTorch1Tex;
#else
static const char gGoldenTorch1Tex[] __attribute__((aligned (2))) = dgGoldenTorch1Tex;
#endif
#define dgGoldenTorch2Tex "__OTR__objects/object_syokudai/gGoldenTorch2Tex"
#ifdef _WIN32
static const __declspec(align(2)) char gGoldenTorch2Tex[] = dgGoldenTorch2Tex;
#else
static const char gGoldenTorch2Tex[] __attribute__((aligned (2))) = dgGoldenTorch2Tex;
#endif
#define dgTorchFlameGuardTex "__OTR__objects/object_syokudai/gTorchFlameGuardTex"
#ifdef _WIN32
static const __declspec(align(2)) char gTorchFlameGuardTex[] = dgTorchFlameGuardTex;
#else
static const char gTorchFlameGuardTex[] __attribute__((aligned (2))) = dgTorchFlameGuardTex;
#endif
#define dgTimedTorchTex "__OTR__objects/object_syokudai/gTimedTorchTex"
#ifdef _WIN32
static const __declspec(align(2)) char gTimedTorchTex[] = dgTimedTorchTex;
#else
static const char gTimedTorchTex[] __attribute__((aligned (2))) = dgTimedTorchTex;
#endif
#define dgWoodenTorchTex "__OTR__objects/object_syokudai/gWoodenTorchTex"
#ifdef _WIN32
static const __declspec(align(2)) char gWoodenTorchTex[] = dgWoodenTorchTex;
#else
static const char gWoodenTorchTex[] __attribute__((aligned (2))) = dgWoodenTorchTex;
#endif
#include "align_asset_macro.h"
#define dgGoldenTorchDL "__OTR__objects/object_syokudai/gGoldenTorchDL"
static const ALIGN_ASSET(2) char gGoldenTorchDL[] = dgGoldenTorchDL;
#define dgWoodenTorchDL "__OTR__objects/object_syokudai/gWoodenTorchDL"
static const ALIGN_ASSET(2) char gWoodenTorchDL[] = dgWoodenTorchDL;
#define dgTimedTorchDL "__OTR__objects/object_syokudai/gTimedTorchDL"
static const ALIGN_ASSET(2) char gTimedTorchDL[] = dgTimedTorchDL;
#define dgGoldenTorch1Tex "__OTR__objects/object_syokudai/gGoldenTorch1Tex"
static const ALIGN_ASSET(2) char gGoldenTorch1Tex[] = dgGoldenTorch1Tex;
#define dgGoldenTorch2Tex "__OTR__objects/object_syokudai/gGoldenTorch2Tex"
static const ALIGN_ASSET(2) char gGoldenTorch2Tex[] = dgGoldenTorch2Tex;
#define dgTorchFlameGuardTex "__OTR__objects/object_syokudai/gTorchFlameGuardTex"
static const ALIGN_ASSET(2) char gTorchFlameGuardTex[] = dgTorchFlameGuardTex;
#define dgTimedTorchTex "__OTR__objects/object_syokudai/gTimedTorchTex"
static const ALIGN_ASSET(2) char gTimedTorchTex[] = dgTimedTorchTex;
#define dgWoodenTorchTex "__OTR__objects/object_syokudai/gWoodenTorchTex"
static const ALIGN_ASSET(2) char gWoodenTorchTex[] = dgWoodenTorchTex;