Simplify Asset Headers (#2474)
This commit is contained in:
@@ -1,51 +1,24 @@
|
||||
#pragma once
|
||||
#define dgHyruleFieldCastleDrawbridgeDL "__OTR__objects/object_spot00_objects/gHyruleFieldCastleDrawbridgeDL"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gHyruleFieldCastleDrawbridgeDL[] = dgHyruleFieldCastleDrawbridgeDL;
|
||||
#else
|
||||
static const char gHyruleFieldCastleDrawbridgeDL[] __attribute__((aligned (2))) = dgHyruleFieldCastleDrawbridgeDL;
|
||||
#endif
|
||||
|
||||
#define dgHyruleFieldCastleDrawbridgeWoodTex "__OTR__objects/object_spot00_objects/gHyruleFieldCastleDrawbridgeWoodTex"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gHyruleFieldCastleDrawbridgeWoodTex[] = dgHyruleFieldCastleDrawbridgeWoodTex;
|
||||
#else
|
||||
static const char gHyruleFieldCastleDrawbridgeWoodTex[] __attribute__((aligned (2))) = dgHyruleFieldCastleDrawbridgeWoodTex;
|
||||
#endif
|
||||
|
||||
#define dgHyruleFieldCastleDrawbridgeBoltDL "__OTR__objects/object_spot00_objects/gHyruleFieldCastleDrawbridgeBoltDL"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gHyruleFieldCastleDrawbridgeBoltDL[] = dgHyruleFieldCastleDrawbridgeBoltDL;
|
||||
#else
|
||||
static const char gHyruleFieldCastleDrawbridgeBoltDL[] __attribute__((aligned (2))) = dgHyruleFieldCastleDrawbridgeBoltDL;
|
||||
#endif
|
||||
|
||||
#define dgHyruleFieldCastleDrawbridgeCol "__OTR__objects/object_spot00_objects/gHyruleFieldCastleDrawbridgeCol"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gHyruleFieldCastleDrawbridgeCol[] = dgHyruleFieldCastleDrawbridgeCol;
|
||||
#else
|
||||
static const char gHyruleFieldCastleDrawbridgeCol[] __attribute__((aligned (2))) = dgHyruleFieldCastleDrawbridgeCol;
|
||||
#endif
|
||||
|
||||
#define dgHyruleFieldCastleDrawbridgeChainsDL "__OTR__objects/object_spot00_objects/gHyruleFieldCastleDrawbridgeChainsDL"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gHyruleFieldCastleDrawbridgeChainsDL[] = dgHyruleFieldCastleDrawbridgeChainsDL;
|
||||
#else
|
||||
static const char gHyruleFieldCastleDrawbridgeChainsDL[] __attribute__((aligned (2))) = dgHyruleFieldCastleDrawbridgeChainsDL;
|
||||
#endif
|
||||
|
||||
#define dgHyruleFieldCastleDrawbridgeChainsTex "__OTR__objects/object_spot00_objects/gHyruleFieldCastleDrawbridgeChainsTex"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gHyruleFieldCastleDrawbridgeChainsTex[] = dgHyruleFieldCastleDrawbridgeChainsTex;
|
||||
#else
|
||||
static const char gHyruleFieldCastleDrawbridgeChainsTex[] __attribute__((aligned (2))) = dgHyruleFieldCastleDrawbridgeChainsTex;
|
||||
#endif
|
||||
|
||||
#define dgHyruleFieldCastleDrawbridgeChainsCol "__OTR__objects/object_spot00_objects/gHyruleFieldCastleDrawbridgeChainsCol"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gHyruleFieldCastleDrawbridgeChainsCol[] = dgHyruleFieldCastleDrawbridgeChainsCol;
|
||||
#else
|
||||
static const char gHyruleFieldCastleDrawbridgeChainsCol[] __attribute__((aligned (2))) = dgHyruleFieldCastleDrawbridgeChainsCol;
|
||||
#endif
|
||||
|
||||
|
||||
#include "align_asset_macro.h"
|
||||
|
||||
#define dgHyruleFieldCastleDrawbridgeDL "__OTR__objects/object_spot00_objects/gHyruleFieldCastleDrawbridgeDL"
|
||||
static const ALIGN_ASSET(2) char gHyruleFieldCastleDrawbridgeDL[] = dgHyruleFieldCastleDrawbridgeDL;
|
||||
|
||||
#define dgHyruleFieldCastleDrawbridgeWoodTex "__OTR__objects/object_spot00_objects/gHyruleFieldCastleDrawbridgeWoodTex"
|
||||
static const ALIGN_ASSET(2) char gHyruleFieldCastleDrawbridgeWoodTex[] = dgHyruleFieldCastleDrawbridgeWoodTex;
|
||||
|
||||
#define dgHyruleFieldCastleDrawbridgeBoltDL "__OTR__objects/object_spot00_objects/gHyruleFieldCastleDrawbridgeBoltDL"
|
||||
static const ALIGN_ASSET(2) char gHyruleFieldCastleDrawbridgeBoltDL[] = dgHyruleFieldCastleDrawbridgeBoltDL;
|
||||
|
||||
#define dgHyruleFieldCastleDrawbridgeCol "__OTR__objects/object_spot00_objects/gHyruleFieldCastleDrawbridgeCol"
|
||||
static const ALIGN_ASSET(2) char gHyruleFieldCastleDrawbridgeCol[] = dgHyruleFieldCastleDrawbridgeCol;
|
||||
|
||||
#define dgHyruleFieldCastleDrawbridgeChainsDL "__OTR__objects/object_spot00_objects/gHyruleFieldCastleDrawbridgeChainsDL"
|
||||
static const ALIGN_ASSET(2) char gHyruleFieldCastleDrawbridgeChainsDL[] = dgHyruleFieldCastleDrawbridgeChainsDL;
|
||||
|
||||
#define dgHyruleFieldCastleDrawbridgeChainsTex "__OTR__objects/object_spot00_objects/gHyruleFieldCastleDrawbridgeChainsTex"
|
||||
static const ALIGN_ASSET(2) char gHyruleFieldCastleDrawbridgeChainsTex[] = dgHyruleFieldCastleDrawbridgeChainsTex;
|
||||
|
||||
#define dgHyruleFieldCastleDrawbridgeChainsCol "__OTR__objects/object_spot00_objects/gHyruleFieldCastleDrawbridgeChainsCol"
|
||||
static const ALIGN_ASSET(2) char gHyruleFieldCastleDrawbridgeChainsCol[] = dgHyruleFieldCastleDrawbridgeChainsCol;
|
||||
Reference in New Issue
Block a user