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 dsTransCircleNormalTex "__OTR__code/z_fbdemo_circle/sTransCircleNormalTex"
#ifdef _WIN32
static const __declspec(align(2)) char sTransCircleNormalTex[] = dsTransCircleNormalTex;
#else
static const char sTransCircleNormalTex[] __attribute__((aligned (2))) = dsTransCircleNormalTex;
#endif
#define dsTransCircleWaveTex "__OTR__code/z_fbdemo_circle/sTransCircleWaveTex"
#ifdef _WIN32
static const __declspec(align(2)) char sTransCircleWaveTex[] = dsTransCircleWaveTex;
#else
static const char sTransCircleWaveTex[] __attribute__((aligned (2))) = dsTransCircleWaveTex;
#endif
#define dsTransCircleRippleTex "__OTR__code/z_fbdemo_circle/sTransCircleRippleTex"
#ifdef _WIN32
static const __declspec(align(2)) char sTransCircleRippleTex[] = dsTransCircleRippleTex;
#else
static const char sTransCircleRippleTex[] __attribute__((aligned (2))) = dsTransCircleRippleTex;
#endif
#define dsTransCircleStarburstTex "__OTR__code/z_fbdemo_circle/sTransCircleStarburstTex"
#ifdef _WIN32
static const __declspec(align(2)) char sTransCircleStarburstTex[] = dsTransCircleStarburstTex;
#else
static const char sTransCircleStarburstTex[] __attribute__((aligned (2))) = dsTransCircleStarburstTex;
#endif
#define dsCircleWipeVtx "__OTR__code/z_fbdemo_circle/sCircleWipeVtx"
#ifdef _WIN32
static const __declspec(align(2)) char sCircleWipeVtx[] = dsCircleWipeVtx;
#else
static const char sCircleWipeVtx[] __attribute__((aligned (2))) = dsCircleWipeVtx;
#endif
#include "align_asset_macro.h"
#define dsTransCircleNormalTex "__OTR__code/z_fbdemo_circle/sTransCircleNormalTex"
static const ALIGN_ASSET(2) char sTransCircleNormalTex[] = dsTransCircleNormalTex;
#define dsTransCircleWaveTex "__OTR__code/z_fbdemo_circle/sTransCircleWaveTex"
static const ALIGN_ASSET(2) char sTransCircleWaveTex[] = dsTransCircleWaveTex;
#define dsTransCircleRippleTex "__OTR__code/z_fbdemo_circle/sTransCircleRippleTex"
static const ALIGN_ASSET(2) char sTransCircleRippleTex[] = dsTransCircleRippleTex;
#define dsTransCircleStarburstTex "__OTR__code/z_fbdemo_circle/sTransCircleStarburstTex"
static const ALIGN_ASSET(2) char sTransCircleStarburstTex[] = dsTransCircleStarburstTex;
#define dsCircleWipeVtx "__OTR__code/z_fbdemo_circle/sCircleWipeVtx"
static const ALIGN_ASSET(2) char sCircleWipeVtx[] = dsCircleWipeVtx;

View File

@@ -1,16 +1,9 @@
#pragma once
#define dsTriforceWipeDL "__OTR__code/z_fbdemo_triforce/sTriforceWipeDL"
#ifdef _WIN32
static const __declspec(align(2)) char sTriforceWipeDL[] = dsTriforceWipeDL;
#else
static const char sTriforceWipeDL[] __attribute__((aligned (2))) = dsTriforceWipeDL;
#endif
#define dsTriforceWipeVtx "__OTR__code/z_fbdemo_triforce/sTriforceWipeVtx"
#ifdef _WIN32
static const __declspec(align(2)) char sTriforceWipeVtx[] = dsTriforceWipeVtx;
#else
static const char sTriforceWipeVtx[] __attribute__((aligned (2))) = dsTriforceWipeVtx;
#endif
#include "align_asset_macro.h"
#define dsTriforceWipeDL "__OTR__code/z_fbdemo_triforce/sTriforceWipeDL"
static const ALIGN_ASSET(2) char sTriforceWipeDL[] = dsTriforceWipeDL;
#define dsTriforceWipeVtx "__OTR__code/z_fbdemo_triforce/sTriforceWipeVtx"
static const ALIGN_ASSET(2) char sTriforceWipeVtx[] = dsTriforceWipeVtx;

View File

@@ -1,16 +1,9 @@
#pragma once
#define dsWipe1Vtx "__OTR__code/z_fbdemo_wipe1/sWipe1Vtx"
#ifdef _WIN32
static const __declspec(align(2)) char sWipe1Vtx[] = dsWipe1Vtx;
#else
static const char sWipe1Vtx[] __attribute__((aligned (2))) = dsWipe1Vtx;
#endif
#define dsWipe1Tex "__OTR__code/z_fbdemo_wipe1/sWipe1Tex"
#ifdef _WIN32
static const __declspec(align(2)) char sWipe1Tex[] = dsWipe1Tex;
#else
static const char sWipe1Tex[] __attribute__((aligned (2))) = dsWipe1Tex;
#endif
#include "align_asset_macro.h"
#define dsWipe1Vtx "__OTR__code/z_fbdemo_wipe1/sWipe1Vtx"
static const ALIGN_ASSET(2) char sWipe1Vtx[] = dsWipe1Vtx;
#define dsWipe1Tex "__OTR__code/z_fbdemo_wipe1/sWipe1Tex"
static const ALIGN_ASSET(2) char sWipe1Tex[] = dsWipe1Tex;