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,37 +1,18 @@
#pragma once
#define dsTex "__OTR__overlays/ovl_Oceff_Storm/sTex"
#ifdef _WIN32
static const __declspec(align(2)) char sTex[] = dsTex;
#else
static const char sTex[] __attribute__((aligned (2))) = dsTex;
#endif
#define dsMaterialDL "__OTR__overlays/ovl_Oceff_Storm/sMaterialDL"
#ifdef _WIN32
static const __declspec(align(2)) char sMaterialDL[] = dsMaterialDL;
#else
static const char sMaterialDL[] __attribute__((aligned (2))) = dsMaterialDL;
#endif
#define dsCylinderVtx "__OTR__overlays/ovl_Oceff_Storm/sCylinderVtx"
#ifdef _WIN32
static const __declspec(align(2)) char sCylinderVtx[] = dsCylinderVtx;
#else
static const char sCylinderVtx[] __attribute__((aligned (2))) = dsCylinderVtx;
#endif
#define dsCylinderMaterialDL "__OTR__overlays/ovl_Oceff_Storm/sCylinderMaterialDL"
#ifdef _WIN32
static const __declspec(align(2)) char sCylinderMaterialDL[] = dsCylinderMaterialDL;
#else
static const char sCylinderMaterialDL[] __attribute__((aligned (2))) = dsCylinderMaterialDL;
#endif
#define dsCylinderModelDL "__OTR__overlays/ovl_Oceff_Storm/sCylinderModelDL"
#ifdef _WIN32
static const __declspec(align(2)) char sCylinderModelDL[] = dsCylinderModelDL;
#else
static const char sCylinderModelDL[] __attribute__((aligned (2))) = dsCylinderModelDL;
#endif
#include "align_asset_macro.h"
#define dsTex "__OTR__overlays/ovl_Oceff_Storm/sTex"
static const ALIGN_ASSET(2) char sTex[] = dsTex;
#define dsMaterialDL "__OTR__overlays/ovl_Oceff_Storm/sMaterialDL"
static const ALIGN_ASSET(2) char sMaterialDL[] = dsMaterialDL;
#define dsCylinderVtx "__OTR__overlays/ovl_Oceff_Storm/sCylinderVtx"
static const ALIGN_ASSET(2) char sCylinderVtx[] = dsCylinderVtx;
#define dsCylinderMaterialDL "__OTR__overlays/ovl_Oceff_Storm/sCylinderMaterialDL"
static const ALIGN_ASSET(2) char sCylinderMaterialDL[] = dsCylinderMaterialDL;
#define dsCylinderModelDL "__OTR__overlays/ovl_Oceff_Storm/sCylinderModelDL"
static const ALIGN_ASSET(2) char sCylinderModelDL[] = dsCylinderModelDL;