Maintenance: Second pass on unknown_XXXX members: 140 more renamed (61 files), named from the original binary (accesses at this+offse
Batch #14947 by ragnarok-clanker: no function's compiled code changes; checked with 596 compiled unit(s), including every includer of Source/Client/Input/Language.h, Source/Client/Input/LanguageTC.h, Source/Client/Mode/CGameMode.h, Source/Client/Mode/CLoginMode.h, Source/Client/Mode/EquipWindowLook.h, Source/Client/Session.h, Source/Contents/Actors/GameActor.h, Source/Contents/Actors/GraffiSkill.h, Source/Contents/Actors/GrannyGameActor.h, Source/Contents/Actors/Pc.h, Source/Contents/Camera/Camera.h, Source/Contents/Effects/EffectEmitter.h, Source/Contents/Effects/EffectPrimitiveState.h, Source/Contents/FlyingShipRouteInfo.h, Source/Contents/Ground/GroundGeometry.h, Source/Contents/Ground/GroundSpatial.h, Source/Contents/Items/ItemInfo.h, Source/Render/SpriteQuad.h, Source/Resource/EZeffectResource.h, Source/Resource/Models/AnimatedModelResource.h, Source/Resource/Models/GrannyModelResource.h, Source/Resource/Models/ModelMesh.h, Source/Resource/World/WorldResource.h, Source/UI/Dialogs/UIChooseWnd.h, Source/UI/Items/UISpellListWnd.h, Source/UI/Lists/UIListBoxTemplate.h, Source/UI/MiniPartyGrid.h, Source/UI/Quest/UIOngoingQuestInfo.h, Source/UI/Text/UIAchWnd.h, Source/UI/Window/UIMonsterInfoWnd.h, Source/UI/Window/UINavigationWnd.h, Source/UI/Window/UINewMakeCharWnd.h, Source/UI/Window/UITalkboxTrapInputWnd.h, Source/UI/Window/UIWindowMgr.h.
This commit is contained in:
parent
dc3d5ce1a5
commit
fdbebbba25
61 changed files with 216 additions and 216 deletions
|
|
@ -26,7 +26,7 @@ struct ActorHitInfo {
|
|||
/* 0008 */ int extraDamage;
|
||||
/* 000C */ int type;
|
||||
/* 0010 */ std::uint32_t targetAid;
|
||||
/* 0014 */ int unknown_0014;
|
||||
/* 0014 */ int startTime;
|
||||
/* 0018 */ int hitCount;
|
||||
/* 001C */ int cellX;
|
||||
/* 0020 */ int cellY;
|
||||
|
|
@ -40,7 +40,7 @@ struct ActorSkillInfo {
|
|||
/* 0004 */ int damage;
|
||||
/* 0008 */ int type;
|
||||
/* 000C */ std::uint32_t targetAid;
|
||||
/* 0010 */ int unknown_0010;
|
||||
/* 0010 */ int startTime;
|
||||
/* 0014 */ int level;
|
||||
/* 0018 */ int hitCount;
|
||||
/* 001C */ int cellX;
|
||||
|
|
@ -109,7 +109,7 @@ public:
|
|||
/* 0294 */ int xSize;
|
||||
/* 0298 */ int ySize;
|
||||
/* 029C */ unsigned char headType[0x04];
|
||||
/* 02A0 */ std::list<ActorDamageMessage> unknown_02A0;
|
||||
/* 02A0 */ std::list<ActorDamageMessage> willBeAttackList;
|
||||
/* 02A8 */ std::list<ActorDamageMessage> willBeAttackedList;
|
||||
/* 02B0 */ int willBeDead;
|
||||
/* 02B4 */ int hasLevelAura;
|
||||
|
|
@ -333,7 +333,7 @@ static_assert(offsetof(CGameActor, lastServerTime) == 0x258);
|
|||
static_assert(offsetof(CGameActor, actorWindows) == 0x264);
|
||||
static_assert(offsetof(CGameActor, nameWidth) == 0x290);
|
||||
static_assert(offsetof(CGameActor, ySize) == 0x298);
|
||||
static_assert(offsetof(CGameActor, unknown_02A0) == 0x2A0);
|
||||
static_assert(offsetof(CGameActor, willBeAttackList) == 0x2A0);
|
||||
static_assert(offsetof(CGameActor, willBeAttackedList) == 0x2A8);
|
||||
static_assert(offsetof(CGameActor, levelAuraType) == 0x2B8);
|
||||
static_assert(offsetof(CGameActor, damageDestX) == 0x2D0);
|
||||
|
|
|
|||
|
|
@ -1160,7 +1160,7 @@ struct PcMoveEntry {
|
|||
/* 0054 */ int accessory3;
|
||||
/* 0058 */ int headPalette;
|
||||
/* 005C */ int bodyPalette;
|
||||
/* 0060 */ int unknown_0060;
|
||||
/* 0060 */ int headDir;
|
||||
/* 0064 */ int guildId;
|
||||
/* 0068 */ int guildVersion;
|
||||
/* 006C */ int honor;
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ public:
|
|||
virtual void BuildTexture();
|
||||
virtual void ReleaseTexture();
|
||||
|
||||
/* 0440 */ unsigned char unknown_0440[0x04];
|
||||
/* 0440 */ unsigned char m_masterGid[0x04];
|
||||
/* 0444 */ int m_cellX;
|
||||
/* 0448 */ int m_cellY;
|
||||
/* 044C */ CTexture* m_canvas;
|
||||
|
|
|
|||
|
|
@ -51,10 +51,10 @@ public:
|
|||
/* 053D */ unsigned char unknown_053D[0x03];
|
||||
/* 0540 */ unsigned brightness;
|
||||
/* 0544 */ int motion;
|
||||
/* 0548 */ unsigned char unknown_0548[0x04];
|
||||
/* 0548 */ unsigned char currentFrame[0x04];
|
||||
/* 054C */ char name[0x104];
|
||||
/* 0650 */ int renderState;
|
||||
/* 0654 */ int unknown_0654;
|
||||
/* 0654 */ int cellTexture;
|
||||
/* 0658 */ granny_control* controls[20];
|
||||
/* 06A8 */ unsigned char initializeFacing;
|
||||
/* 06A9 */ unsigned char unknown_06A9[0x03];
|
||||
|
|
@ -62,7 +62,7 @@ public:
|
|||
/* 0724 */ std::uint16_t* meshIndices[30];
|
||||
/* 079C */ int meshTriangleCounts[30];
|
||||
/* 0814 */ matrix meshTransforms[30];
|
||||
/* 0DB4 */ unsigned char unknown_0DB4[0x04];
|
||||
/* 0DB4 */ unsigned char worldPose[0x04];
|
||||
/* 0DB8 */ CTexture* texture;
|
||||
/* 0DBC */ std::vector<vector3d> litPositions;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -323,7 +323,7 @@ public:
|
|||
/* 0F35 */ unsigned char unknown_0F35[0x03];
|
||||
/* 0F38 */ unsigned brightness;
|
||||
/* 0F3C */ int motion;
|
||||
/* 0F40 */ unsigned char unknown_0F40[4];
|
||||
/* 0F40 */ unsigned char currentFrame[4];
|
||||
/* 0F44 */ char modelName[0x104];
|
||||
/* 1048 */ unsigned char unknown_1048[8];
|
||||
/* 1050 */ granny_control* controls[20];
|
||||
|
|
|
|||
|
|
@ -4757,7 +4757,7 @@ struct PcMoveEntry {
|
|||
/* 0054 */ int accessory3;
|
||||
/* 0058 */ int headPalette;
|
||||
/* 005C */ int bodyPalette;
|
||||
/* 0060 */ int unknown_0060;
|
||||
/* 0060 */ int headDir;
|
||||
/* 0064 */ int guildId;
|
||||
/* 0068 */ int guildVersion;
|
||||
/* 006C */ int honor;
|
||||
|
|
|
|||
|
|
@ -2684,7 +2684,7 @@ void CCharacterNpc::Render(int) {
|
|||
}
|
||||
|
||||
struct CharacterNpcViewInfo {
|
||||
/* 0000 */ int unknown_0000;
|
||||
/* 0000 */ int aid;
|
||||
/* 0004 */ int job;
|
||||
/* 0008 */ int unknown_0008[10];
|
||||
/* 0030 */ int standAccessory;
|
||||
|
|
@ -3452,7 +3452,7 @@ C3dGrannyGameActor::C3dGrannyGameActor(const char* name) {
|
|||
this->alpha = 0xFF;
|
||||
std::strcpy(this->name, name);
|
||||
this->renderState = 0;
|
||||
this->unknown_0654 = 0;
|
||||
this->cellTexture = 0;
|
||||
for (int index = 0; index < 20; ++index) {
|
||||
this->controls[index] = nullptr;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -38,14 +38,14 @@
|
|||
struct SkillHitMessage {
|
||||
/* 0000 */ int skillId;
|
||||
/* 0004 */ int damage;
|
||||
/* 0008 */ int unknown_0008;
|
||||
/* 0008 */ int action;
|
||||
/* 000C */ std::uint32_t targetAid;
|
||||
/* 0010 */ int unknown_0010;
|
||||
/* 0010 */ int startTime;
|
||||
/* 0014 */ int monsterValue;
|
||||
/* 0018 */ int hitCount;
|
||||
/* 001C */ int cellX;
|
||||
/* 0020 */ int cellY;
|
||||
/* 0024 */ int unknown_0024;
|
||||
/* 0024 */ int attackMotionTime;
|
||||
/* 0028 */ int motionSpeed;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -39,10 +39,10 @@ public:
|
|||
|
||||
/* 0004 */ CameraShake shake;
|
||||
/* 0020 */ CameraState camera;
|
||||
/* 0050 */ float unknown_0050[3];
|
||||
/* 005C */ unsigned char unknown_005C[0xC];
|
||||
/* 0068 */ float unknown_0068[3];
|
||||
/* 0074 */ unsigned char unknown_0074[0xC];
|
||||
/* 0050 */ float backupCurrentTarget[3];
|
||||
/* 005C */ unsigned char backupCurrentAnglesAndDistance[0xC];
|
||||
/* 0068 */ float backupDesiredTarget[3];
|
||||
/* 0074 */ unsigned char backupDesiredAnglesAndDistance[0xC];
|
||||
/* 0080 */ CameraFrame frame;
|
||||
/* 00F8 */ WorldViewSpatial spatial;
|
||||
/* 01B0 */ CWorld* scene;
|
||||
|
|
|
|||
|
|
@ -206,7 +206,7 @@ public:
|
|||
unsigned char unknown_0004[0x9];
|
||||
bool m_dirty;
|
||||
unsigned char unknown_000E[0x12];
|
||||
UIWindow* unknown_0020;
|
||||
UIWindow* m_window;
|
||||
/* 0024 */ std::unordered_map<int, CEquipmentWearable*> properties1;
|
||||
/* 0044 */ unsigned char unknown_0044[0x1B8];
|
||||
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ struct EZ2STREmitter {
|
|||
/* 3F5D */ unsigned char fadeOut;
|
||||
/* 3F5E */ unsigned char unknown_3F5E[0x3A];
|
||||
/* 3F98 */ int lifetimeLimit;
|
||||
/* 3F9C */ int unknown_3F9C;
|
||||
/* 3F9C */ int remainingLoops;
|
||||
/* 3FA0 */ int duration;
|
||||
/* 3FA4 */ float rotationAngle;
|
||||
/* 3FA8 */ float pitch;
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ struct EffectPrimitiveState {
|
|||
/* 0200 */ int changePoint;
|
||||
/* 0204 */ unsigned totalTexture;
|
||||
/* 0208 */ std::uint32_t playWaveType;
|
||||
/* 020C */ unsigned char unknown_020C[40];
|
||||
/* 020C */ unsigned char notifyCounts[40];
|
||||
/* 0234 */ std::uint32_t RGBCycleDelay;
|
||||
/* 0238 */ std::uint32_t commonPattern;
|
||||
/* 023C */ int red;
|
||||
|
|
|
|||
|
|
@ -10,11 +10,11 @@ struct WorldViewRecord;
|
|||
|
||||
struct FlyingShipRouteEntry {
|
||||
/* 0000 */ std::string name;
|
||||
/* 0018 */ int unknown_0018[4];
|
||||
/* 0028 */ int unknown_0028;
|
||||
/* 0018 */ int areaBounds[4];
|
||||
/* 0028 */ int areaFlags;
|
||||
/* 002C */ float screenPosition[2];
|
||||
/* 0034 */ float unknown_0034;
|
||||
/* 0038 */ float unknown_0038;
|
||||
/* 0034 */ float width;
|
||||
/* 0038 */ float height;
|
||||
|
||||
FlyingShipRouteEntry() = default;
|
||||
FlyingShipRouteEntry(const FlyingShipRouteEntry& other) = default;
|
||||
|
|
@ -56,8 +56,8 @@ public:
|
|||
|
||||
#if defined(_WIN32) && !defined(_WIN64)
|
||||
static_assert(sizeof(FlyingShipRouteEntry) == 0x3C);
|
||||
static_assert(offsetof(FlyingShipRouteEntry, unknown_0018) == 0x18);
|
||||
static_assert(offsetof(FlyingShipRouteEntry, unknown_0038) == 0x38);
|
||||
static_assert(offsetof(FlyingShipRouteEntry, areaBounds) == 0x18);
|
||||
static_assert(offsetof(FlyingShipRouteEntry, height) == 0x38);
|
||||
static_assert(sizeof(CFlyingShipRouteInfo) == 0x50);
|
||||
static_assert(offsetof(CFlyingShipRouteInfo, entries) == 0x04);
|
||||
static_assert(offsetof(CFlyingShipRouteInfo, routeReset) == 0x28);
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ public:
|
|||
/* 000C */ int height;
|
||||
/* 0010 */ float cellSize;
|
||||
/* 0014 */ GroundLightmapSet lightmapSet;
|
||||
/* 0034 */ std::uint32_t unknown_0034;
|
||||
/* 0034 */ std::uint32_t surfaceCount;
|
||||
/* 0038 */ float waterLevel;
|
||||
/* 003C */ int waterAnimation;
|
||||
/* 0040 */ int waterPitch;
|
||||
|
|
|
|||
|
|
@ -12,13 +12,13 @@ struct GroundQuad {
|
|||
GroundQuad();
|
||||
|
||||
/* 0000 */ float vertices[4][8];
|
||||
/* 0080 */ std::uint32_t unknown_0080;
|
||||
/* 0080 */ std::uint32_t vertexOffset;
|
||||
/* 0084 */ CTexture* texture;
|
||||
/* 0088 */ CTexture* lightmapTexture;
|
||||
/* 008C */ GroundLightmap* lightmap;
|
||||
/* 0090 */ std::uint32_t color;
|
||||
/* 0094 */ std::uint32_t selected;
|
||||
/* 0098 */ std::uint32_t unknown_0098;
|
||||
/* 0098 */ std::uint32_t materialId;
|
||||
};
|
||||
|
||||
struct GroundCell {
|
||||
|
|
|
|||
|
|
@ -8,18 +8,18 @@
|
|||
#include <vector>
|
||||
|
||||
struct RawItemData {
|
||||
/* 0000 */ std::uint32_t unknown_0000;
|
||||
/* 0000 */ std::uint32_t source;
|
||||
/* 0004 */ std::uint32_t index;
|
||||
/* 0008 */ std::uint32_t price;
|
||||
/* 000C */ std::uint32_t realPrice;
|
||||
/* 0010 */ std::int32_t quantity;
|
||||
/* 0014 */ std::uint32_t unknown_0014;
|
||||
/* 0014 */ std::uint32_t slot;
|
||||
/* 0018 */ std::uint32_t type;
|
||||
/* 001C */ std::uint32_t refiningLevel;
|
||||
/* 0020 */ unsigned char identified;
|
||||
/* 0021 */ unsigned char unknown_0021[27];
|
||||
/* 003C */ std::string itemId;
|
||||
/* 0054 */ unsigned char unknown_0054[28];
|
||||
/* 0054 */ unsigned char skillNameAndLevel[28];
|
||||
/* 0070 */ std::uint32_t cards[4];
|
||||
/* 0080 */ unsigned char unknown_0080[8];
|
||||
/* 0088 */ std::int32_t optionCount;
|
||||
|
|
|
|||
|
|
@ -1790,7 +1790,7 @@ public:
|
|||
int GetType() override;
|
||||
CEquipment* GetOwner();
|
||||
|
||||
/* 0038 */ int unknown_0038;
|
||||
/* 0038 */ int m_slotIndex;
|
||||
/* 003C */ CEquipment* m_owner;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -416,11 +416,11 @@ namespace EquipmentProperties {
|
|||
namespace EquipmentProperties {
|
||||
class CEquipmentAttachable : public CEquipment {
|
||||
public:
|
||||
/* 0038 */ int unknown_0038;
|
||||
/* 0038 */ int m_slotIndex;
|
||||
/* 003C */ CEquipment* m_owner;
|
||||
|
||||
// INLINED
|
||||
CEquipmentAttachable(const int& id, int index, CEquipment* owner) : CEquipment(id), unknown_0038(index), m_owner(owner) {
|
||||
CEquipmentAttachable(const int& id, int index, CEquipment* owner) : CEquipment(id), m_slotIndex(index), m_owner(owner) {
|
||||
}
|
||||
|
||||
void Load(bool force) override;
|
||||
|
|
|
|||
|
|
@ -709,7 +709,7 @@ void CHalluPlant::SendMsg(
|
|||
}
|
||||
|
||||
struct NpcAppearInfo {
|
||||
/* 0000 */ int unknown_0000;
|
||||
/* 0000 */ int aid;
|
||||
/* 0004 */ int job;
|
||||
/* 0008 */ int unknown_0008[22];
|
||||
/* 0060 */ int guildId;
|
||||
|
|
|
|||
|
|
@ -203,7 +203,7 @@ void CWorld::RemovePcPosForMove(std::uint32_t aid, bool notify) {
|
|||
}
|
||||
|
||||
struct WorldProximityGuildMasterCallback {
|
||||
void* unknown_0000;
|
||||
void* vtable;
|
||||
CWorld* world;
|
||||
|
||||
bool Invoke(const std::uint32_t& aid);
|
||||
|
|
@ -245,7 +245,7 @@ bool WorldProximityGuildMasterCallback::Invoke(const std::uint32_t& aidRef) {
|
|||
}
|
||||
|
||||
struct WorldProximityRangeCallback {
|
||||
void* unknown_0000;
|
||||
void* vtable;
|
||||
int range;
|
||||
float playerX;
|
||||
float playerZ;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue