Simplify Asset Headers (#2474)

This commit is contained in:
Amaro Martínez 2023-03-02 09:37:47 -05:00 committed by GitHub
commit d3f864cea9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1075 changed files with 60897 additions and 139767 deletions

View file

@ -1,37 +1,18 @@
#pragma once
#define dD_809AD278 "__OTR__overlays/ovl_Elf_Msg/D_809AD278"
#ifdef _WIN32
static const __declspec(align(2)) char D_809AD278[] = dD_809AD278;
#else
static const char D_809AD278[] __attribute__((aligned (2))) = dD_809AD278;
#endif
#define dsCylinderVtx "__OTR__overlays/ovl_Elf_Msg/sCylinderVtx"
#ifdef _WIN32
static const __declspec(align(2)) char sCylinderVtx[] = dsCylinderVtx;
#else
static const char sCylinderVtx[] __attribute__((aligned (2))) = dsCylinderVtx;
#endif
#define dsCylinderDL "__OTR__overlays/ovl_Elf_Msg/sCylinderDL"
#ifdef _WIN32
static const __declspec(align(2)) char sCylinderDL[] = dsCylinderDL;
#else
static const char sCylinderDL[] __attribute__((aligned (2))) = dsCylinderDL;
#endif
#define dsCubeVtx "__OTR__overlays/ovl_Elf_Msg/sCubeVtx"
#ifdef _WIN32
static const __declspec(align(2)) char sCubeVtx[] = dsCubeVtx;
#else
static const char sCubeVtx[] __attribute__((aligned (2))) = dsCubeVtx;
#endif
#define dsCubeDL "__OTR__overlays/ovl_Elf_Msg/sCubeDL"
#ifdef _WIN32
static const __declspec(align(2)) char sCubeDL[] = dsCubeDL;
#else
static const char sCubeDL[] __attribute__((aligned (2))) = dsCubeDL;
#endif
#include "align_asset_macro.h"
#define dD_809AD278 "__OTR__overlays/ovl_Elf_Msg/D_809AD278"
static const ALIGN_ASSET(2) char D_809AD278[] = dD_809AD278;
#define dsCylinderVtx "__OTR__overlays/ovl_Elf_Msg/sCylinderVtx"
static const ALIGN_ASSET(2) char sCylinderVtx[] = dsCylinderVtx;
#define dsCylinderDL "__OTR__overlays/ovl_Elf_Msg/sCylinderDL"
static const ALIGN_ASSET(2) char sCylinderDL[] = dsCylinderDL;
#define dsCubeVtx "__OTR__overlays/ovl_Elf_Msg/sCubeVtx"
static const ALIGN_ASSET(2) char sCubeVtx[] = dsCubeVtx;
#define dsCubeDL "__OTR__overlays/ovl_Elf_Msg/sCubeDL"
static const ALIGN_ASSET(2) char sCubeDL[] = dsCubeDL;