Browse Source

🚚 Rename 'ObjDataStruct' struct to 'ObjectData'

pull/2812/head
Juliano Leal Goncalves 5 years ago committed by Anders Jenbo
parent
commit
d4a5868a89
  1. 2
      Source/objdat.cpp
  2. 4
      Source/objdat.h

2
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 },

4
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[];

Loading…
Cancel
Save