diff mm7_data.h @ 1802:633f81bb3ae7

HWND -> class OSWindow
author Nomad
date Mon, 07 Oct 2013 11:52:33 +0200
parents 24e756a50073
children 9f93b5700e2d
line wrap: on
line diff
--- a/mm7_data.h	Tue Oct 01 06:19:58 2013 +0200
+++ b/mm7_data.h	Mon Oct 07 11:52:33 2013 +0200
@@ -519,7 +519,7 @@
 
 extern _UNKNOWN unk_4FAA20; // weak
 extern char byte_4FAA24; // weak
-extern HWND dword_4FAA28; // idb
+//extern HWND dword_4FAA28; // idb
 
 
 
@@ -593,7 +593,6 @@
 extern std::array<char *, 9> aSpellSchoolNames;
 extern std::array<char *, 7> aAttributeNames;
 extern int dword_507B94; // weak
-extern int dword_507B98_ctrl_pressed; // weak
 extern unsigned int uActiveCharacter;
 extern int dword_507BF0_is_there_popup_onscreen; // weak
 extern int awards_scroll_bar_created; // weak
@@ -844,7 +843,8 @@
 //extern char pMM7WindowClassName[]; // idb
 //extern HINSTANCE hInstance; // idb
 //extern char *pCmdLine;
-extern HWND hWnd; // idb
+//extern HWND hWnd; // idb
+extern class OSWindow *window;
 extern int dword_6BE340; // weak
 extern char pCurrentMapName[32]; // idb
 extern unsigned int uLevelMapStatsID;
@@ -1074,7 +1074,7 @@
 void uGameUIFontMain_initialize();
 void uGameUIFontShadow_initialize();
 void Inventory_ItemPopupAndAlchemy();
-void sub_416D62_ShowPopupWindow_MonsterRecord_ItemInfo_etcsub_416D62(struct Vec2_int_ *_this);
+void UI_OnMouseRightClick(struct Vec2_int_ *_this);
 void UI_OnMouseLeftClick(int *pXY); // idb
 unsigned int UI_GetHealthManaAndOtherQualitiesStringColor(signed int current_pos, signed int base_pos);
 unsigned int __fastcall GetSizeInInventorySlots(unsigned int uNumPixels);
@@ -1360,8 +1360,6 @@
 }
 //inline void __fastcall j_memset32(int a2, void *a1, unsigned int a3) {memset32(a1, a2, a3);}
 
-void CenterWindowAndAdjustSize(HWND hwnd, int client_width, int client_height);
-
 #define ErrD3D(hr) do {extern void ErrHR(HRESULT, const char *, const char *, const char *, int); ErrHR(hr, "Direct3D", __FUNCTION__, __FILE__, __LINE__);} while(0)