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,44 +1,21 @@
#pragma once
#define dgHookshotTargetCol "__OTR__objects/object_d_hsblock/gHookshotTargetCol"
#ifdef _WIN32
static const __declspec(align(2)) char gHookshotTargetCol[] = dgHookshotTargetCol;
#else
static const char gHookshotTargetCol[] __attribute__((aligned (2))) = dgHookshotTargetCol;
#endif
#define dgHookshotPostCol "__OTR__objects/object_d_hsblock/gHookshotPostCol"
#ifdef _WIN32
static const __declspec(align(2)) char gHookshotPostCol[] = dgHookshotPostCol;
#else
static const char gHookshotPostCol[] __attribute__((aligned (2))) = dgHookshotPostCol;
#endif
#define dgHookshotPostDL "__OTR__objects/object_d_hsblock/gHookshotPostDL"
#ifdef _WIN32
static const __declspec(align(2)) char gHookshotPostDL[] = dgHookshotPostDL;
#else
static const char gHookshotPostDL[] __attribute__((aligned (2))) = dgHookshotPostDL;
#endif
#define dgHookshotTargetDL "__OTR__objects/object_d_hsblock/gHookshotTargetDL"
#ifdef _WIN32
static const __declspec(align(2)) char gHookshotTargetDL[] = dgHookshotTargetDL;
#else
static const char gHookshotTargetDL[] __attribute__((aligned (2))) = dgHookshotTargetDL;
#endif
#define dgHookshotTargetTex "__OTR__objects/object_d_hsblock/gHookshotTargetTex"
#ifdef _WIN32
static const __declspec(align(2)) char gHookshotTargetTex[] = dgHookshotTargetTex;
#else
static const char gHookshotTargetTex[] __attribute__((aligned (2))) = dgHookshotTargetTex;
#endif
#define dgHookshotPostTex "__OTR__objects/object_d_hsblock/gHookshotPostTex"
#ifdef _WIN32
static const __declspec(align(2)) char gHookshotPostTex[] = dgHookshotPostTex;
#else
static const char gHookshotPostTex[] __attribute__((aligned (2))) = dgHookshotPostTex;
#endif
#include "align_asset_macro.h"
#define dgHookshotTargetCol "__OTR__objects/object_d_hsblock/gHookshotTargetCol"
static const ALIGN_ASSET(2) char gHookshotTargetCol[] = dgHookshotTargetCol;
#define dgHookshotPostCol "__OTR__objects/object_d_hsblock/gHookshotPostCol"
static const ALIGN_ASSET(2) char gHookshotPostCol[] = dgHookshotPostCol;
#define dgHookshotPostDL "__OTR__objects/object_d_hsblock/gHookshotPostDL"
static const ALIGN_ASSET(2) char gHookshotPostDL[] = dgHookshotPostDL;
#define dgHookshotTargetDL "__OTR__objects/object_d_hsblock/gHookshotTargetDL"
static const ALIGN_ASSET(2) char gHookshotTargetDL[] = dgHookshotTargetDL;
#define dgHookshotTargetTex "__OTR__objects/object_d_hsblock/gHookshotTargetTex"
static const ALIGN_ASSET(2) char gHookshotTargetTex[] = dgHookshotTargetTex;
#define dgHookshotPostTex "__OTR__objects/object_d_hsblock/gHookshotPostTex"
static const ALIGN_ASSET(2) char gHookshotPostTex[] = dgHookshotPostTex;