From d4a5868a89ead960e8fbdf7713a43fa43c1115be Mon Sep 17 00:00:00 2001 From: Juliano Leal Goncalves Date: Mon, 6 Sep 2021 00:46:00 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=9A=20Rename=20'ObjDataStruct'=20struc?= =?UTF-8?q?t=20to=20'ObjectData'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/objdat.cpp | 2 +- Source/objdat.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/objdat.cpp b/Source/objdat.cpp index 63f762580..606e1de51 100644 --- a/Source/objdat.cpp +++ b/Source/objdat.cpp @@ -151,7 +151,7 @@ const _object_id ObjTypeConv[] = { }; /** Contains the data related to each object ID. */ -const ObjDataStruct AllObjects[] = { +const ObjectData AllObjects[] = { // clang-format off // oload, ofindex, ominlvl, omaxlvl, olvltype, otheme, oquest, oAnimFlag, oAnimDelay, oAnimLen, oAnimWidth, oSolidFlag, oMissFlag, oLightFlag, oBreak, oSelFlag, oTrapFlag { 1, OFILE_L1BRAZ, 1, 4, DTYPE_CATHEDRAL, THEME_NONE, Q_INVALID, 1, 1, 26, 64, true, true, false, 0, 0, false }, diff --git a/Source/objdat.h b/Source/objdat.h index a8cf03a1a..ff51c7758 100644 --- a/Source/objdat.h +++ b/Source/objdat.h @@ -223,7 +223,7 @@ enum quest_id : int8_t { Q_INVALID = -1, }; -struct ObjDataStruct { +struct ObjectData { int oload; // Todo create enum object_graphic_id ofindex; int8_t ominlvl; @@ -244,7 +244,7 @@ struct ObjDataStruct { }; extern const _object_id ObjTypeConv[]; -extern const ObjDataStruct AllObjects[]; +extern const ObjectData AllObjects[]; extern const char *const ObjMasterLoadList[]; extern const char *ObjCryptLoadList[]; extern const char *ObjHiveLoadList[];