Simplify Asset Headers (#2474)
This commit is contained in:
@@ -1,23 +1,12 @@
|
||||
#pragma once
|
||||
#define dgGiPrescriptionDL "__OTR__objects/object_gi_prescription/gGiPrescriptionDL"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gGiPrescriptionDL[] = dgGiPrescriptionDL;
|
||||
#else
|
||||
static const char gGiPrescriptionDL[] __attribute__((aligned (2))) = dgGiPrescriptionDL;
|
||||
#endif
|
||||
|
||||
#define dgGiPrescriptionWritingDL "__OTR__objects/object_gi_prescription/gGiPrescriptionWritingDL"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char gGiPrescriptionWritingDL[] = dgGiPrescriptionWritingDL;
|
||||
#else
|
||||
static const char gGiPrescriptionWritingDL[] __attribute__((aligned (2))) = dgGiPrescriptionWritingDL;
|
||||
#endif
|
||||
|
||||
#define dobject_gi_prescriptionTex_000000 "__OTR__objects/object_gi_prescription/object_gi_prescriptionTex_000000"
|
||||
#ifdef _WIN32
|
||||
static const __declspec(align(2)) char object_gi_prescriptionTex_000000[] = dobject_gi_prescriptionTex_000000;
|
||||
#else
|
||||
static const char object_gi_prescriptionTex_000000[] __attribute__((aligned (2))) = dobject_gi_prescriptionTex_000000;
|
||||
#endif
|
||||
|
||||
|
||||
#include "align_asset_macro.h"
|
||||
|
||||
#define dgGiPrescriptionDL "__OTR__objects/object_gi_prescription/gGiPrescriptionDL"
|
||||
static const ALIGN_ASSET(2) char gGiPrescriptionDL[] = dgGiPrescriptionDL;
|
||||
|
||||
#define dgGiPrescriptionWritingDL "__OTR__objects/object_gi_prescription/gGiPrescriptionWritingDL"
|
||||
static const ALIGN_ASSET(2) char gGiPrescriptionWritingDL[] = dgGiPrescriptionWritingDL;
|
||||
|
||||
#define dobject_gi_prescriptionTex_000000 "__OTR__objects/object_gi_prescription/object_gi_prescriptionTex_000000"
|
||||
static const ALIGN_ASSET(2) char object_gi_prescriptionTex_000000[] = dobject_gi_prescriptionTex_000000;
|
||||
Reference in New Issue
Block a user