comparison mm7_data.h @ 1802:633f81bb3ae7

HWND -> class OSWindow
author Nomad
date Mon, 07 Oct 2013 11:52:33 +0200
parents 24e756a50073
children 9f93b5700e2d
comparison
equal deleted inserted replaced
1760:a2ea57410b15 1802:633f81bb3ae7
517 extern int dword_4FA9B0[]; // weak 517 extern int dword_4FA9B0[]; // weak
518 extern int dword_4FA9B4[]; // weak 518 extern int dword_4FA9B4[]; // weak
519 519
520 extern _UNKNOWN unk_4FAA20; // weak 520 extern _UNKNOWN unk_4FAA20; // weak
521 extern char byte_4FAA24; // weak 521 extern char byte_4FAA24; // weak
522 extern HWND dword_4FAA28; // idb 522 //extern HWND dword_4FAA28; // idb
523 523
524 524
525 525
526 extern int dword_505890; // weak 526 extern int dword_505890; // weak
527 extern std::array<unsigned int, 480> pSRZBufferLineOffsets; 527 extern std::array<unsigned int, 480> pSRZBufferLineOffsets;
591 extern std::array<char *, 12> aMonthNames; 591 extern std::array<char *, 12> aMonthNames;
592 extern std::array<char *, 7> aDayNames; 592 extern std::array<char *, 7> aDayNames;
593 extern std::array<char *, 9> aSpellSchoolNames; 593 extern std::array<char *, 9> aSpellSchoolNames;
594 extern std::array<char *, 7> aAttributeNames; 594 extern std::array<char *, 7> aAttributeNames;
595 extern int dword_507B94; // weak 595 extern int dword_507B94; // weak
596 extern int dword_507B98_ctrl_pressed; // weak
597 extern unsigned int uActiveCharacter; 596 extern unsigned int uActiveCharacter;
598 extern int dword_507BF0_is_there_popup_onscreen; // weak 597 extern int dword_507BF0_is_there_popup_onscreen; // weak
599 extern int awards_scroll_bar_created; // weak 598 extern int awards_scroll_bar_created; // weak
600 extern int dword_507CC0_activ_ch; // weak 599 extern int dword_507CC0_activ_ch; // weak
601 extern __int64 GameUI_RightPanel_BookFlashTimer; // weak 600 extern __int64 GameUI_RightPanel_BookFlashTimer; // weak
842 extern float fTurnSpeedMultiplier; // weak 841 extern float fTurnSpeedMultiplier; // weak
843 extern float flt_6BE150_look_up_down_dangle; // weak 842 extern float flt_6BE150_look_up_down_dangle; // weak
844 //extern char pMM7WindowClassName[]; // idb 843 //extern char pMM7WindowClassName[]; // idb
845 //extern HINSTANCE hInstance; // idb 844 //extern HINSTANCE hInstance; // idb
846 //extern char *pCmdLine; 845 //extern char *pCmdLine;
847 extern HWND hWnd; // idb 846 //extern HWND hWnd; // idb
847 extern class OSWindow *window;
848 extern int dword_6BE340; // weak 848 extern int dword_6BE340; // weak
849 extern char pCurrentMapName[32]; // idb 849 extern char pCurrentMapName[32]; // idb
850 extern unsigned int uLevelMapStatsID; 850 extern unsigned int uLevelMapStatsID;
851 extern int dword_6BE364_game_settings_1; // weak 851 extern int dword_6BE364_game_settings_1; // weak
852 extern int dword_6BE368_debug_settings_2; // weak 852 extern int dword_6BE368_debug_settings_2; // weak
1072 void __fastcall LoadThumbnailLloydTexture(unsigned int uSlot, unsigned int uPlayer); 1072 void __fastcall LoadThumbnailLloydTexture(unsigned int uSlot, unsigned int uPlayer);
1073 void SetAttributeNames(); 1073 void SetAttributeNames();
1074 void uGameUIFontMain_initialize(); 1074 void uGameUIFontMain_initialize();
1075 void uGameUIFontShadow_initialize(); 1075 void uGameUIFontShadow_initialize();
1076 void Inventory_ItemPopupAndAlchemy(); 1076 void Inventory_ItemPopupAndAlchemy();
1077 void sub_416D62_ShowPopupWindow_MonsterRecord_ItemInfo_etcsub_416D62(struct Vec2_int_ *_this); 1077 void UI_OnMouseRightClick(struct Vec2_int_ *_this);
1078 void UI_OnMouseLeftClick(int *pXY); // idb 1078 void UI_OnMouseLeftClick(int *pXY); // idb
1079 unsigned int UI_GetHealthManaAndOtherQualitiesStringColor(signed int current_pos, signed int base_pos); 1079 unsigned int UI_GetHealthManaAndOtherQualitiesStringColor(signed int current_pos, signed int base_pos);
1080 unsigned int __fastcall GetSizeInInventorySlots(unsigned int uNumPixels); 1080 unsigned int __fastcall GetSizeInInventorySlots(unsigned int uNumPixels);
1081 struct GUIButton *__fastcall GUI_HandleHotkey(unsigned __int8 uHotkey); // idb 1081 struct GUIButton *__fastcall GUI_HandleHotkey(unsigned __int8 uHotkey); // idb
1082 int __fastcall GUI_ReplaceHotkey(unsigned __int8 uOldHotkey, unsigned __int8 uNewHotkey, char bFirstCall); 1082 int __fastcall GUI_ReplaceHotkey(unsigned __int8 uOldHotkey, unsigned __int8 uNewHotkey, char bFirstCall);
1358 for ( int i=0; i < count; i++ ) 1358 for ( int i=0; i < count; i++ )
1359 *p++ = value; 1359 *p++ = value;
1360 } 1360 }
1361 //inline void __fastcall j_memset32(int a2, void *a1, unsigned int a3) {memset32(a1, a2, a3);} 1361 //inline void __fastcall j_memset32(int a2, void *a1, unsigned int a3) {memset32(a1, a2, a3);}
1362 1362
1363 void CenterWindowAndAdjustSize(HWND hwnd, int client_width, int client_height);
1364
1365 #define ErrD3D(hr) do {extern void ErrHR(HRESULT, const char *, const char *, const char *, int); ErrHR(hr, "Direct3D", __FUNCTION__, __FILE__, __LINE__);} while(0) 1363 #define ErrD3D(hr) do {extern void ErrHR(HRESULT, const char *, const char *, const char *, int); ErrHR(hr, "Direct3D", __FUNCTION__, __FILE__, __LINE__);} while(0)
1366 1364
1367 1365
1368 namespace zlib 1366 namespace zlib
1369 { 1367 {