comparison mm7_data.h @ 1026:6afa77761a00

Слияние
author Ritor1
date Tue, 21 May 2013 12:43:08 +0600
parents 67e33708d815
children c94d6a37d298
comparison
equal deleted inserted replaced
1025:8b492d4722d4 1026:6afa77761a00
1 #pragma once 1 #pragma once
2 #include <string> 2 #include <string>
3 #include "VectorTypes.h"
3 #include "OSAPI.h" 4 #include "OSAPI.h"
4 #include "SpriteObject.h"
5 #include "VectorTypes.h"
6 5
7 typedef char _UNKNOWN; 6 typedef char _UNKNOWN;
8 7
9 8
10 typedef unsigned int uint; 9 typedef unsigned int uint;
339 extern char aUnableToLoadS[]; // idb 338 extern char aUnableToLoadS[]; // idb
340 extern char aBitmaps[]; // idb 339 extern char aBitmaps[]; // idb
341 extern char aIcons[]; // idb 340 extern char aIcons[]; // idb
342 extern char aPending[]; // idb 341 extern char aPending[]; // idb
343 extern char aCanTFindS[]; // idb 342 extern char aCanTFindS[]; // idb
344 extern char pDayMoonPhase[28];
345 extern int paperdoll_Weapon[4][16][2]; 343 extern int paperdoll_Weapon[4][16][2];
346 extern char *spellbook_texture_filename_suffices[]; // weak 344 extern char *spellbook_texture_filename_suffices[]; // weak
347 extern __int16 word_4E1D3A[]; // weak 345 extern __int16 word_4E1D3A[]; // weak
348 extern __int16 pTownPortalBook_xs[6]; 346 extern __int16 pTownPortalBook_xs[6];
349 extern __int16 pTownPortalBook_ys[6]; 347 extern __int16 pTownPortalBook_ys[6];
442 extern int pWeaponSkills[9]; 440 extern int pWeaponSkills[9];
443 extern int pMiscSkills[12]; 441 extern int pMiscSkills[12];
444 extern int pMagicSkills[9]; 442 extern int pMagicSkills[9];
445 extern unsigned int pHealthBarPos[4]; 443 extern unsigned int pHealthBarPos[4];
446 extern unsigned int pManaBarPos[4]; 444 extern unsigned int pManaBarPos[4];
447 extern char _4E2AD8_ui_colors[72];
448 extern char _4E2B21_buff_spell_tooltip_colors[80]; 445 extern char _4E2B21_buff_spell_tooltip_colors[80];
449 extern char monster_popup_y_offsets[]; // weak 446 extern char monster_popup_y_offsets[]; // weak
450 extern unsigned char hourglass_icon_idx; // weak 447 extern unsigned char hourglass_icon_idx; // weak
451 448
452 449
1032 extern int dword_50C9D0; // weak 1029 extern int dword_50C9D0; // weak
1033 extern int dword_50C9D4; // weak 1030 extern int dword_50C9D4; // weak
1034 extern int dword_50C9D8; // weak 1031 extern int dword_50C9D8; // weak
1035 extern int dword_50C9DC; // weak 1032 extern int dword_50C9DC; // weak
1036 extern struct NPCData *ptr_50C9E0; 1033 extern struct NPCData *ptr_50C9E0;
1037 extern int dword_50C9E8; // idb 1034 //extern int dword_50C9E8; // idb
1038 extern int dword_50C9EC[]; // 50C9EC 1035 //extern int dword_50C9EC[]; // 50C9EC
1039 extern int dword_50CDC8; 1036 extern int dword_50CDC8;
1040 extern int dword_50CDCC; // weak 1037 extern int dword_50CDCC; // weak
1041 extern int bProcessorIsNotIntel; // weak 1038 extern int bProcessorIsNotIntel; // weak
1042 extern Vec3_int_ layingitem_vel_50FDFC; 1039 extern Vec3_int_ layingitem_vel_50FDFC;
1043 extern char pStartingMapName[]; // idb 1040 extern char pStartingMapName[]; // idb
1521 void __fastcall am_40BF77(int a1, unsigned int uCardID); // idb 1518 void __fastcall am_40BF77(int a1, unsigned int uCardID); // idb
1522 int __fastcall am_40D2B4(struct Vec2_int_ *, int); // weak 1519 int __fastcall am_40D2B4(struct Vec2_int_ *, int); // weak
1523 int __fastcall am_40D402(int, int); // weak 1520 int __fastcall am_40D402(int, int); // weak
1524 int __cdecl am_40D444(); 1521 int __cdecl am_40D444();
1525 void ModalWindow(const char *pStr, int a4); 1522 void ModalWindow(const char *pStr, int a4);
1526 char __fastcall pPrimaryWindow_draws_text(int a1, const char *pText, int *pXY); 1523 void pPrimaryWindow_draws_text(int a1, const char *pText, int *pXY);
1527 void __thiscall am_BeginScene(unsigned __int16 *pPcxPixels, int a2, int a3); // idb 1524 void __thiscall am_BeginScene(unsigned __int16 *pPcxPixels, int a2, int a3); // idb
1528 void __fastcall Blt_Chroma(struct ArcomageRect *pSrcXYZW, int *pTargetXY, int a3, int a4); 1525 void __fastcall Blt_Chroma(struct ArcomageRect *pSrcXYZW, int *pTargetXY, int a3, int a4);
1529 void __fastcall Blt_Copy(struct ArcomageRect *pSrcXYZW, int *pTargetXY, int a3); 1526 void __fastcall Blt_Copy(struct ArcomageRect *pSrcXYZW, int *pTargetXY, int a3);
1530 void __cdecl am_EndScene(); 1527 void __cdecl am_EndScene();
1531 void __fastcall DrawRect(struct Vec4_int_ *pXYZW, unsigned __int16 uColor, char bSolidFill); // idb 1528 void __fastcall DrawRect(struct Vec4_int_ *pXYZW, unsigned __int16 uColor, char bSolidFill); // idb
1544 __int16 __fastcall sub_40F845(int a1, int a2, int a3, int a4, int a5, __int16 a6, int a7); 1541 __int16 __fastcall sub_40F845(int a1, int a2, int a3, int a4, int a5, __int16 a6, int a7);
1545 void __fastcall ZBuffer_DoFill(int *pZBuffer, Texture *pTex, int uZValue); 1542 void __fastcall ZBuffer_DoFill(int *pZBuffer, Texture *pTex, int uZValue);
1546 void __fastcall sub_40F92A(int *pZBuffer, struct Texture *a2, int a3); // idb 1543 void __fastcall sub_40F92A(int *pZBuffer, struct Texture *a2, int a3); // idb
1547 void __cdecl SetMoonPhaseNames(); 1544 void __cdecl SetMoonPhaseNames();
1548 signed int __fastcall sub_410D99_get_map_index(int a1); 1545 signed int __fastcall sub_410D99_get_map_index(int a1);
1549 struct GUIWindow *__cdecl sub_41140B();
1550 void __cdecl sub_411473();
1551 void __fastcall LoadThumbnailLloydTexture(unsigned int uSlot, unsigned int uPlayer); 1546 void __fastcall LoadThumbnailLloydTexture(unsigned int uSlot, unsigned int uPlayer);
1552 void sub_412AF9();
1553 char *GetDayPart();
1554 void SetAttributeNames(); 1547 void SetAttributeNames();
1555 void uGameUIFontMain_initialize(); 1548 void uGameUIFontMain_initialize();
1556 void uGameUIFontShadow_initialize(); 1549 void uGameUIFontShadow_initialize();
1557 void sub_41420D_press_esc(); 1550 void sub_41420D_press_esc();
1558 void sub_41426F(); 1551 void sub_41426F();
1559 char GameMenuUI_DrawKeyBindings(); 1552 void GameMenuUI_DrawKeyBindings();
1560 unsigned int __thiscall sub_414D24(int _this); 1553 unsigned int __thiscall sub_414D24(int _this);
1561 void GameMenuUI_DrawVideoOptions(); 1554 void GameMenuUI_DrawVideoOptions();
1562 void DrawGameOptions(); 1555 void DrawGameOptions();
1563 void __fastcall DrawPopupWindow(unsigned int uX, unsigned int uY, unsigned int uWidth, unsigned int uHeight); // idb 1556 void __fastcall DrawPopupWindow(unsigned int uX, unsigned int uY, unsigned int uWidth, unsigned int uHeight); // idb
1564 void DrawCopyrightWindow(); 1557 void DrawCopyrightWindow();
1571 void __thiscall sub_417871(int *pXY); 1564 void __thiscall sub_417871(int *pXY);
1572 void sub_4178C4(); 1565 void sub_4178C4();
1573 void sub_4178E1(); 1566 void sub_4178E1();
1574 unsigned int __fastcall UI_GetHealthManaStringColor(signed int a1, signed int a2); 1567 unsigned int __fastcall UI_GetHealthManaStringColor(signed int a1, signed int a2);
1575 signed int __thiscall GetConditionDrawColor(unsigned int uConditionIdx); // idb 1568 signed int __thiscall GetConditionDrawColor(unsigned int uConditionIdx); // idb
1576 char __fastcall sub_4179BC_draw_tooltip(const char *a1, const char *a2); // idb 1569 void __fastcall sub_4179BC_draw_tooltip(const char *a1, const char *a2); // idb
1577 void FillAwardsData(); 1570 void FillAwardsData();
1578 void sub_419220(); 1571 void sub_419220();
1579 void sub_419379(); 1572 void sub_419379();
1580 unsigned int __fastcall GetSizeInInventorySlots(unsigned int uNumPixels); 1573 unsigned int __fastcall GetSizeInInventorySlots(unsigned int uNumPixels);
1581 struct GUIButton *__fastcall GUI_HandleHotkey(unsigned __int8 uHotkey); // idb 1574 struct GUIButton *__fastcall GUI_HandleHotkey(unsigned __int8 uHotkey); // idb
1582 int __fastcall GUI_ReplaceHotkey(unsigned __int8 uOldHotkey, unsigned __int8 uNewHotkey, char bFirstCall); 1575 int __fastcall GUI_ReplaceHotkey(unsigned __int8 uOldHotkey, unsigned __int8 uNewHotkey, char bFirstCall);
1583 void __cdecl MainMenuUI_LoadFontsAndSomeStuff(); 1576 void __cdecl MainMenuUI_LoadFontsAndSomeStuff();
1584 void __cdecl MainMenuUI_Create(); 1577 void __cdecl MainMenuUI_Create();
1585 char __fastcall sub_41D20D_buff_remaining_time_string(int ecx0, struct GUIWindow *edx0, __int64 a3, struct GUIFont *a2); 1578 void __fastcall sub_41D20D_buff_remaining_time_string(int ecx0, struct GUIWindow *edx0, __int64 a3, struct GUIFont *a2);
1586 bool UI_OnKeyDown(unsigned int vkKey); 1579 bool UI_OnKeyDown(unsigned int vkKey);
1587 void GameUI_DrawItemInfo(struct ItemGen* inspect_item); // idb 1580 void GameUI_DrawItemInfo(struct ItemGen* inspect_item); // idb
1588 void MonsterPopup_Draw(unsigned int uActorID, struct GUIWindow *edx0); 1581 void MonsterPopup_Draw(unsigned int uActorID, struct GUIWindow *edx0);
1589 void __cdecl nullsub_3(); // idb 1582 void __cdecl nullsub_3(); // idb
1590 void __cdecl LoadActualSkyFrame(); 1583 void __cdecl LoadActualSkyFrame();
1806 enum MENU_STATE GetCurrentMenuID(); 1799 enum MENU_STATE GetCurrentMenuID();
1807 void *__thiscall output_debug_string(void *_this, std::string a2, const char *a3, int a4); 1800 void *__thiscall output_debug_string(void *_this, std::string a2, const char *a3, int a4);
1808 std::string *__fastcall _4678E2_make_error_string(std::string *a1, int line, std::string file); 1801 std::string *__fastcall _4678E2_make_error_string(std::string *a1, int line, std::string file);
1809 int __thiscall sub_467D5D(int _this); 1802 int __thiscall sub_467D5D(int _this);
1810 void __thiscall sub_467E7F_EquipBody(unsigned int uEquipType); // idb 1803 void __thiscall sub_467E7F_EquipBody(unsigned int uEquipType); // idb
1811 void __fastcall sub_467F48(signed int a1); 1804 void CreateMsgScrollWindow(signed int mscroll_id);
1812 void __cdecl free_book_subwindow(); 1805 void __cdecl free_book_subwindow();
1813 char __cdecl CreateScrollWindow(); 1806 void CreateScrollWindow();
1814 void __cdecl OnPaperdollLeftClick(); 1807 void __cdecl OnPaperdollLeftClick();
1815 int __thiscall UnprojectX(int x); 1808 int __thiscall UnprojectX(int x);
1816 int __thiscall UnprojectY(int _this); 1809 int __thiscall UnprojectY(int _this);
1817 void OnPressSpace(); 1810 void OnPressSpace();
1818 char __fastcall DoInteractionWithTopmostZObject(int a1, int a2); 1811 char __fastcall DoInteractionWithTopmostZObject(int a1, int a2);
1983 void __cdecl sub_4B3E1E(); 1976 void __cdecl sub_4B3E1E();
1984 void DrawJoinGuildWindow(int pEventCode); 1977 void DrawJoinGuildWindow(int pEventCode);
1985 void __fastcall sub_4B3FE5(int a4); 1978 void __fastcall sub_4B3FE5(int a4);
1986 void NPCHireableDialogPrepare(); 1979 void NPCHireableDialogPrepare();
1987 void _4B4224_UpdateNPCTopics(int _this); 1980 void _4B4224_UpdateNPCTopics(int _this);
1988 char __fastcall DrawTextAtStatusBar(const char *Str, int a5); 1981 void __fastcall DrawTextAtStatusBar(const char *Str, int a5);
1989 int __fastcall sub_4B46F8(int a1); 1982 int __fastcall sub_4B46F8(int a1);
1990 1983
1991 signed int __fastcall sub_4BB756(signed int a1); 1984 signed int __fastcall sub_4BB756(signed int a1);
1992 const char *sub_4BBA85_bounties(); 1985 const char *sub_4BBA85_bounties();
1993 void __cdecl sub_4BBCDD(); 1986 void __cdecl sub_4BBCDD();