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,86 +1,39 @@
#pragma once
#define dsPlatformTex "__OTR__overlays/ovl_Bg_Ganon_Otyuka/sPlatformTex"
#ifdef _WIN32
static const __declspec(align(2)) char sPlatformTex[] = dsPlatformTex;
#else
static const char sPlatformTex[] __attribute__((aligned (2))) = dsPlatformTex;
#endif
#define dsPlatformTopVtx "__OTR__overlays/ovl_Bg_Ganon_Otyuka/sPlatformTopVtx"
#ifdef _WIN32
static const __declspec(align(2)) char sPlatformTopVtx[] = dsPlatformTopVtx;
#else
static const char sPlatformTopVtx[] __attribute__((aligned (2))) = dsPlatformTopVtx;
#endif
#define dsPlatformMaterialDL "__OTR__overlays/ovl_Bg_Ganon_Otyuka/sPlatformMaterialDL"
#ifdef _WIN32
static const __declspec(align(2)) char sPlatformMaterialDL[] = dsPlatformMaterialDL;
#else
static const char sPlatformMaterialDL[] __attribute__((aligned (2))) = dsPlatformMaterialDL;
#endif
#define dsPlatformTopDL "__OTR__overlays/ovl_Bg_Ganon_Otyuka/sPlatformTopDL"
#ifdef _WIN32
static const __declspec(align(2)) char sPlatformTopDL[] = dsPlatformTopDL;
#else
static const char sPlatformTopDL[] __attribute__((aligned (2))) = dsPlatformTopDL;
#endif
#define dsPlatformBottomVtx "__OTR__overlays/ovl_Bg_Ganon_Otyuka/sPlatformBottomVtx"
#ifdef _WIN32
static const __declspec(align(2)) char sPlatformBottomVtx[] = dsPlatformBottomVtx;
#else
static const char sPlatformBottomVtx[] __attribute__((aligned (2))) = dsPlatformBottomVtx;
#endif
#define dsPlatformBottomDL "__OTR__overlays/ovl_Bg_Ganon_Otyuka/sPlatformBottomDL"
#ifdef _WIN32
static const __declspec(align(2)) char sPlatformBottomDL[] = dsPlatformBottomDL;
#else
static const char sPlatformBottomDL[] __attribute__((aligned (2))) = dsPlatformBottomDL;
#endif
#define dsPlatformSideVtx "__OTR__overlays/ovl_Bg_Ganon_Otyuka/sPlatformSideVtx"
#ifdef _WIN32
static const __declspec(align(2)) char sPlatformSideVtx[] = dsPlatformSideVtx;
#else
static const char sPlatformSideVtx[] __attribute__((aligned (2))) = dsPlatformSideVtx;
#endif
#define dsPlatformSideDL "__OTR__overlays/ovl_Bg_Ganon_Otyuka/sPlatformSideDL"
#ifdef _WIN32
static const __declspec(align(2)) char sPlatformSideDL[] = dsPlatformSideDL;
#else
static const char sPlatformSideDL[] __attribute__((aligned (2))) = dsPlatformSideDL;
#endif
#define dsFlashTex "__OTR__overlays/ovl_Bg_Ganon_Otyuka/sFlashTex"
#ifdef _WIN32
static const __declspec(align(2)) char sFlashTex[] = dsFlashTex;
#else
static const char sFlashTex[] __attribute__((aligned (2))) = dsFlashTex;
#endif
#define dsFlashVtx "__OTR__overlays/ovl_Bg_Ganon_Otyuka/sFlashVtx"
#ifdef _WIN32
static const __declspec(align(2)) char sFlashVtx[] = dsFlashVtx;
#else
static const char sFlashVtx[] __attribute__((aligned (2))) = dsFlashVtx;
#endif
#define dsFlashDL "__OTR__overlays/ovl_Bg_Ganon_Otyuka/sFlashDL"
#ifdef _WIN32
static const __declspec(align(2)) char sFlashDL[] = dsFlashDL;
#else
static const char sFlashDL[] __attribute__((aligned (2))) = dsFlashDL;
#endif
#define dsCol "__OTR__overlays/ovl_Bg_Ganon_Otyuka/sCol"
#ifdef _WIN32
static const __declspec(align(2)) char sCol[] = dsCol;
#else
static const char sCol[] __attribute__((aligned (2))) = dsCol;
#endif
#include "align_asset_macro.h"
#define dsPlatformTex "__OTR__overlays/ovl_Bg_Ganon_Otyuka/sPlatformTex"
static const ALIGN_ASSET(2) char sPlatformTex[] = dsPlatformTex;
#define dsPlatformTopVtx "__OTR__overlays/ovl_Bg_Ganon_Otyuka/sPlatformTopVtx"
static const ALIGN_ASSET(2) char sPlatformTopVtx[] = dsPlatformTopVtx;
#define dsPlatformMaterialDL "__OTR__overlays/ovl_Bg_Ganon_Otyuka/sPlatformMaterialDL"
static const ALIGN_ASSET(2) char sPlatformMaterialDL[] = dsPlatformMaterialDL;
#define dsPlatformTopDL "__OTR__overlays/ovl_Bg_Ganon_Otyuka/sPlatformTopDL"
static const ALIGN_ASSET(2) char sPlatformTopDL[] = dsPlatformTopDL;
#define dsPlatformBottomVtx "__OTR__overlays/ovl_Bg_Ganon_Otyuka/sPlatformBottomVtx"
static const ALIGN_ASSET(2) char sPlatformBottomVtx[] = dsPlatformBottomVtx;
#define dsPlatformBottomDL "__OTR__overlays/ovl_Bg_Ganon_Otyuka/sPlatformBottomDL"
static const ALIGN_ASSET(2) char sPlatformBottomDL[] = dsPlatformBottomDL;
#define dsPlatformSideVtx "__OTR__overlays/ovl_Bg_Ganon_Otyuka/sPlatformSideVtx"
static const ALIGN_ASSET(2) char sPlatformSideVtx[] = dsPlatformSideVtx;
#define dsPlatformSideDL "__OTR__overlays/ovl_Bg_Ganon_Otyuka/sPlatformSideDL"
static const ALIGN_ASSET(2) char sPlatformSideDL[] = dsPlatformSideDL;
#define dsFlashTex "__OTR__overlays/ovl_Bg_Ganon_Otyuka/sFlashTex"
static const ALIGN_ASSET(2) char sFlashTex[] = dsFlashTex;
#define dsFlashVtx "__OTR__overlays/ovl_Bg_Ganon_Otyuka/sFlashVtx"
static const ALIGN_ASSET(2) char sFlashVtx[] = dsFlashVtx;
#define dsFlashDL "__OTR__overlays/ovl_Bg_Ganon_Otyuka/sFlashDL"
static const ALIGN_ASSET(2) char sFlashDL[] = dsFlashDL;
#define dsCol "__OTR__overlays/ovl_Bg_Ganon_Otyuka/sCol"
static const ALIGN_ASSET(2) char sCol[] = dsCol;