Skip to content

Commit d1d9929

Browse files
committed
Update some generated offset comments
1 parent 74860cf commit d1d9929

4 files changed

Lines changed: 248 additions & 244 deletions

File tree

include/eqlib/game/GameFace.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,9 @@ class [[offsetcomments]] CGFScreenWnd : public CSidlScreenWnd
136136
virtual void Unknown0x388();
137137
virtual void Unknown0x390(const CXRect& rect);
138138

139-
/*0x2b8*/ UIScreenComponent WindowComponent;
140-
/*0x360*/ eqstd::unordered_map<eqstd::string, UIComponent*> ChildComponents;
141-
/*0x3a0*/
139+
/*0x2d0*/ UIScreenComponent WindowComponent;
140+
/*0x378*/ eqstd::unordered_map<eqstd::string, UIComponent*> ChildComponents;
141+
/*0x3b8*/
142142

143143
struct [[offsetcomments]] VirtualFunctionTable : public CSidlScreenWnd::VirtualFunctionTable
144144
{

include/eqlib/game/LoginFrontend.h

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,9 @@ class [[offsetcomments]] ChannelServerHandler
151151

152152
struct [[offsetcomments]] EQDevice
153153
{
154-
/*0x00*/ char Name[0x40];
155-
/*0x40*/ };
154+
/*0x00*/ char Name[0x40];
155+
/*0x40*/
156+
};
156157

157158
struct [[offsetcomments]] EQLogin
158159
{
@@ -790,33 +791,33 @@ class CStmlWnd : public CXWnd
790791
class [[offsetcomments]] CEditBaseWnd : public CXWnd
791792
{
792793
public:
793-
/*0x250*/ eTextAlign eAlign = eta_Left;
794-
/*0x254*/ int StartPos = 0;
795-
/*0x258*/ int EndPos = 0;
796-
/*0x25c*/ int MaxChars = -1;
797-
/*0x260*/ int MaxBytesUTF8 = -1;
798-
/*0x268*/ CXStr InputText;
799-
/*0x270*/ int TagPrintableStarts[EDITWND_MAX_TAGS];
800-
/*0x298*/ int TagPrintableEnds[EDITWND_MAX_TAGS];
801-
/*0x2c0*/ int TagOriginalStarts[EDITWND_MAX_TAGS];
802-
/*0x2e8*/ int TagOriginalEnds[EDITWND_MAX_TAGS];
803-
/*0x310*/ int TagDynamicSize[EDITWND_MAX_TAGS];
804-
/*0x338*/ int TagCodes[EDITWND_MAX_TAGS];
805-
/*0x360*/ CXStr TagStrings[EDITWND_MAX_TAGS];
806-
/*0x3b0*/ int TagCount;
807-
/*0x3b4*/ uint32_t EditStyle;
808-
/*0x3b8*/
794+
/*0x260*/ eTextAlign eAlign = eta_Left;
795+
/*0x264*/ int StartPos = 0;
796+
/*0x268*/ int EndPos = 0;
797+
/*0x26c*/ int MaxChars = -1;
798+
/*0x270*/ int MaxBytesUTF8 = -1;
799+
/*0x278*/ CXStr InputText;
800+
/*0x280*/ int TagPrintableStarts[EDITWND_MAX_TAGS];
801+
/*0x2a8*/ int TagPrintableEnds[EDITWND_MAX_TAGS];
802+
/*0x2d0*/ int TagOriginalStarts[EDITWND_MAX_TAGS];
803+
/*0x2f8*/ int TagOriginalEnds[EDITWND_MAX_TAGS];
804+
/*0x320*/ int TagDynamicSize[EDITWND_MAX_TAGS];
805+
/*0x348*/ int TagCodes[EDITWND_MAX_TAGS];
806+
/*0x370*/ CXStr TagStrings[EDITWND_MAX_TAGS];
807+
/*0x3c0*/ int TagCount;
808+
/*0x3c4*/ uint32_t EditStyle;
809+
/*0x3c8*/
809810
};
810811

811812
class [[offsetcomments]] CListWnd : public CXWnd
812813
{
813814
public:
814-
/*0x250*/ int Unknown0x1f0;
815-
/*0x258*/ ArrayClass<SListWndLine> ItemsArray;
816-
/*0x270*/ ArrayClass<SListWndColumn> Columns;
817-
/*0x288*/ int CurSel;
818-
/*0x28c*/ int CurCol;
819-
/*0x290*/
815+
/*0x260*/ int Unknown0x1f0;
816+
/*0x268*/ ArrayClass<SListWndLine> ItemsArray;
817+
/*0x280*/ ArrayClass<SListWndColumn> Columns;
818+
/*0x298*/ int CurSel;
819+
/*0x29c*/ int CurCol;
820+
/*0x2a0*/
820821
CXStr GetItemText(int row, int col)
821822
{
822823
if (row < 0 || row >= ItemsArray.Count)

include/eqlib/game/PlayerClient.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -308,16 +308,16 @@ class PlayerPhysicsClient : public PlayerPhysics
308308
struct [[offsetcomments]] PZCPhysicsInfo
309309
{
310310
// @start: PZCPhysicsInfo Members
311-
/*0x18*/ float DeltaY;
312-
/*0x10*/ float Y;
313-
/*0x1c*/ int DeltaHeading : 10;
314-
/*0x04*/ float X;
315-
/*0x1c*/ int ZHeading : 12;
316-
/*0x20*/ float DeltaZ;
317-
/*0x00*/ float DeltaX;
318-
/*0x0c*/ float Z;
319-
/*0x08*/ int Acceleration : 10;
320-
/*0x08*/ int Heading : 12;
311+
/*0x00*/ float DeltaY;
312+
/*0x04*/ float Y;
313+
/*0x08*/ int DeltaHeading : 10;
314+
/*0x0c*/ float X;
315+
/*0x10*/ int ZHeading : 12;
316+
/*0x14*/ float DeltaZ;
317+
/*0x18*/ float DeltaX;
318+
/*0x1c*/ float Z;
319+
/*0x20*/ int Acceleration : 10;
320+
/*0x20*/ int Heading : 12;
321321
/*0x24*/
322322
// @end: PZCPhysicsInfo Members
323323
};

0 commit comments

Comments
 (0)