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,30 +1,15 @@
#pragma once
#define dsTex "__OTR__overlays/ovl_Magic_Fire/sTex"
#ifdef _WIN32
static const __declspec(align(2)) char sTex[] = dsTex;
#else
static const char sTex[] __attribute__((aligned (2))) = dsTex;
#endif
#define dsSphereVtx "__OTR__overlays/ovl_Magic_Fire/sSphereVtx"
#ifdef _WIN32
static const __declspec(align(2)) char sSphereVtx[] = dsSphereVtx;
#else
static const char sSphereVtx[] __attribute__((aligned (2))) = dsSphereVtx;
#endif
#define dsMaterialDL "__OTR__overlays/ovl_Magic_Fire/sMaterialDL"
#ifdef _WIN32
static const __declspec(align(2)) char sMaterialDL[] = dsMaterialDL;
#else
static const char sMaterialDL[] __attribute__((aligned (2))) = dsMaterialDL;
#endif
#define dsModelDL "__OTR__overlays/ovl_Magic_Fire/sModelDL"
#ifdef _WIN32
static const __declspec(align(2)) char sModelDL[] = dsModelDL;
#else
static const char sModelDL[] __attribute__((aligned (2))) = dsModelDL;
#endif
#include "align_asset_macro.h"
#define dsTex "__OTR__overlays/ovl_Magic_Fire/sTex"
static const ALIGN_ASSET(2) char sTex[] = dsTex;
#define dsSphereVtx "__OTR__overlays/ovl_Magic_Fire/sSphereVtx"
static const ALIGN_ASSET(2) char sSphereVtx[] = dsSphereVtx;
#define dsMaterialDL "__OTR__overlays/ovl_Magic_Fire/sMaterialDL"
static const ALIGN_ASSET(2) char sMaterialDL[] = dsMaterialDL;
#define dsModelDL "__OTR__overlays/ovl_Magic_Fire/sModelDL"
static const ALIGN_ASSET(2) char sModelDL[] = dsModelDL;