Mercurial > mm7
comparison mm7_data.h @ 1393:28f87f5234a1
More hardcoded UI colors moved to varibables.
author | Nomad |
---|---|
date | Thu, 18 Jul 2013 16:11:57 +0200 |
parents | cc9a3a24d61d |
children | e6908823897f |
comparison
equal
deleted
inserted
replaced
1392:e3e9c0467529 | 1393:28f87f5234a1 |
---|---|
1088 unsigned int __fastcall SearchActorByMonsterID(unsigned int *pTotalActors, int uMonsterID); | 1088 unsigned int __fastcall SearchActorByMonsterID(unsigned int *pTotalActors, int uMonsterID); |
1089 unsigned int __fastcall SearchActorByGroup(unsigned int *pTotalActors, unsigned int uGroup); | 1089 unsigned int __fastcall SearchActorByGroup(unsigned int *pTotalActors, unsigned int uGroup); |
1090 unsigned int __fastcall SearchActorByID(unsigned int *pTotalActors, unsigned int a2); | 1090 unsigned int __fastcall SearchActorByID(unsigned int *pTotalActors, unsigned int a2); |
1091 void PrepareArcomage(); | 1091 void PrepareArcomage(); |
1092 | 1092 |
1093 // int __cdecl crt_retnull_sub(); | |
1094 unsigned int __stdcall R8G8B8_to_TargetFormat(int uColor); // idb | |
1095 unsigned short TargetColor(unsigned __int16 r, unsigned __int16 g, unsigned __int16 b); // idb | 1093 unsigned short TargetColor(unsigned __int16 r, unsigned __int16 g, unsigned __int16 b); // idb |
1096 void __cdecl CallRenderPresent(); | 1094 void __cdecl CallRenderPresent(); |
1097 void __thiscall DoBlt_Copy(unsigned __int16 *pPixels); // idb | 1095 void __thiscall DoBlt_Copy(unsigned __int16 *pPixels); // idb |
1098 int __stdcall retzero_sub_40DFA7(int); // weak | 1096 int __stdcall retzero_sub_40DFA7(int); // weak |
1099 int loc_40E4FC(); // weak | 1097 int loc_40E4FC(); // weak |
1117 void __thiscall sub_416D62_ShowPopupWindow_MonsterRecord_ItemInfo_etcsub_416D62(struct Vec2_int_ *_this); | 1115 void __thiscall sub_416D62_ShowPopupWindow_MonsterRecord_ItemInfo_etcsub_416D62(struct Vec2_int_ *_this); |
1118 void UI_OnMouseLeftClick(int *pXY); // idb | 1116 void UI_OnMouseLeftClick(int *pXY); // idb |
1119 void __thiscall sub_417871(int *pXY); | 1117 void __thiscall sub_417871(int *pXY); |
1120 unsigned int __fastcall UI_GetHealthManaStringColor(signed int a1, signed int a2); | 1118 unsigned int __fastcall UI_GetHealthManaStringColor(signed int a1, signed int a2); |
1121 signed int __thiscall GetConditionDrawColor(unsigned int uConditionIdx); // idb | 1119 signed int __thiscall GetConditionDrawColor(unsigned int uConditionIdx); // idb |
1122 void __fastcall sub_4179BC_draw_tooltip(const char *a1, const char *a2); // idb | |
1123 void FillAwardsData(); | 1120 void FillAwardsData(); |
1124 void sub_419220(); | 1121 void sub_419220(); |
1125 void sub_419379(); | 1122 void sub_419379(); |
1126 unsigned int __fastcall GetSizeInInventorySlots(unsigned int uNumPixels); | 1123 unsigned int __fastcall GetSizeInInventorySlots(unsigned int uNumPixels); |
1127 struct GUIButton *__fastcall GUI_HandleHotkey(unsigned __int8 uHotkey); // idb | 1124 struct GUIButton *__fastcall GUI_HandleHotkey(unsigned __int8 uHotkey); // idb |
1266 unsigned int __fastcall sub_452442(unsigned __int16 a1, unsigned __int16 a2, int a3, int a4); | 1263 unsigned int __fastcall sub_452442(unsigned __int16 a1, unsigned __int16 a2, int a3, int a4); |
1267 int integer_sqrt(int val); | 1264 int integer_sqrt(int val); |
1268 int __fastcall MakeColorMaskFromBitDepth(int a1); | 1265 int __fastcall MakeColorMaskFromBitDepth(int a1); |
1269 void __fastcall fill_pixels_fast(unsigned int a1, unsigned __int16 *pPixels, unsigned int uNumPixels); | 1266 void __fastcall fill_pixels_fast(unsigned int a1, unsigned __int16 *pPixels, unsigned int uNumPixels); |
1270 int __fastcall GetDiceResult(unsigned int uNumDice, unsigned int uDiceSides); // idb | 1267 int __fastcall GetDiceResult(unsigned int uNumDice, unsigned int uDiceSides); // idb |
1271 inline int round(float x) { return (floor(x + 0.5)); } | 1268 inline int round(float x) { return (int)floor(x + 0.5f); } |
1272 inline void __fastcall memset32(void *ptr, unsigned __int32 value, int count) | 1269 inline void __fastcall memset32(void *ptr, unsigned __int32 value, int count) |
1273 { | 1270 { |
1274 auto p = (unsigned __int32 *)ptr; | 1271 auto p = (unsigned __int32 *)ptr; |
1275 for ( int i=0; i < count; i++ ) | 1272 for ( int i=0; i < count; i++ ) |
1276 *p++ = value; | 1273 *p++ = value; |
1438 struct _DIG_DRIVER *Audio_GetFirstHardwareDigitalDriver(void); | 1435 struct _DIG_DRIVER *Audio_GetFirstHardwareDigitalDriver(void); |
1439 void __cdecl PlayLevelMusic(); | 1436 void __cdecl PlayLevelMusic(); |
1440 unsigned int __fastcall sub_4B0E07(unsigned int uFaceID); // idb | 1437 unsigned int __fastcall sub_4B0E07(unsigned int uFaceID); // idb |
1441 struct Player *__fastcall sub_4B1447_party_fine(int a1, int a2, int a3); | 1438 struct Player *__fastcall sub_4B1447_party_fine(int a1, int a2, int a3); |
1442 void __thiscall sub_4B1523(int *_this); | 1439 void __thiscall sub_4B1523(int *_this); |
1443 bool __cdecl sub_4B1784_check_if_player_concious__draw_warning_else_mess_with_dlg_win(); | |
1444 void __cdecl ShowPopupShopItem(); | 1440 void __cdecl ShowPopupShopItem(); |
1445 void __stdcall RestAndHeal(__int64 uNumMinutes); // idb | 1441 void __stdcall RestAndHeal(__int64 uNumMinutes); // idb |
1446 void __cdecl sub_4B1D27(); | 1442 void __cdecl sub_4B1D27(); |
1447 | 1443 |
1448 void __cdecl sub_4B1ECE(); | 1444 void __cdecl sub_4B1ECE(); |