Mercurial > might-and-magic-trilogy
diff GUIButton.h @ 0:8b8875f5b359
Initial commit
author | Nomad |
---|---|
date | Fri, 05 Oct 2012 16:07:14 +0200 |
parents | |
children | 87c503d426e0 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/GUIButton.h Fri Oct 05 16:07:14 2012 +0200 @@ -0,0 +1,132 @@ +#pragma once + + +/* 156 */ +#pragma pack(push, 1) +struct GUIButton +{ + char DrawLabel(const char *edx0, struct GUIFont *pFont, int a5, int *a9); + + static void _41D0D8(GUIButton *ptr); + + + unsigned int uX; + unsigned int uY; + unsigned int uWidth; + unsigned int uHeight; + unsigned int uZ; + unsigned int uW; + int uButtonType; + int field_1C; + unsigned int uControlID; + unsigned int uControlParam; + int field_28; + int field_2C; + GUIButton *pPrev; + GUIButton *pNext; + struct GUIWindow *pParent; + struct Texture *pTextures[5]; + unsigned int uNumTextures; + unsigned __int8 uHotkey; + char pButtonName[32]; + char field_75[71]; +}; +#pragma pack(pop) + + + + +extern struct GUIButton *ptr_5064F4; +extern struct GUIButton *ptr_5064F8; +extern struct GUIButton *pBtn_Autonotes_Instructors; +extern struct GUIButton *pBtn_Autonotes_Misc; +extern struct GUIButton *pBtn_Book_6; +extern struct GUIButton *pBtn_Book_5; +extern struct GUIButton *pBtn_Book_4; +extern struct GUIButton *pBtn_Book_3; +extern struct GUIButton *pBtn_Book_2; +extern struct GUIButton *pBtn_Book_1; + + +extern struct GUIButton *pPlayerCreationUI_BtnReset; +extern struct GUIButton *pPlayerCreationUI_BtnOK; +extern struct GUIButton *ptr_5076F4; +extern struct GUIButton *ptr_5076FC; +extern struct GUIButton *pPlayerCreationUI_BtnPlus; +extern struct GUIButton *pPlayerCreationUI_BtnMinus; + + +extern struct GUIButton *pButton_RestUI_507634; +extern struct GUIButton *pButton_RestUI_Exit; +extern struct GUIButton *pButton_RestUI_Wait5Minutes; +extern struct GUIButton *pButton_RestUI_WaitUntilDawn; +extern struct GUIButton *pButton_RestUI_Wait1Hour; + + +extern struct GUIButton *ptr_50767C; +extern struct GUIButton *pCharacterScreen_AwardsBtn; +extern struct GUIButton *pCharacterScreen_InventoryBtn; +extern struct GUIButton *pCharacterScreen_SkillsBtn; +extern struct GUIButton *pCharacterScreen_StatsBtn; +extern struct GUIButton *ptr_507690; +extern struct GUIButton *ptr_507694; + + +extern struct GUIButton *ptr_5079E8; +extern struct GUIButton *ptr_5079EC; +extern struct GUIButton *ptr_5079F0; +extern struct GUIButton *ptr_5079F4; +extern struct GUIButton *ptr_5079F8; +extern struct GUIButton *ptr_5079FC; +extern struct GUIButton *ptr_507A00; +extern struct GUIButton *dword_507A04; +extern struct GUIButton *ptr_507A08; +extern struct GUIButton *ptr_507A0C; +extern struct GUIButton *ptr_507A10; + + +extern struct GUIButton *pMainMenu_BtnExit; +extern struct GUIButton *pMainMenu_BtnCredits; +extern struct GUIButton *pMainMenu_BtnLoad; +extern struct GUIButton *pMainMenu_BtnNew; + + +extern struct GUIButton *ptr_507B9C; +extern struct GUIButton *ptr_507BA0; +extern struct GUIButton *ptr_507BA4; + + +extern struct GUIWindow *pGUIWindow0; +extern struct GUIWindow *ptr_507BB8; +extern struct GUIWindow *pDialogueWindow; +extern struct GUIWindow *ptr_507BC0; +extern struct GUIWindow *ptr_507BC4; +extern struct GUIWindow *ptr_507BC8; +extern struct GUIWindow *pGUIWindow_CurrentMenu; +extern struct GUIWindow *ptr_507BD0; +extern struct GUIWindow *ptr_507BD4; +extern struct GUIWindow *ptr_507BDC; +extern struct GUIWindow *ptr_507BE0; +extern struct GUIWindow *pGUIWindow2; + + +extern struct GUIButton *ptr_50C9B0; +extern struct GUIButton *ptr_50C9B4; +extern struct GUIButton *pyt_50C9B8; +extern struct GUIButton *ptr_50C9BC; +extern struct GUIButton *ptr_50C9C0; +extern struct GUIButton *ptr_50C9C4; +extern struct GUIButton *ptr_50C9C8; +extern struct GUIButton *ptr_50C9CC; + + +extern struct GUIButton *ptr_69BD58; +extern struct GUIButton *ptr_69BD5C; +extern struct GUIButton *ptr_69BD60; +extern struct GUIButton *ptr_69BD64; + + +extern GUIButton *pCreationUI_BtnPressRight2[4]; +extern GUIButton *pCreationUI_BtnPressLeft2[4]; +extern GUIButton *pCreationUI_BtnPressLeft[4]; +extern GUIButton *pCreationUI_BtnPressRight[4]; \ No newline at end of file