Mercurial > mm7
comparison mm7_data.h @ 1458:934074e7fcc1
ModalWindow
__thiscall and __cdecl removed
Some random renames & refactors
author | Nomad |
---|---|
date | Wed, 21 Aug 2013 14:26:36 +0200 |
parents | bfe342ae0c1f |
children | 2ca62c9e7b3c |
comparison
equal
deleted
inserted
replaced
1457:9dc33590f93e | 1458:934074e7fcc1 |
---|---|
568 extern int dword_50698C_uX; // weak | 568 extern int dword_50698C_uX; // weak |
569 extern int uGameMenuUI_CurentlySelectedKeyIdx; // 506E68 | 569 extern int uGameMenuUI_CurentlySelectedKeyIdx; // 506E68 |
570 extern std::array<bool, 28> GameMenuUI_InvaligKeyBindingsFlags; // 506E6C | 570 extern std::array<bool, 28> GameMenuUI_InvaligKeyBindingsFlags; // 506E6C |
571 extern std::array<unsigned int, 27> pPrevVirtualCidesMapping; | 571 extern std::array<unsigned int, 27> pPrevVirtualCidesMapping; |
572 extern int KeyboardPageNum; // weak | 572 extern int KeyboardPageNum; // weak |
573 extern std::array<int, 777> dword_506F0C; // idb | |
574 extern int uRestUI_FoodRequiredToRest; | 573 extern int uRestUI_FoodRequiredToRest; |
575 extern int dword_506F14; // weak | 574 extern int dword_506F14; // weak |
576 extern int _506F18_num_minutes_to_sleep; // weak | 575 extern int _506F18_num_minutes_to_sleep; // weak |
577 extern int dword_506F1C; // weak | 576 extern int dword_506F1C; // weak |
578 extern std::array<int, 20> pVisibleWindowsIdxs; // weak | 577 extern std::array<int, 20> pVisibleWindowsIdxs; // weak |
601 extern std::array<char *, 7> aAttributeNames; | 600 extern std::array<char *, 7> aAttributeNames; |
602 extern int dword_507B94; // weak | 601 extern int dword_507B94; // weak |
603 extern int dword_507B98_ctrl_pressed; // weak | 602 extern int dword_507B98_ctrl_pressed; // weak |
604 extern unsigned int uActiveCharacter; | 603 extern unsigned int uActiveCharacter; |
605 extern int dword_507BF0_is_there_popup_onscreen; // weak | 604 extern int dword_507BF0_is_there_popup_onscreen; // weak |
606 extern int dword_507CBC; // weak | 605 extern int awards_scroll_bar_created; // weak |
607 extern int dword_507CC0_activ_ch; // weak | 606 extern int dword_507CC0_activ_ch; // weak |
608 extern __int64 GameUI_RightPanel_BookFlashTimer; // weak | 607 extern __int64 GameUI_RightPanel_BookFlashTimer; // weak |
609 extern int _507CD4_RestUI_hourglass_anim_controller; // weak | 608 extern int _507CD4_RestUI_hourglass_anim_controller; // weak |
610 extern bool OpenedTelekinesis; // weak | 609 extern bool OpenedTelekinesis; // weak |
611 extern std::array<int, 50> dword_50B570; // weak | 610 extern std::array<int, 50> dword_50B570; // weak |
1041 extern int dword_F93F20; // weak | 1040 extern int dword_F93F20; // weak |
1042 extern int dword_F93F70; // weak | 1041 extern int dword_F93F70; // weak |
1043 | 1042 |
1044 extern volatile bool initing; //ADDED | 1043 extern volatile bool initing; //ADDED |
1045 | 1044 |
1046 //extern int crt_F94004; // weak | |
1047 //extern int crtdword_F9400C; // weak | |
1048 extern FARPROC lpfn; // idb | |
1049 //extern int crt_F944EC; // weak | |
1050 //extern int crtdword_F944F0; // weak | |
1051 //extern void *crt_F944F4; // idb | |
1052 //extern int crtdword_F944F8; // weak | |
1053 //extern LPVOID crt_lpMem; // idb | |
1054 //extern int crt_F94500; // weak | |
1055 //extern HANDLE crt_hHeap; // idb | |
1056 //extern int crt_F94508; // weak | |
1057 | |
1058 | 1045 |
1059 | 1046 |
1060 | 1047 |
1061 | 1048 |
1062 | 1049 |
1069 | 1056 |
1070 | 1057 |
1071 //------------------------------------------------------------------------- | 1058 //------------------------------------------------------------------------- |
1072 // Function declarations | 1059 // Function declarations |
1073 | 1060 |
1074 #define __thiscall __cdecl // Test compile in C mode | 1061 void sub_4452BB(); |
1075 | |
1076 void __stdcall mm7__vector_constructor(void *a1, int objSize, int numObjs, int (__thiscall *constructor)(int)); | |
1077 void MakeActorAIList_ODM(); | |
1078 int __cdecl MakeActorAIList_BLV(); | |
1079 void __cdecl UpdateActorAI(); | |
1080 bool __fastcall sub_4070EF_prolly_collide_objects(unsigned int uObjID, unsigned int uObj2ID); | |
1081 bool __fastcall sub_4075DB(int a1, int a2, int a3, struct BLVFace *a4); | |
1082 bool __fastcall sub_4077F1(int a1, int a2, int a3, struct ODMFace *a4, struct BSPVertexBuffer *a5); | |
1083 bool __fastcall sub_407A1C(int x, int z, int y, struct Vec3_int_ v); // idb | |
1084 void InitializeActors(); | |
1085 void InitializeSpriteObjects(); | |
1086 int __fastcall sub_4088E9(int a1, int a2, int a3, int a4, int a5, int a6); | |
1087 unsigned int __thiscall SearchAliveActors(unsigned int *pTotalActors); | |
1088 unsigned int __fastcall SearchActorByMonsterID(unsigned int *pTotalActors, int uMonsterID); | |
1089 unsigned int __fastcall SearchActorByGroup(unsigned int *pTotalActors, unsigned int uGroup); | |
1090 unsigned int __fastcall SearchActorByID(unsigned int *pTotalActors, unsigned int a2); | |
1091 void PrepareArcomage(); | |
1092 | |
1093 unsigned short TargetColor(unsigned __int16 r, unsigned __int16 g, unsigned __int16 b); // idb | |
1094 void __cdecl CallRenderPresent(); | |
1095 void __thiscall DoBlt_Copy(unsigned __int16 *pPixels); // idb | |
1096 int __stdcall retzero_sub_40DFA7(int); // weak | |
1097 int loc_40E4FC(); // weak | |
1098 void __fastcall ZBuffer_Fill(int *pZBuffer, int uTextureId, int iZValue); | |
1099 | |
1100 void __fastcall ZBuffer_DoFill(int *pZBuffer, struct Texture *pTex, int uZValue); | |
1101 void __fastcall sub_40F92A(int *pZBuffer, struct Texture *a2, int a3); // idb | |
1102 void __cdecl SetMoonPhaseNames(); | |
1103 signed int __fastcall sub_410D99_get_map_index(int a1); | |
1104 void __fastcall LoadThumbnailLloydTexture(unsigned int uSlot, unsigned int uPlayer); | |
1105 void SetAttributeNames(); | |
1106 void uGameUIFontMain_initialize(); | |
1107 void uGameUIFontShadow_initialize(); | |
1108 void sub_41420D_press_esc(); | |
1109 void sub_41426F(); | |
1110 void __fastcall DrawPopupWindow(unsigned int uX, unsigned int uY, unsigned int uWidth, unsigned int uHeight); // idb | |
1111 void DrawCopyrightWindow(); | |
1112 void LoadFonts_and_DrawCopyrightWindow(); | |
1113 void GUI_UpdateWindows(); | |
1114 void identify_item(); | |
1115 void __thiscall sub_416D62_ShowPopupWindow_MonsterRecord_ItemInfo_etcsub_416D62(struct Vec2_int_ *_this); | |
1116 void UI_OnMouseLeftClick(int *pXY); // idb | |
1117 void __thiscall sub_417871(int *pXY); | |
1118 unsigned int __fastcall UI_GetHealthManaStringColor(signed int a1, signed int a2); | |
1119 signed int __thiscall GetConditionDrawColor(unsigned int uConditionIdx); // idb | |
1120 void FillAwardsData(); | |
1121 void CreateAwardsScrollBar(); | |
1122 void sub_419379(); | |
1123 unsigned int __fastcall GetSizeInInventorySlots(unsigned int uNumPixels); | |
1124 struct GUIButton *__fastcall GUI_HandleHotkey(unsigned __int8 uHotkey); // idb | |
1125 int __fastcall GUI_ReplaceHotkey(unsigned __int8 uOldHotkey, unsigned __int8 uNewHotkey, char bFirstCall); | |
1126 void __fastcall sub_41D20D_buff_remaining_time_string(int ecx0, struct GUIWindow *edx0, __int64 a3, struct GUIFont *a2); | |
1127 bool UI_OnKeyDown(unsigned int vkKey); | |
1128 void GameUI_DrawItemInfo(struct ItemGen* inspect_item); // idb | |
1129 void MonsterPopup_Draw(unsigned int uActorID, struct GUIWindow *edx0); | |
1130 void __cdecl nullsub_3(); // idb | |
1131 void __cdecl LoadActualSkyFrame(); | |
1132 void __cdecl Sleep6Hours(); | |
1133 void __cdecl ChestUI_WritePointedObjectStatusString(); | |
1134 | |
1135 void __fastcall party_finds_gold(unsigned int uNumGold, int _1_dont_share_with_followers___2_the_same_but_without_a_message__else_normal); // idb | |
1136 void OnChestLeftClick(); | |
1137 void __cdecl GameUI_WritePointedObjectStatusString(); | |
1138 //struct GUIWindow *__thiscall GetCastSpellInInventoryWindow(void *a4); | |
1139 bool __cdecl sub_421B2C_PlaceInInventory_or_DropPickedItem(); | |
1140 void __fastcall GameUI_OnPlayerPortraitLeftClick(unsigned int uPlayerID); // idb | |
1141 void OnInventoryLeftClick(); | |
1142 void OnGameViewportClick(); | |
1143 bool PauseGameDrawing(); | |
1144 void SetUserInterface(enum PartyAlignment alignment, bool bReplace); | |
1145 void __cdecl reset_some_strus_flt_2Cs(); | |
1146 int __fastcall GetPortalScreenCoord(unsigned int uFaceID); | |
1147 signed int __fastcall sr_424579(int uFaceID, struct stru320 *a2); | |
1148 bool PortalFrustrum(int pNumVertices, struct BspRenderer_PortalViewportData *a2, struct BspRenderer_PortalViewportData *near_portal, int uFaceID); | |
1149 int sr_424CD7(unsigned int uVertexID); // idb | |
1150 signed int __fastcall sr_424EE0_MakeFanFromTriangle(unsigned int uVertexID); // idb | |
1151 signed int __fastcall sr_4250FE(unsigned int uVertexID); // idb | |
1152 bool sr_42620A(struct RenderVertexSoft *p); | |
1153 int __fastcall _4268E3_smthn_to_a1r5g5b5(unsigned int uColor); // idb | |
1154 int __fastcall _42690D_colors_cvt(unsigned int a1); | |
1155 void __cdecl sub_426947(); | |
1156 void __fastcall GivePartyExp(unsigned int pEXPNum); | |
1157 bool __fastcall sub_427769_spell(unsigned int uSpellID); | |
1158 void _42777D_CastSpell_UseWand_ShootArrow(int a1, unsigned int uPlayerID, unsigned int a4, __int16 a5, int a6); | |
1159 int __fastcall sub_42EBBE(int, int); // weak | |
1160 void _42ECB5_PlayerAttacksActor(); | |
1161 void __thiscall InitializeTurnBasedAnimations(void *); | |
1162 signed int __cdecl sub_42F4DA(); | |
1163 bool __fastcall sub_42F7EB_DropItemAt(unsigned int uSpriteID, int x, int y, int z, int a4, int count, int a7, unsigned __int16 attributes, ItemGen *a9); | |
1164 void __fastcall sub_42F960_create_object(int x, int y, int z); // idb | |
1165 void CompactLayingItemsList(); | |
1166 signed int __fastcall _42FA66_do_explosive_impact(int a1, int a2, int a3, int a4, __int16 a5, signed int a6); | |
1167 bool __fastcall sub_42FB5C(signed int a1); | |
1168 // int __cdecl crt_sub_42FBB7(); | |
1169 // void __cdecl crt_construct_50CDB4(); | |
1170 void __cdecl sub_42FBDD(); | |
1171 void __cdecl CloseWindowBackground(); | |
1172 void __cdecl ProcessInputActions(); | |
1173 void __cdecl GameUI_MsgProc(); | |
1174 void __cdecl back_to_game(); | |
1175 void __cdecl GUI_MainMenuMessageProc(); | |
1176 double __cdecl get_shading_dist_mist(); | |
1177 void Vec3_short__to_RenderVertexSoft(struct RenderVertexSoft *_this, struct Vec3_short_ *a2); | |
1178 void __cdecl nullsub_4(); // idb | |
1179 void __cdecl nullsub_5(); // idb | |
1180 void __cdecl nullsub_6(); // idb | |
1181 void __cdecl area_of_effect__damage_evaluate(); | |
1182 void __fastcall DamagePlayerFromMonster(unsigned int uObjID, int a2, struct Vec3_int_ *pPos, unsigned int a4); | |
1183 void __fastcall sub_43A97E(unsigned int uLayingItemID, signed int a2); // idb | |
1184 double __fastcall sub_43AE12(signed int a1); | |
1185 int __fastcall _43AFE3_calc_spell_damage(int a1, int a2, signed int a3, int a4); | |
1186 void __fastcall sub_43B057(unsigned int uObjID, unsigned int uActorID, struct Vec3_int_ *pVelocity); | |
1187 void sub_43B1B0(signed int a1, unsigned int a2, struct Vec3_int_ *pVelocity, signed int a4); | |
1188 int __stdcall DirectInputKeyboard_enumerator_43B9B9(int, int); // weak | |
1189 void Software_ResetNewEdges(); | |
1190 // int __cdecl crt_deconstruct_43B9E3(); | |
1191 int __stdcall DirectInputMouse_enumerator(int, int); // weak | |
1192 void CharacterUI_LoadPaperdollTextures(); | |
1193 int __fastcall GetItemTextureFilename(char *pOut, signed int item_id, int index, int shoulder); | |
1194 bool _43ED6F_check_party_races(bool b); | |
1195 bool __thiscall sub_43EDB9_get_some_race_sex_relation_2(unsigned int _this); | |
1196 bool __fastcall Player_has_item(unsigned int uItemID, struct Player *pPlayer, char a3); | |
1197 bool __fastcall sub_43EE77_ProbablyIfUnderwaterSuitIsEquipped(signed int a1); | |
1198 void WetsuitOn(unsigned int uPlayerID); // idb | |
1199 void WetsuitOff(unsigned int uPlayerID); | |
1200 void __fastcall PrepareDrawLists_BLV(struct IndoorLocation_drawstru *_this); | |
1201 void __cdecl FindBillboardsLightLevels_BLV(); | |
1202 int __fastcall _43F55F_get_billboard_light_level(struct RenderBillboard *a1, int uBaseLightLevel); | |
1203 int __fastcall _43F5C8_get_point_light_level_with_respect_to_lights(unsigned int uBaseLightLevel, int uSectorID, float x, float y, float z); | |
1204 void PrepareBspRenderList_BLV(); | |
1205 void __fastcall PrepareDecorationsRenderList_BLV(unsigned int uDecorationID, unsigned int uSectorID); | |
1206 void PrepareActorRenderList_BLV(); | |
1207 void PrepareItemsRenderList_BLV(); | |
1208 void AddBspNodeToRenderList(unsigned int node_id); | |
1209 void __fastcall sub_4406BC(unsigned int node_id, unsigned int uFirstNode); // idb | |
1210 void __fastcall sub_440BED(struct IndoorLocation_drawstru *_this); | |
1211 bool sub_44100D(); | |
1212 __int16 __fastcall sub_441A4E(int a1); | |
1213 void DrawBook_Map_sub(unsigned int tl_x, unsigned int tl_y, unsigned int br_x, int br_y, int _48074); // idb | |
1214 void Initialize2DA(); | |
1215 | |
1216 void LoadLevel_InitializeLevelStr(); | |
1217 | |
1218 void __cdecl OnMapLeave(); | |
1219 void /*__usercall*/ OnMapLoad(); | |
1220 void Level_LoadEvtAndStr(const char *pLevelName); | |
1221 const char *__cdecl sub_444564(); | |
1222 char *__thiscall GetEventHintString(unsigned int uEventID); // idb | |
1223 int GetTravelTime(); | |
1224 void __fastcall sub_4451A8_press_any_key(int a1, int a2, int a4); | |
1225 void __cdecl sub_4452BB(); | |
1226 const char *GetProfessionActionText(int a1); | 1062 const char *GetProfessionActionText(int a1); |
1227 struct NPCData *__fastcall GetNPCData(signed int npcid); | 1063 struct NPCData *__fastcall GetNPCData(signed int npcid); |
1228 struct NPCData * GetNewNPCData(signed int npcid, int* npc_indx); | 1064 struct NPCData * GetNewNPCData(signed int npcid, int* npc_indx); |
1229 int __fastcall GetGreetType(signed int SpeakingNPC_ID); | 1065 int __fastcall GetGreetType(signed int SpeakingNPC_ID); |
1230 void __cdecl DialogueEnding(); | 1066 void DialogueEnding(); |
1231 void PrepareHouse(enum HOUSE_ID house); // idb | 1067 void PrepareHouse(enum HOUSE_ID house); // idb |
1232 bool EnterHouse(enum HOUSE_ID uHouseID); | 1068 bool EnterHouse(enum HOUSE_ID uHouseID); |
1233 int sub_4465DF_check_season(int a1); | 1069 int sub_4465DF_check_season(int a1); |
1234 int __fastcall IsActorAlive(unsigned int uType, unsigned int uParam, unsigned int uNumAlive); // idb | 1070 int __fastcall IsActorAlive(unsigned int uType, unsigned int uParam, unsigned int uNumAlive); // idb |
1235 // void __cdecl crt_construct_5773C4(); | 1071 // void crt_construct_5773C4(); |
1236 int NPC_EventProcessor(int npc_event_id, int entry_line = 0); | 1072 int NPC_EventProcessor(int npc_event_id, int entry_line = 0); |
1237 | 1073 |
1238 void __fastcall sub_448518_npc_set_item(int npc, unsigned int item, int a3); | 1074 void __fastcall sub_448518_npc_set_item(int npc, unsigned int item, int a3); |
1239 void __fastcall sub_44861E_set_texture(unsigned int uFaceCog, const char *pFilename); | 1075 void __fastcall sub_44861E_set_texture(unsigned int uFaceCog, const char *pFilename); |
1240 void __fastcall SetDecorationSprite(unsigned int uCog, int a2, const char *pFileName); // idb | 1076 void __fastcall SetDecorationSprite(unsigned int uCog, int a2, const char *pFileName); // idb |
1241 void __fastcall sub_44892E_set_faces_bit(int sCogNumber, int bit, int on); | 1077 void __fastcall sub_44892E_set_faces_bit(int sCogNumber, int bit, int on); |
1242 void __fastcall ToggleActorGroupFlag(unsigned int uGroupID, unsigned int uFlag, unsigned int bToggle); | 1078 void __fastcall ToggleActorGroupFlag(unsigned int uGroupID, unsigned int uFlag, unsigned int bToggle); |
1243 void __thiscall GameUI_StatusBar_UpdateTimedString(unsigned int bForceHide); // idb | 1079 void GameUI_StatusBar_UpdateTimedString(unsigned int bForceHide); // idb |
1244 void OnTimer(int); | 1080 void OnTimer(int); |
1245 void __fastcall sub_448CF4_spawn_monsters(__int16 typeindex, __int16 level, int count, int x, int y, int z, int group, unsigned int uUniqueName); | 1081 void __fastcall sub_448CF4_spawn_monsters(__int16 typeindex, __int16 level, int count, int x, int y, int z, int group, unsigned int uUniqueName); |
1246 void __fastcall EventCastSpell(int spellnum, int uSkillLevel, int uSkill, int fromx, int fromy, int fromz, int tox, int toy, int toz);//sub_448DF8 | 1082 void __fastcall EventCastSpell(int spellnum, int uSkillLevel, int uSkill, int fromx, int fromy, int fromz, int tox, int toy, int toz);//sub_448DF8 |
1247 __int16 __fastcall sub_449A49_door_switch_animation(unsigned int uDoorID, int a2); // idb | 1083 __int16 __fastcall sub_449A49_door_switch_animation(unsigned int uDoorID, int a2); // idb |
1248 bool _449B57_test_bit(unsigned __int8 *a1, __int16 a2); | 1084 bool _449B57_test_bit(unsigned __int8 *a1, __int16 a2); |
1249 void _449B7E_toggle_bit(unsigned char *pArray, __int16 a2, unsigned __int16 bToggle); // idb | 1085 void _449B7E_toggle_bit(unsigned char *pArray, __int16 a2, unsigned __int16 bToggle); // idb |
1250 void ShowStatusBarString(const char *pString, unsigned int uNumSeconds); | 1086 void ShowStatusBarString(const char *pString, unsigned int uNumSeconds); |
1251 void __cdecl ShowNothingHereStatus(); | 1087 void ShowNothingHereStatus(); |
1252 signed int __cdecl const_2(); | 1088 signed int const_2(); |
1253 bool __cdecl sub_44C28F_open_nwc_dungeon(); | 1089 bool sub_44C28F_open_nwc_dungeon(); |
1254 // int __cdecl crt_deconstruct_44C42C(); | 1090 // int crt_deconstruct_44C42C(); |
1255 void SpawnEncounter(struct MapInfo *pMapInfo, struct SpawnPointMM7 *spawn, int a3, int a4, int a5); | 1091 void SpawnEncounter(struct MapInfo *pMapInfo, struct SpawnPointMM7 *spawn, int a3, int a4, int a5); |
1256 int __fastcall sub_44FA4C_spawn_light_elemental(int a1, int a2, int a3); | 1092 int __fastcall sub_44FA4C_spawn_light_elemental(int a1, int a2, int a3); |
1257 | 1093 |
1258 signed int __fastcall sub_450521_ProllyDropItemAt(int ecx0, signed int a2, int a3, int a4, int a5, unsigned __int16 a6); | 1094 signed int __fastcall sub_450521_ProllyDropItemAt(int ecx0, signed int a2, int a3, int a4, int a5, unsigned __int16 a6); |
1259 int __fastcall _45063B_spawn_some_monster(struct MapInfo *a1, int a2); | 1095 int __fastcall _45063B_spawn_some_monster(struct MapInfo *a1, int a2); |
1260 void RespawnGlobalDecorations(); | 1096 void RespawnGlobalDecorations(); |
1261 bool __fastcall SpawnActor(unsigned int uMonsterID); | 1097 bool __fastcall SpawnActor(unsigned int uMonsterID); |
1262 int __cdecl GetAlertStatus(); | 1098 int GetAlertStatus(); |
1263 unsigned int __fastcall sub_452442(unsigned __int16 a1, unsigned __int16 a2, int a3, int a4); | 1099 unsigned int __fastcall sub_452442(unsigned __int16 a1, unsigned __int16 a2, int a3, int a4); |
1264 int integer_sqrt(int val); | 1100 int integer_sqrt(int val); |
1265 int __fastcall MakeColorMaskFromBitDepth(int a1); | 1101 int __fastcall MakeColorMaskFromBitDepth(int a1); |
1266 void __fastcall fill_pixels_fast(unsigned int a1, unsigned __int16 *pPixels, unsigned int uNumPixels); | 1102 void __fastcall fill_pixels_fast(unsigned int a1, unsigned __int16 *pPixels, unsigned int uNumPixels); |
1267 int __fastcall GetDiceResult(unsigned int uNumDice, unsigned int uDiceSides); // idb | 1103 int __fastcall GetDiceResult(unsigned int uNumDice, unsigned int uDiceSides); // idb |
1271 auto p = (unsigned __int32 *)ptr; | 1107 auto p = (unsigned __int32 *)ptr; |
1272 for ( int i=0; i < count; i++ ) | 1108 for ( int i=0; i < count; i++ ) |
1273 *p++ = value; | 1109 *p++ = value; |
1274 } | 1110 } |
1275 inline void __fastcall j_memset32(int a2, void *a1, unsigned int a3) {memset32(a1, a2, a3);} | 1111 inline void __fastcall j_memset32(int a2, void *a1, unsigned int a3) {memset32(a1, a2, a3);} |
1276 // int __cdecl crt_452B74(); | 1112 // int crt_452B74(); |
1277 int __cdecl j_SetSomeItemsNames(); | 1113 int j_SetSomeItemsNames(); |
1278 | 1114 |
1279 | 1115 |
1280 int SkillToMastery(unsigned int skill_value); | 1116 int SkillToMastery(unsigned int skill_value); |
1281 unsigned int __fastcall GetSpellColor(signed int a1); | 1117 unsigned int __fastcall GetSpellColor(signed int a1); |
1282 void *__thiscall unknown_vdtor_6(void *_this, bool a2); | 1118 void * unknown_vdtor_6(void *_this, bool a2); |
1283 unsigned short * MakeScreenshot(signed int width, signed int height); | 1119 unsigned short * MakeScreenshot(signed int width, signed int height); |
1284 void __thiscall SaveScreenshot(const char *pFilename); | 1120 void SaveScreenshot(const char *pFilename); |
1285 void __fastcall LoadGame(unsigned int uSlot); // idb | 1121 void __fastcall LoadGame(unsigned int uSlot); // idb |
1286 void SaveGame(bool IsAutoSAve, bool NotSaveWorld); | 1122 void SaveGame(bool IsAutoSAve, bool NotSaveWorld); |
1287 void __fastcall DoSavegame(unsigned int uSlot); // idb | 1123 void __fastcall DoSavegame(unsigned int uSlot); // idb |
1288 void __cdecl TryLoadLevelFromLOD(); | 1124 void TryLoadLevelFromLOD(); |
1289 void __cdecl sub_46080D(); | 1125 void sub_46080D(); |
1290 bool __cdecl Initialize_GamesLOD_NewLOD(); | 1126 bool Initialize_GamesLOD_NewLOD(); |
1291 void SaveNewGame(); | 1127 void SaveNewGame(); |
1292 void __thiscall PrepareToLoadBLV(unsigned int bLoading); | 1128 void PrepareToLoadBLV(unsigned int bLoading); |
1293 void __fastcall PrepareToLoadODM(unsigned int bLoading, struct OutdoorCamera *a2); | 1129 void __fastcall PrepareToLoadODM(unsigned int bLoading, struct OutdoorCamera *a2); |
1294 void __cdecl sub_461103(); | 1130 void sub_461103(); |
1295 int __cdecl sub_4613C4(); | 1131 int sub_4613C4(); |
1296 int int_get_vector_length(signed int x, signed int y, signed int z); | 1132 int int_get_vector_length(signed int x, signed int y, signed int z); |
1297 int __cdecl sub_46224A(); | 1133 int sub_46224A(); |
1298 int __cdecl crt_init_globals_462620(); | 1134 void MainMenu_Loop(); |
1299 void __cdecl crt_init_globals_462659(); | 1135 char sub_4637E0_is_there_popup_onscreen(); |
1300 void __cdecl crt_init_globals_46269B(); | 1136 void ResetCursor_Palettes_LODs_Level_Audio_SFT_Windows(); |
1301 void __cdecl crt_init_globals_46271C(); | 1137 void PrepareWorld(unsigned int _0_box_loading_1_fullscreen); |
1302 void __cdecl MainMenu_Loop(); | 1138 void Game_DeinitializeAndTerminate(int exitCode); // idb |
1303 char __cdecl sub_4637E0_is_there_popup_onscreen(); | 1139 void FinalInitialization(); |
1304 void __cdecl ResetCursor_Palettes_LODs_Level_Audio_SFT_Windows(); | 1140 char Is_out15odm_underwater(); |
1305 void __thiscall PrepareWorld(unsigned int _this); | 1141 void SetUnderwaterFog(); |
1306 void __thiscall Game_DeinitializeAndTerminate(int exitCode); // idb | 1142 void DoPrepareWorld(unsigned int bLoading, int _1_fullscreen_loading_2_box); |
1307 void __cdecl FinalInitialization(); | |
1308 char __cdecl Is_out15odm_underwater(); | |
1309 void __cdecl SetUnderwaterFog(); | |
1310 void __fastcall DoPrepareWorld(unsigned int bLoading, int a2); | |
1311 int __fastcall ReadWindowsRegistryInt(const char *pKey, int uDefValue); // idb | 1143 int __fastcall ReadWindowsRegistryInt(const char *pKey, int uDefValue); // idb |
1312 void __fastcall WriteWindowsRegistryString(const char *pKey, const char *pString); | 1144 void __fastcall WriteWindowsRegistryString(const char *pKey, const char *pString); |
1313 void __fastcall ReadWindowsRegistryString(const char *pKeyName, char *pOutString, int uBufLen, const char *pDefaultValue); | 1145 void __fastcall ReadWindowsRegistryString(const char *pKeyName, char *pOutString, int uBufLen, const char *pDefaultValue); |
1314 void __fastcall WriteWindowsRegistryInt(const char *pKey, int val); | 1146 void __fastcall WriteWindowsRegistryInt(const char *pKey, int val); |
1315 bool __fastcall CheckMM7CD(char c); | 1147 bool __fastcall CheckMM7CD(char c); |
1316 int loc_465CC8(); // weak | 1148 int loc_465CC8(); // weak |
1317 void __cdecl SecondaryInitialization(); | 1149 void SecondaryInitialization(); |
1318 void __cdecl CreateAsyncMouse(); | 1150 void CreateAsyncMouse(); |
1319 void __cdecl CreateAsyncKeyboard(); | 1151 void CreateAsyncKeyboard(); |
1320 void __cdecl MM6_Initialize(const wchar_t *pIniFilename); | 1152 void MM6_Initialize(const wchar_t *pIniFilename); |
1321 void __cdecl MM7Initialization(); | 1153 void MM7Initialization(); |
1322 int __cdecl AbortWithError(); | 1154 int AbortWithError(); |
1323 void Abortf(const char *Format, ...); | 1155 void Abortf(const char *Format, ...); |
1324 void SetCurrentMenuID(enum MENU_STATE); // idb | 1156 void SetCurrentMenuID(enum MENU_STATE); // idb |
1325 enum MENU_STATE GetCurrentMenuID(); | 1157 enum MENU_STATE GetCurrentMenuID(); |
1326 void *__thiscall output_debug_string(void *_this, std::string a2, const char *a3, int a4); | 1158 void * output_debug_string(void *_this, std::string a2, const char *a3, int a4); |
1327 std::string *__fastcall _4678E2_make_error_string(std::string *a1, int line, std::string file); | 1159 std::string *__fastcall _4678E2_make_error_string(std::string *a1, int line, std::string file); |
1328 void CreateMsgScrollWindow(signed int mscroll_id); | 1160 void CreateMsgScrollWindow(signed int mscroll_id); |
1329 void __cdecl free_book_subwindow(); | 1161 void free_book_subwindow(); |
1330 void CreateScrollWindow(); | 1162 void CreateScrollWindow(); |
1331 void __cdecl OnPaperdollLeftClick(); | 1163 void OnPaperdollLeftClick(); |
1332 void OnPressSpace(); | 1164 void OnPressSpace(); |
1333 char __fastcall DoInteractionWithTopmostZObject(int a1, int a2); | 1165 char __fastcall DoInteractionWithTopmostZObject(int a1, int a2); |
1334 int __fastcall sub_46A6AC(int a1, int a2, int a3); | 1166 int __fastcall sub_46A6AC(int a1, int a2, int a3); |
1335 int __fastcall sub_46A7C8(int a1, int a2, signed int a3); | 1167 int __fastcall sub_46A7C8(int a1, int a2, signed int a3); |
1336 int __fastcall sub_46A89E(int a1, int a2, signed int a3); | 1168 int __fastcall sub_46A89E(int a1, int a2, signed int a3); |
1337 int __cdecl sub_46A99B(); | 1169 int sub_46A99B(); |
1338 void *__thiscall unknown_libname_8(void *_this, char a2); | 1170 void * unknown_libname_8(void *_this, char a2); |
1339 unsigned int __cdecl GetGravityStrength(); | 1171 unsigned int GetGravityStrength(); |
1340 void __cdecl UpdateUserInput_and_MapSpecificStuff(); | 1172 void UpdateUserInput_and_MapSpecificStuff(); |
1341 void __cdecl BLV_UpdateUserInputAndOther(); | 1173 void BLV_UpdateUserInputAndOther(); |
1342 void __cdecl ODM_UpdateUserInputAndOther(); | 1174 void ODM_UpdateUserInputAndOther(); |
1343 bool __fastcall _46BFFA_check_object_intercept(unsigned int uLayingItemID, signed int a2); | 1175 bool __fastcall _46BFFA_check_object_intercept(unsigned int uLayingItemID, signed int a2); |
1344 void __cdecl check_event_triggers(); | 1176 void check_event_triggers(); |
1345 int BLV_GetFloorLevel(int x, int y, int z, unsigned int uSectorID, unsigned int *pFaceID); | 1177 int BLV_GetFloorLevel(int x, int y, int z, unsigned int uSectorID, unsigned int *pFaceID); |
1346 int ODM_GetFloorLevel(int X, signed int Y, int Z, int, int *pOnWater, int *bmodel_pid, int bWaterWalk); | 1178 int ODM_GetFloorLevel(int X, signed int Y, int Z, int, int *pOnWater, int *bmodel_pid, int bWaterWalk); |
1347 int __fastcall sub_46D8E3(int a1, signed int a2, int a3, int a4); | 1179 int __fastcall sub_46D8E3(int a1, signed int a2, int a3, int a4); |
1348 void ODM_GetTerrainNormalAt(int pos_x, int pos_z, Vec3_int_ *out); | 1180 void ODM_GetTerrainNormalAt(int pos_x, int pos_z, Vec3_int_ *out); |
1349 unsigned int __fastcall sub_46DEF2(signed int a2, unsigned int uLayingItemID); | 1181 unsigned int __fastcall sub_46DEF2(signed int a2, unsigned int uLayingItemID); |
1350 int __fastcall _46DF1A_collide_against_actor(int, int); // weak | 1182 int __fastcall _46DF1A_collide_against_actor(int, int); // weak |
1351 void __cdecl _46E0B2_collide_against_decorations(); | 1183 void _46E0B2_collide_against_decorations(); |
1352 void __fastcall _46E26D_collide_against_sprites(signed int a1, signed int a2); | 1184 void __fastcall _46E26D_collide_against_sprites(signed int a1, signed int a2); |
1353 int __thiscall _46E44E_collide_against_faces_and_portals(unsigned int b1); // idb | 1185 int _46E44E_collide_against_faces_and_portals(unsigned int b1); // idb |
1354 int __fastcall _46E889_collide_against_bmodels(unsigned int ecx0); | 1186 int __fastcall _46E889_collide_against_bmodels(unsigned int ecx0); |
1355 int collide_against_floor(int x, int y, int z, unsigned int *pSectorID, unsigned int *pFaceID); // idb | 1187 int collide_against_floor(int x, int y, int z, unsigned int *pSectorID, unsigned int *pFaceID); // idb |
1356 void __fastcall _46ED8A_collide_against_sprite_objects(unsigned int _this); | 1188 void __fastcall _46ED8A_collide_against_sprite_objects(unsigned int _this); |
1357 int __thiscall _46EF01_collision_chech_player(int a1); // idb | 1189 int _46EF01_collision_chech_player(int a1); // idb |
1358 signed int __cdecl _46F04E_collide_against_portals(); | 1190 signed int _46F04E_collide_against_portals(); |
1359 void BLV_UpdateDoors(); | 1191 void BLV_UpdateDoors(); |
1360 void UpdateActors_BLV(); | 1192 void UpdateActors_BLV(); |
1361 void UpdateActors_ODM(); | 1193 void UpdateActors_ODM(); |
1362 void UpdateObjects(); | 1194 void UpdateObjects(); |
1363 int collide_against_floor_approximate(int x, int y, int z, unsigned int *pSectorID, unsigned int *pFaceID); // idb | 1195 int collide_against_floor_approximate(int x, int y, int z, unsigned int *pSectorID, unsigned int *pFaceID); // idb |
1364 void BLV_ProcessPartyActions(); | 1196 void BLV_ProcessPartyActions(); |
1365 void ODM_ProcessPartyActions(); | 1197 void ODM_ProcessPartyActions(); |
1366 bool __fastcall sub_47531C(int a1, int *a2, int a3, int a4, int a5, int a6, int a7, int a8, BLVFace *a9, int a10); | 1198 bool __fastcall sub_47531C(int a1, int *a2, int a3, int a4, int a5, int a6, int a7, int a8, struct BLVFace *a9, int a10); |
1367 bool __fastcall sub_4754BF(int a1, int *a2, int a3, int a4, int a5, int a6, int a7, int a8, BLVFace *a9, int a10, int a11); | 1199 bool __fastcall sub_4754BF(int a1, int *a2, int a3, int a4, int a5, int a6, int a7, int a8, struct BLVFace *a9, int a10, int a11); |
1368 signed int __thiscall sub_475665(BLVFace *_this, int a2, __int16 a3); | 1200 signed int sub_475665(struct BLVFace *_this, int a2, __int16 a3); |
1369 bool __fastcall sub_4759C9(BLVFace *a1, int a2, int a3, __int16 a4); | 1201 bool __fastcall sub_4759C9(struct BLVFace *a1, int a2, int a3, __int16 a4); |
1370 bool __fastcall sub_475D85(Vec3_int_ *a1, Vec3_int_ *a2, int *a3, BLVFace *a4); | 1202 bool __fastcall sub_475D85(Vec3_int_ *a1, Vec3_int_ *a2, int *a3, struct BLVFace *a4); |
1371 bool __fastcall sub_475F30(int *a1, BLVFace *a2, int a3, int a4, int a5, int a6, int a7, int a8, int a9); | 1203 bool __fastcall sub_475F30(int *a1, struct BLVFace *a2, int a3, int a4, int a5, int a6, int a7, int a8, int a9); |
1372 | 1204 |
1373 int __cdecl GetPartyReputation(); | 1205 int GetPartyReputation(); |
1374 void __cdecl sub_4783FA_construct_global_73D150(); | 1206 void sub_4783FA_construct_global_73D150(); |
1375 void __cdecl loc_4789D4(); // idb | 1207 void loc_4789D4(); // idb |
1376 void __cdecl loc_47907F(); // idb | 1208 void loc_47907F(); // idb |
1377 bool __fastcall IsBModelVisible(unsigned int uModelID, int *unused); | 1209 bool __fastcall IsBModelVisible(unsigned int uModelID, int *unused); |
1378 void __thiscall ODM_LoadAndInitialize(const char *pLevelFilename, struct OutdoorCamera *thisa); | 1210 void ODM_LoadAndInitialize(const char *pLevelFilename, struct OutdoorCamera *thisa); |
1379 unsigned int GetLevelFogColor(); | 1211 unsigned int GetLevelFogColor(); |
1380 int __fastcall sub_47C3D7_get_fog_related_stuff(int a1, int a2, float a3); | 1212 int __fastcall sub_47C3D7_get_fog_related_stuff(int a1, int a2, float a3); |
1381 signed int __fastcall GetActorTintColor(int max_dim, int min_dim, float distance, int a4, struct RenderBillboard *a5); | 1213 signed int __fastcall GetActorTintColor(int max_dim, int min_dim, float distance, int a4, struct RenderBillboard *a5); |
1382 unsigned int WorldPosToGridCellX(int); // weak | 1214 unsigned int WorldPosToGridCellX(int); // weak |
1383 unsigned int WorldPosToGridCellZ(int); // weak | 1215 unsigned int WorldPosToGridCellZ(int); // weak |
1384 int __stdcall GridCellToWorldPosX(int); // weak | 1216 int __stdcall GridCellToWorldPosX(int); // weak |
1385 int __stdcall GridCellToWorldPosZ(int); // weak | 1217 int __stdcall GridCellToWorldPosZ(int); // weak |
1386 void __cdecl loc_48118F(); // idb | 1218 void loc_48118F(); // idb |
1387 void __cdecl loc_481199(); // idb | 1219 void loc_481199(); // idb |
1388 void ResetPolygons(); | 1220 void ResetPolygons(); |
1389 void __cdecl sub_481ED9_MessWithOutdoorCamera(); | 1221 void sub_481ED9_MessWithOutdoorCamera(); |
1390 bool IsTerrainSlopeTooHigh(int pos_x, int pos_y); | 1222 bool IsTerrainSlopeTooHigh(int pos_x, int pos_y); |
1391 int __fastcall GetTerrainHeightsAroundParty2(int a1, int a2, int *a3, int a4); | 1223 int __fastcall GetTerrainHeightsAroundParty2(int a1, int a2, int *a3, int a4); |
1392 signed int __cdecl const_1_0(); | 1224 signed int const_1_0(); |
1393 void __cdecl sub_487DA9(); | 1225 void sub_487DA9(); |
1394 double __thiscall GetFogDensityByTime(struct OutdoorLocation *_this); | 1226 double GetFogDensityByTime(struct OutdoorLocation *_this); |
1395 int __stdcall loc_489BB3(struct stru320 *a2, int thisa, unsigned int uNumVertices, RenderVertexSoft *a5, float a6, char uClipFlag); // weak | 1227 int __stdcall loc_489BB3(struct stru320 *a2, int thisa, unsigned int uNumVertices, struct RenderVertexSoft *a5, float a6, char uClipFlag); // weak |
1396 bool __fastcall HSV2RGB(float *a1, float *a2, float *a3, float a4, float a5, float a6); | 1228 bool __fastcall HSV2RGB(float *a1, float *a2, float *a3, float a4, float a5, float a6); |
1397 void __fastcall RGB2HSV(float *a1, float *a2, float a3, float a4, float a5, float *a6); | 1229 void __fastcall RGB2HSV(float *a1, float *a2, float a3, float a4, float a5, float *a6); |
1398 unsigned int ReplaceHSV(unsigned int uColor, float a2, float gamma, float a4); | 1230 unsigned int ReplaceHSV(unsigned int uColor, float a2, float gamma, float a4); |
1399 signed int __cdecl PlayerCreation_Chose4Skills(); | 1231 signed int PlayerCreation_Chose4Skills(); |
1400 signed int __cdecl PlayerCreation_GetUnspentAttributePointCount(); | 1232 signed int PlayerCreation_GetUnspentAttributePointCount(); |
1401 void LoadPlayerPortraintsAndVoices(); | 1233 void LoadPlayerPortraintsAndVoices(); |
1402 int __fastcall ReloadPlayerPortraits(int, int); // weak | 1234 int __fastcall ReloadPlayerPortraits(int, int); // weak |
1403 void sub_491E3A(); | 1235 void sub_491E3A(); |
1404 signed int __thiscall CycleCharacter(unsigned int _this); | 1236 signed int CycleCharacter(unsigned int _this); |
1405 void __fastcall Rest(unsigned int uHoursToSleep); | 1237 void __fastcall Rest(unsigned int uHoursToSleep); |
1406 int _493938_regenerate(); | 1238 int _493938_regenerate(); |
1407 void sub_493F79(struct stru351_summoned_item *_this, __int64 a2); | 1239 void sub_493F79(struct stru351_summoned_item *_this, __int64 a2); |
1408 void _494035_timed_effects__water_walking_damage__etc(); | 1240 void _494035_timed_effects__water_walking_damage__etc(); |
1409 unsigned int __fastcall _494820_training_time(unsigned int a1); | 1241 unsigned int __fastcall _494820_training_time(unsigned int a1); |
1423 void Present_ColorKey(); | 1255 void Present_ColorKey(); |
1424 void Present_NoColorKey(); | 1256 void Present_NoColorKey(); |
1425 unsigned int ModulateColor(unsigned int diffuse, float multiplier); // idb | 1257 unsigned int ModulateColor(unsigned int diffuse, float multiplier); // idb |
1426 struct SoundHeader *FindSound_BinSearch(unsigned int uStart, unsigned int uEnd, const char *pName); | 1258 struct SoundHeader *FindSound_BinSearch(unsigned int uStart, unsigned int uEnd, const char *pName); |
1427 struct SoundData *LoadSound(const char *pSoundName, struct SoundData *pOutBuff, unsigned int uID); | 1259 struct SoundData *LoadSound(const char *pSoundName, struct SoundData *pOutBuff, unsigned int uID); |
1428 int __fastcall sub_4AAEA6_transform(RenderVertexSoft *a1); | 1260 int __fastcall sub_4AAEA6_transform(struct RenderVertexSoft *a1); |
1429 int __fastcall sub_4AB66C(int, int); // weak | 1261 int __fastcall sub_4AB66C(int, int); // weak |
1430 int GetSoundStrengthByDistanceFromParty(int x, int y, int z); | 1262 int GetSoundStrengthByDistanceFromParty(int x, int y, int z); |
1431 struct _DIG_DRIVER *Audio_GetFirstHardwareDigitalDriver(void); | 1263 struct _DIG_DRIVER *Audio_GetFirstHardwareDigitalDriver(void); |
1432 void __cdecl PlayLevelMusic(); | 1264 void PlayLevelMusic(); |
1433 unsigned int __fastcall sub_4B0E07(unsigned int uFaceID); // idb | 1265 unsigned int __fastcall sub_4B0E07(unsigned int uFaceID); // idb |
1434 struct Player *__fastcall sub_4B1447_party_fine(int a1, int a2, int a3); | 1266 struct Player *__fastcall sub_4B1447_party_fine(int a1, int a2, int a3); |
1435 void __thiscall sub_4B1523(int *_this); | 1267 void sub_4B1523(int *_this); |
1436 void __cdecl ShowPopupShopItem(); | 1268 void ShowPopupShopItem(); |
1437 void __stdcall RestAndHeal(__int64 uNumMinutes); // idb | 1269 void __stdcall RestAndHeal(__int64 uNumMinutes); // idb |
1438 void __cdecl GetHouseGoodbyeSpeech(); | 1270 void GetHouseGoodbyeSpeech(); |
1439 | 1271 |
1440 void __cdecl sub_4B1ECE(); | 1272 void sub_4B1ECE(); |
1441 void __fastcall ClickNPCTopic(signed int uMessageParam); | 1273 void __fastcall ClickNPCTopic(signed int uMessageParam); |
1442 char *__thiscall _4B254D_SkillMasteryTeacher(int _this); | 1274 char * _4B254D_SkillMasteryTeacher(int _this); |
1443 const char * ContractSelectText(int pEventCode); | 1275 const char * ContractSelectText(int pEventCode); |
1444 void SimpleHouseAndBoatsDialog(); | 1276 void SimpleHouseAndBoatsDialog(); |
1445 void CreateButtonInColumn(int a1, unsigned int a2); | 1277 void CreateButtonInColumn(int a1, unsigned int a2); |
1446 void FillAviableSkillsToTeach(int _this); | 1278 void FillAviableSkillsToTeach(int _this); |
1447 void __cdecl sub_4B3E1E(); | 1279 void sub_4B3E1E(); |
1448 void DrawJoinGuildWindow(int pEventCode); | 1280 void DrawJoinGuildWindow(int pEventCode); |
1449 void __fastcall sub_4B3FE5(int a4); | 1281 void __fastcall sub_4B3FE5(int a4); |
1450 void NPCHireableDialogPrepare(); | 1282 void NPCHireableDialogPrepare(); |
1451 void _4B4224_UpdateNPCTopics(int _this); | 1283 void _4B4224_UpdateNPCTopics(int _this); |
1452 void __fastcall DrawTextAtStatusBar(const char *Str, int a5); | 1284 void __fastcall DrawTextAtStatusBar(const char *Str, int a5); |
1453 int __fastcall sub_4B46F8(int a1); | 1285 int __fastcall sub_4B46F8(int a1); |
1454 | 1286 |
1455 const char *sub_4BBA85_bounties(); | 1287 const char *sub_4BBA85_bounties(); |
1456 void __cdecl sub_4BBCDD(); | 1288 void sub_4BBCDD(); |
1457 void __fastcall _4BBF61_summon_actor(int a1, __int16 x, int y, int z); // idb | 1289 void __fastcall _4BBF61_summon_actor(int a1, __int16 x, int y, int z); // idb |
1458 void __cdecl ArenaFight(); | 1290 void ArenaFight(); |
1459 void SpellBookGenerator(); | 1291 void SpellBookGenerator(); |
1460 void UI_CreateEndConversationButton(); | 1292 void UI_CreateEndConversationButton(); |
1461 void __fastcall OnSelectShopDialogueOption(signed int uMessageParam); | 1293 void __fastcall OnSelectShopDialogueOption(signed int uMessageParam); |
1462 signed int __cdecl sub_4BD8B5(); | 1294 signed int sub_4BD8B5(); |
1463 bool __fastcall MerchandiseTest(ItemGen *item, int _2da_idx); | 1295 bool __fastcall MerchandiseTest(ItemGen *item, int _2da_idx); |
1464 void __cdecl UIShop_Buy_Identify_Repair(); | 1296 void UIShop_Buy_Identify_Repair(); |
1465 | 1297 |
1466 | 1298 |
1467 void __cdecl ShowIntroVideo_and_LoadingScreen(); | 1299 void ShowIntroVideo_and_LoadingScreen(); |
1468 unsigned int __thiscall GameOverMenu(void *ecx0); | 1300 unsigned int GameOverMenu(void *ecx0); |
1469 bool __thiscall BinkLockBuffer(struct _BINKBUF *_this); | 1301 bool BinkLockBuffer(struct _BINKBUF *_this); |
1470 void __thiscall BinkUnlockBuffer(struct _BINKBUF *_this); | 1302 void BinkUnlockBuffer(struct _BINKBUF *_this); |
1471 signed int __fastcall SpawnRandomTreasure(struct MapInfo *a1, struct SpawnPointMM7 *a2); | 1303 signed int __fastcall SpawnRandomTreasure(struct MapInfo *a1, struct SpawnPointMM7 *a2); |
1472 void DamageMonsterFromParty(signed int a1, unsigned int uActorID_Monster, struct Vec3_int_ *pVelocity); | 1304 void DamageMonsterFromParty(signed int a1, unsigned int uActorID_Monster, struct Vec3_int_ *pVelocity); |
1473 | 1305 |
1306 void MakeActorAIList_ODM(); | |
1307 int MakeActorAIList_BLV(); | |
1308 void UpdateActorAI(); | |
1309 bool __fastcall sub_4070EF_prolly_collide_objects(unsigned int uObjID, unsigned int uObj2ID); | |
1310 bool __fastcall sub_4075DB(int a1, int a2, int a3, struct BLVFace *a4); | |
1311 bool __fastcall sub_4077F1(int a1, int a2, int a3, struct ODMFace *a4, struct BSPVertexBuffer *a5); | |
1312 bool __fastcall sub_407A1C(int x, int z, int y, struct Vec3_int_ v); // idb | |
1313 void InitializeActors(); | |
1314 void InitializeSpriteObjects(); | |
1315 int __fastcall sub_4088E9(int a1, int a2, int a3, int a4, int a5, int a6); | |
1316 unsigned int SearchAliveActors(unsigned int *pTotalActors); | |
1317 unsigned int SearchActorByMonsterID(unsigned int *pTotalActors, int uMonsterID); | |
1318 unsigned int SearchActorByGroup(unsigned int *pTotalActors, unsigned int uGroup); | |
1319 unsigned int SearchActorByID(unsigned int *pTotalActors, unsigned int a2); | |
1320 void PrepareArcomage(); | |
1321 unsigned short TargetColor(unsigned __int16 r, unsigned __int16 g, unsigned __int16 b); // idb | |
1322 void CallRenderPresent(); | |
1323 void DoBlt_Copy(unsigned __int16 *pPixels); // idb | |
1324 int loc_40E4FC(); // weak | |
1325 void __fastcall ZBuffer_Fill(int *pZBuffer, int uTextureId, int iZValue); | |
1326 void __fastcall ZBuffer_DoFill(int *pZBuffer, struct Texture *pTex, int uZValue); | |
1327 void __fastcall ZBuffer_DoFill2(int *pZBuffer, struct Texture *a2, int a3); // idb | |
1328 void SetMoonPhaseNames(); | |
1329 int __fastcall sub_410D99_get_map_index(int a1); | |
1330 void __fastcall LoadThumbnailLloydTexture(unsigned int uSlot, unsigned int uPlayer); | |
1331 void SetAttributeNames(); | |
1332 void uGameUIFontMain_initialize(); | |
1333 void uGameUIFontShadow_initialize(); | |
1334 void identify_item(); | |
1335 void sub_416D62_ShowPopupWindow_MonsterRecord_ItemInfo_etcsub_416D62(struct Vec2_int_ *_this); | |
1336 void UI_OnMouseLeftClick(int *pXY); // idb | |
1337 unsigned int __fastcall UI_GetHealthManaStringColor(signed int a1, signed int a2); | |
1338 unsigned int __fastcall GetSizeInInventorySlots(unsigned int uNumPixels); | |
1339 struct GUIButton *__fastcall GUI_HandleHotkey(unsigned __int8 uHotkey); // idb | |
1340 int __fastcall GUI_ReplaceHotkey(unsigned __int8 uOldHotkey, unsigned __int8 uNewHotkey, char bFirstCall); | |
1341 void __fastcall sub_41D20D_buff_remaining_time_string(int ecx0, struct GUIWindow *edx0, __int64 a3, struct GUIFont *a2); | |
1342 bool UI_OnKeyDown(unsigned int vkKey); | |
1343 void GameUI_DrawItemInfo(struct ItemGen* inspect_item); // idb | |
1344 void MonsterPopup_Draw(unsigned int uActorID, struct GUIWindow *edx0); | |
1345 void LoadActualSkyFrame(); | |
1346 void Sleep6Hours(); | |
1347 void ChestUI_WritePointedObjectStatusString(); | |
1348 | |
1349 void __fastcall party_finds_gold(unsigned int uNumGold, int _1_dont_share_with_followers___2_the_same_but_without_a_message__else_normal); // idb | |
1350 void OnChestLeftClick(); | |
1351 void GameUI_WritePointedObjectStatusString(); | |
1352 //struct GUIWindow * GetCastSpellInInventoryWindow(void *a4); | |
1353 bool sub_421B2C_PlaceInInventory_or_DropPickedItem(); | |
1354 void __fastcall GameUI_OnPlayerPortraitLeftClick(unsigned int uPlayerID); // idb | |
1355 void OnInventoryLeftClick(); | |
1356 void OnGameViewportClick(); | |
1357 bool PauseGameDrawing(); | |
1358 void SetUserInterface(enum PartyAlignment alignment, bool bReplace); | |
1359 void reset_some_strus_flt_2Cs(); | |
1360 int __fastcall GetPortalScreenCoord(unsigned int uFaceID); | |
1361 signed int __fastcall sr_424579(int uFaceID, struct stru320 *a2); | |
1362 bool PortalFrustrum(int pNumVertices, struct BspRenderer_PortalViewportData *a2, struct BspRenderer_PortalViewportData *near_portal, int uFaceID); | |
1363 int sr_424CD7(unsigned int uVertexID); // idb | |
1364 signed int __fastcall sr_424EE0_MakeFanFromTriangle(unsigned int uVertexID); // idb | |
1365 signed int __fastcall sr_4250FE(unsigned int uVertexID); // idb | |
1366 bool sr_42620A(struct RenderVertexSoft *p); | |
1367 int __fastcall _4268E3_smthn_to_a1r5g5b5(unsigned int uColor); // idb | |
1368 int __fastcall _42690D_colors_cvt(unsigned int a1); | |
1369 void sub_426947(); | |
1370 void __fastcall GivePartyExp(unsigned int pEXPNum); | |
1371 bool __fastcall sub_427769_spell(unsigned int uSpellID); | |
1372 void _42777D_CastSpell_UseWand_ShootArrow(int a1, unsigned int uPlayerID, unsigned int a4, __int16 a5, int a6); | |
1373 int __fastcall sub_42EBBE(int, int); // weak | |
1374 void _42ECB5_PlayerAttacksActor(); | |
1375 void InitializeTurnBasedAnimations(void *); | |
1376 int _42F4DA_check_actor_proximity(); | |
1377 bool __fastcall sub_42F7EB_DropItemAt(unsigned int uSpriteID, int x, int y, int z, int a4, int count, int a7, unsigned __int16 attributes, ItemGen *a9); | |
1378 void __fastcall sub_42F960_create_object(int x, int y, int z); // idb | |
1379 void CompactLayingItemsList(); | |
1380 int __fastcall _42FA66_do_explosive_impact(int a1, int a2, int a3, int a4, __int16 a5, signed int a6); | |
1381 bool _42FB5C_check_spell(signed int a1); | |
1382 void sub_42FBDD(); | |
1383 void CloseWindowBackground(); | |
1384 void ProcessInputActions(); | |
1385 void GameUI_MsgProc(); | |
1386 void back_to_game(); | |
1387 void GUI_MainMenuMessageProc(); | |
1388 double get_shading_dist_mist(); | |
1389 void Vec3_short__to_RenderVertexSoft(struct RenderVertexSoft *_this, struct Vec3_short_ *a2); | |
1390 void area_of_effect__damage_evaluate(); | |
1391 void __fastcall DamagePlayerFromMonster(unsigned int uObjID, int a2, struct Vec3_int_ *pPos, unsigned int a4); | |
1392 void __fastcall sub_43A97E(unsigned int uLayingItemID, signed int a2); // idb | |
1393 double __fastcall sub_43AE12(signed int a1); | |
1394 int __fastcall _43AFE3_calc_spell_damage(int a1, int a2, signed int a3, int a4); | |
1395 void __fastcall sub_43B057(unsigned int uObjID, unsigned int uActorID, struct Vec3_int_ *pVelocity); | |
1396 void sub_43B1B0(signed int a1, unsigned int a2, struct Vec3_int_ *pVelocity, signed int a4); | |
1397 void Software_ResetNewEdges(); | |
1398 void CharacterUI_LoadPaperdollTextures(); | |
1399 int __fastcall GetItemTextureFilename(char *pOut, signed int item_id, int index, int shoulder); | |
1400 bool _43ED6F_check_party_races(bool b); | |
1401 bool sub_43EDB9_get_some_race_sex_relation_2(unsigned int _this); | |
1402 bool __fastcall Player_has_item(unsigned int uItemID, struct Player *pPlayer, char a3); | |
1403 bool __fastcall sub_43EE77_ProbablyIfUnderwaterSuitIsEquipped(signed int a1); | |
1404 void WetsuitOn(unsigned int uPlayerID); // idb | |
1405 void WetsuitOff(unsigned int uPlayerID); | |
1406 void __fastcall PrepareDrawLists_BLV(struct IndoorLocation_drawstru *_this); | |
1407 void FindBillboardsLightLevels_BLV(); | |
1408 int __fastcall _43F55F_get_billboard_light_level(struct RenderBillboard *a1, int uBaseLightLevel); | |
1409 int __fastcall _43F5C8_get_point_light_level_with_respect_to_lights(unsigned int uBaseLightLevel, int uSectorID, float x, float y, float z); | |
1410 void PrepareBspRenderList_BLV(); | |
1411 void __fastcall PrepareDecorationsRenderList_BLV(unsigned int uDecorationID, unsigned int uSectorID); | |
1412 void PrepareActorRenderList_BLV(); | |
1413 void PrepareItemsRenderList_BLV(); | |
1414 void AddBspNodeToRenderList(unsigned int node_id); | |
1415 void __fastcall sub_4406BC(unsigned int node_id, unsigned int uFirstNode); // idb | |
1416 void __fastcall sub_440BED(struct IndoorLocation_drawstru *_this); | |
1417 bool sub_44100D(); | |
1418 __int16 __fastcall sub_441A4E(int a1); | |
1419 void DrawBook_Map_sub(unsigned int tl_x, unsigned int tl_y, unsigned int br_x, int br_y, int _48074); // idb | |
1420 void Initialize2DA(); | |
1421 void LoadLevel_InitializeLevelStr(); | |
1422 void OnMapLeave(); | |
1423 void OnMapLoad(); | |
1424 void Level_LoadEvtAndStr(const char *pLevelName); | |
1425 const char *sub_444564(); | |
1426 char *GetEventHintString(unsigned int uEventID); // idb | |
1427 int GetTravelTime(); | |
1428 void __fastcall sub_4451A8_press_any_key(int a1, int a2, int a4); | |
1474 | 1429 |
1475 #define ErrD3D(hr) do {extern void ErrHR(HRESULT, const char *, const char *, const char *, int); ErrHR(hr, "Direct3D", __FUNCTION__, __FILE__, __LINE__);} while(0) | 1430 #define ErrD3D(hr) do {extern void ErrHR(HRESULT, const char *, const char *, const char *, int); ErrHR(hr, "Direct3D", __FUNCTION__, __FILE__, __LINE__);} while(0) |
1476 | 1431 |
1477 | 1432 |
1478 namespace zlib | 1433 namespace zlib |