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 dgGossipStoneTex "__OTR__objects/object_gs/gGossipStoneTex"
#ifdef _WIN32
static const __declspec(align(2)) char gGossipStoneTex[] = dgGossipStoneTex;
#else
static const char gGossipStoneTex[] __attribute__((aligned (2))) = dgGossipStoneTex;
#endif
#define dgGossipStoneMaterialDL "__OTR__objects/object_gs/gGossipStoneMaterialDL"
#ifdef _WIN32
static const __declspec(align(2)) char gGossipStoneMaterialDL[] = dgGossipStoneMaterialDL;
#else
static const char gGossipStoneMaterialDL[] __attribute__((aligned (2))) = dgGossipStoneMaterialDL;
#endif
#define dgGossipStoneDL "__OTR__objects/object_gs/gGossipStoneDL"
#ifdef _WIN32
static const __declspec(align(2)) char gGossipStoneDL[] = dgGossipStoneDL;
#else
static const char gGossipStoneDL[] __attribute__((aligned (2))) = dgGossipStoneDL;
#endif
#define dgGossipStoneSquishedDL "__OTR__objects/object_gs/gGossipStoneSquishedDL"
#ifdef _WIN32
static const __declspec(align(2)) char gGossipStoneSquishedDL[] = dgGossipStoneSquishedDL;
#else
static const char gGossipStoneSquishedDL[] __attribute__((aligned (2))) = dgGossipStoneSquishedDL;
#endif
#include "align_asset_macro.h"
#define dgGossipStoneTex "__OTR__objects/object_gs/gGossipStoneTex"
static const ALIGN_ASSET(2) char gGossipStoneTex[] = dgGossipStoneTex;
#define dgGossipStoneMaterialDL "__OTR__objects/object_gs/gGossipStoneMaterialDL"
static const ALIGN_ASSET(2) char gGossipStoneMaterialDL[] = dgGossipStoneMaterialDL;
#define dgGossipStoneDL "__OTR__objects/object_gs/gGossipStoneDL"
static const ALIGN_ASSET(2) char gGossipStoneDL[] = dgGossipStoneDL;
#define dgGossipStoneSquishedDL "__OTR__objects/object_gs/gGossipStoneSquishedDL"
static const ALIGN_ASSET(2) char gGossipStoneSquishedDL[] = dgGossipStoneSquishedDL;