Mercurial > mm7
diff mm7_1.cpp @ 782:c47efaf23642
more tidy
author | zipi |
---|---|
date | Sun, 24 Mar 2013 01:45:09 +0000 |
parents | cf2fbac6edc9 |
children | 1e2be0f5eb30 |
line wrap: on
line diff
--- a/mm7_1.cpp Sun Mar 24 01:27:34 2013 +0000 +++ b/mm7_1.cpp Sun Mar 24 01:45:09 2013 +0000 @@ -8,7 +8,6 @@ #include <assert.h> #include "MM7.h" - #include "MapInfo.h" #include "Game.h" #include "GUIWindow.h" @@ -52,24 +51,13 @@ #include "texts.h" #include "stru351.h" #include "UIHouses.h" - #include "mm7_data.h" - - - int __stdcall aWinProc(HWND hWnd, UINT Msg, WPARAM wParam, unsigned int lParam); int __stdcall InsertMM7CDDialogFunc(HWND hDlg, int a2, __int16 a3, int a4); bool __fastcall FindMM7CD(HWND hWnd, char *pCDDrive); bool __fastcall Initialize(HINSTANCE hInst, char *pCmdLine); - - - - - - - //----- (004453C0) mm6----------------------------------------------------- //----- (004A1760) mm6_chinese--------------------------------------------- int fixpoint_mul(int a1, int a2) @@ -113,8 +101,6 @@ // 506988: using guessed type int dword_506988; // 50698C: using guessed type int dword_50698C; // 507CC0: using guessed type int dword_507CC0; - - // 50651C: using guessed type int dword_50651C; // 506520: using guessed type int dword_506520; // 506524: using guessed type int dword_506524; @@ -123,14 +109,8 @@ // 506548: using guessed type int dword_506548; // 723E80: using guessed type int dword_723E80_award_related[]; // 723E84: using guessed type int dword_723E84[]; - - - // 5075E0: using guessed type int pVisibleWindowsIdxs[20]; - - - //----- (0041CD4F) -------------------------------------------------------- bool __thiscall sub_41CD4F(unsigned int _this) { @@ -480,12 +460,6 @@ return a1->DrawText(a2, 32, uY, 0, pTmpBuf, 0, 0, 0); } - - - - - - //----- (0041F54A) -------------------------------------------------------- void __cdecl LoadActualSkyFrame() { @@ -544,9 +518,6 @@ viewparams->bRedrawGameUI = 1; } - - - //----- (0042038D) -------------------------------------------------------- void __cdecl sub_42038D() { @@ -574,7 +545,6 @@ } } - //----- (00420C05) -------------------------------------------------------- void __fastcall party_finds_gold(unsigned int uNumGold, int _1_dont_share_with_followers___2_the_same_but_without_a_message__else_normal) { @@ -731,8 +701,6 @@ } } - - //----- (004219BE) -------------------------------------------------------- GUIWindow *stru277::sub_4219BE() { @@ -770,7 +738,6 @@ return v2; } - //----- (00421B2C) -------------------------------------------------------- bool __cdecl sub_421B2C_PlaceInInventory_or_DropPickedItem() { @@ -866,7 +833,6 @@ return 1; } - //----- (00421D00) -------------------------------------------------------- void __fastcall GameUI_OnPlayerPortraitLeftClick(unsigned int uPlayerID) { @@ -1635,8 +1601,6 @@ uGameUIFontShadow = GenerateColorAsCloseAsPossibleToR8G8B8InTargetFormat(v5, v4, v6); } - - //----- (00423AEE) -------------------------------------------------------- void __cdecl reset_some_strus_flt_2Cs() { @@ -2458,7 +2422,6 @@ return result;*/ } - //----- (00424829) -------------------------------------------------------- bool sub_424829(int a1, BspRenderer_stru2 *a2, BspRenderer_stru2 *a3, int a4) {