Simplify Asset Headers (#2474)
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user