More skin changes
Added armor skin layer to HumanoidModel.cpp and HumanoidModel.h and adjusted skin box code to handle new armor layer. Added SkinOffsets.h with SKIN_OFFSET type. Added code to DLCManager.cpp, DLCManager.h, DLCSkinFile.cpp, and DLCSkinFile.h to read skin offsets from DLC skin packs (Does not affect skin yet). Changed Steve skins back to their original 64x32 size for parity with official LCE. Removed some redundant code.
This commit is contained in:
@@ -13,6 +13,7 @@ private:
|
||||
unsigned int m_uiAnimOverrideBitmask;
|
||||
bool m_bIsFree;
|
||||
vector<SKIN_BOX *> m_AdditionalBoxes;
|
||||
vector<SKIN_OFFSET *> m_Offsets;
|
||||
_SkinAdjustments m_skinAdjustments;
|
||||
|
||||
public:
|
||||
@@ -26,6 +27,8 @@ public:
|
||||
bool getParameterAsBool(DLCManager::EDLCParameterType type) override;
|
||||
vector<SKIN_BOX *> *getAdditionalBoxes();
|
||||
int getAdditionalBoxesCount();
|
||||
vector<SKIN_OFFSET *> *getOffsets();
|
||||
int getOffsetsCount();
|
||||
unsigned int getAnimOverrideBitmask() { return m_uiAnimOverrideBitmask;}
|
||||
bool isFree() {return m_bIsFree;}
|
||||
};
|
||||
Reference in New Issue
Block a user