Mercurial > mm7
comparison mm7_data.h @ 1572:19f1735fca80
Слияние
author | Ritor1 |
---|---|
date | Sun, 08 Sep 2013 17:07:58 +0600 |
parents | 9a6567c6c76c |
children | 2d9c8f609a3c f408fbf3d9cc |
comparison
equal
deleted
inserted
replaced
1571:ef20d4608b1a | 1572:19f1735fca80 |
---|---|
658 extern int bProcessorIsNotIntel; // weak | 658 extern int bProcessorIsNotIntel; // weak |
659 extern Vec3_int_ layingitem_vel_50FDFC; | 659 extern Vec3_int_ layingitem_vel_50FDFC; |
660 extern char pStartingMapName[32]; // idb | 660 extern char pStartingMapName[32]; // idb |
661 extern std::array<unsigned __int8, 5> IsPlayerWearingWatersuit; | 661 extern std::array<unsigned __int8, 5> IsPlayerWearingWatersuit; |
662 extern std::array<char, 54> party_has_equipment; | 662 extern std::array<char, 54> party_has_equipment; |
663 extern std::array<char, 16> byte_5111F6; | 663 extern std::array<char, 17> byte_5111F6; |
664 extern std::array<unsigned int, 16> papredoll_dbrds; | 664 extern std::array<unsigned int, 16> papredoll_dbrds; |
665 | 665 |
666 extern int bRingsShownInCharScreen; // weak | 666 extern int bRingsShownInCharScreen; // weak |
667 extern int _unused000; // weak | 667 extern int _unused000; // weak |
668 | 668 |
856 extern int uWindowWidth; // idb | 856 extern int uWindowWidth; // idb |
857 extern int uWindowHeight; // idb | 857 extern int uWindowHeight; // idb |
858 extern int uWindowX; // idb | 858 extern int uWindowX; // idb |
859 extern int uWindowY; // idb | 859 extern int uWindowY; // idb |
860 extern LONG uWindowStyle; // idb | 860 extern LONG uWindowStyle; // idb |
861 extern HMENU hOSMenu; // idb | |
862 extern int dword_6BE340; // weak | 861 extern int dword_6BE340; // weak |
863 extern char pCurrentMapName[32]; // idb | 862 extern char pCurrentMapName[32]; // idb |
864 extern unsigned int uLevelMapStatsID; | 863 extern unsigned int uLevelMapStatsID; |
865 extern int dword_6BE364_game_settings_1; // weak | 864 extern int dword_6BE364_game_settings_1; // weak |
866 extern int dword_6BE368_debug_settings_2; // weak | 865 extern int dword_6BE368_debug_settings_2; // weak |
887 extern unsigned int bNoVideo; | 886 extern unsigned int bNoVideo; |
888 extern bool bNoIntro; | 887 extern bool bNoIntro; |
889 extern bool bNoLogo; | 888 extern bool bNoLogo; |
890 extern bool bNoCD; | 889 extern bool bNoCD; |
891 extern bool bNoSound; | 890 extern bool bNoSound; |
892 extern int aborting_app; // weak | |
893 extern std::array<int, 100> dword_720020_zvalues; | 891 extern std::array<int, 100> dword_720020_zvalues; |
894 extern std::array<int, 299> dword_7201B0_zvalues; | 892 extern std::array<int, 299> dword_7201B0_zvalues; |
895 extern int dword_7207F0[]; // idb | 893 extern int dword_7207F0[]; // idb |
896 extern int uTextureID_720980; // weak | 894 extern int uTextureID_720980; // weak |
897 extern int _720984_unused; // weak | 895 extern int _720984_unused; // weak |
1007 extern std::array<int, 32> dword_F1B430; // weak | 1005 extern std::array<int, 32> dword_F1B430; // weak |
1008 extern std::array<int, 4> player_levels; | 1006 extern std::array<int, 4> player_levels; |
1009 extern std::array<__int16, 777> word_F8B158; // weak | 1007 extern std::array<__int16, 777> word_F8B158; // weak |
1010 extern struct Texture *ShopTexture; // idb | 1008 extern struct Texture *ShopTexture; // idb |
1011 extern std::array<struct Texture *, 12> ItemsInShopTexture; | 1009 extern std::array<struct Texture *, 12> ItemsInShopTexture; |
1012 extern __int16 word_F8B1A0; // weak | 1010 extern __int16 bountyHunting_monster_id_for_hunting; // weak |
1013 extern const char *dword_F8B1A4; // idb | 1011 extern const char *bountyHunting_text; // idb |
1014 extern int contract_approved; // weak | 1012 extern int contract_approved; // weak |
1015 extern int dword_F8B1AC_award_bit_number; // idb | 1013 extern int dword_F8B1AC_award_bit_number; // idb |
1016 extern int dword_F8B1B0; // weak | 1014 extern int dword_F8B1B0; // weak |
1017 extern int gold_transaction_amount; // F8B1B4 | 1015 extern int gold_transaction_amount; // F8B1B4 |
1018 extern std::array<char *, 4> pShopOptions; | 1016 extern std::array<char *, 4> pShopOptions; |
1038 //extern _UNKNOWN unk_F8EA04; // weak | 1036 //extern _UNKNOWN unk_F8EA04; // weak |
1039 //extern _UNKNOWN unk_F8F8F8; // weak | 1037 //extern _UNKNOWN unk_F8F8F8; // weak |
1040 extern int dword_F93F20; // weak | 1038 extern int dword_F93F20; // weak |
1041 extern int dword_F93F70; // weak | 1039 extern int dword_F93F70; // weak |
1042 | 1040 |
1043 extern volatile bool initing; //ADDED | |
1044 | 1041 |
1045 | 1042 |
1046 | 1043 |
1047 | 1044 |
1048 | 1045 |
1134 void InitializeTurnBasedAnimations(void *); | 1131 void InitializeTurnBasedAnimations(void *); |
1135 int _42F4DA_check_actor_proximity(); | 1132 int _42F4DA_check_actor_proximity(); |
1136 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); | 1133 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); |
1137 void __fastcall sub_42F960_create_object(int x, int y, int z); // idb | 1134 void __fastcall sub_42F960_create_object(int x, int y, int z); // idb |
1138 void CompactLayingItemsList(); | 1135 void CompactLayingItemsList(); |
1139 int __fastcall _42FA66_do_explosive_impact(int a1, int a2, int a3, int a4, __int16 a5, signed int a6); | 1136 void _42FA66_do_explosive_impact(int a1, int a2, int a3, int a4, __int16 a5, signed int a6); |
1140 bool _42FB5C_check_spell(signed int a1); | 1137 bool _42FB5C_check_spell(signed int a1); |
1141 void sub_42FBDD(); | 1138 void sub_42FBDD(); |
1142 void CloseWindowBackground(); | 1139 void CloseWindowBackground(); |
1143 void ProcessInputActions(); | 1140 void ProcessInputActions(); |
1144 void GameUI_MsgProc(); | 1141 void GameUI_MsgProc(); |
1165 void __fastcall PrepareDrawLists_BLV(struct IndoorLocation_drawstru *_this); | 1162 void __fastcall PrepareDrawLists_BLV(struct IndoorLocation_drawstru *_this); |
1166 void FindBillboardsLightLevels_BLV(); | 1163 void FindBillboardsLightLevels_BLV(); |
1167 int __fastcall _43F55F_get_billboard_light_level(struct RenderBillboard *a1, int uBaseLightLevel); | 1164 int __fastcall _43F55F_get_billboard_light_level(struct RenderBillboard *a1, int uBaseLightLevel); |
1168 int __fastcall _43F5C8_get_point_light_level_with_respect_to_lights(unsigned int uBaseLightLevel, int uSectorID, float x, float y, float z); | 1165 int __fastcall _43F5C8_get_point_light_level_with_respect_to_lights(unsigned int uBaseLightLevel, int uSectorID, float x, float y, float z); |
1169 void PrepareBspRenderList_BLV(); | 1166 void PrepareBspRenderList_BLV(); |
1170 void __fastcall PrepareDecorationsRenderList_BLV(unsigned int uDecorationID, unsigned int uSectorID); | 1167 void PrepareDecorationsRenderList_BLV(unsigned int uDecorationID, unsigned int uSectorID); |
1171 void PrepareActorRenderList_BLV(); | 1168 void PrepareActorRenderList_BLV(); |
1172 void PrepareItemsRenderList_BLV(); | 1169 void PrepareItemsRenderList_BLV(); |
1173 void AddBspNodeToRenderList(unsigned int node_id); | 1170 void AddBspNodeToRenderList(unsigned int node_id); |
1174 void __fastcall sub_4406BC(unsigned int node_id, unsigned int uFirstNode); // idb | 1171 void __fastcall sub_4406BC(unsigned int node_id, unsigned int uFirstNode); // idb |
1175 void __fastcall sub_440BED(struct IndoorLocation_drawstru *_this); | 1172 void __fastcall sub_440BED(struct IndoorLocation_drawstru *_this); |
1197 bool Initialize_GamesLOD_NewLOD(); | 1194 bool Initialize_GamesLOD_NewLOD(); |
1198 void SaveNewGame(); | 1195 void SaveNewGame(); |
1199 void PrepareToLoadBLV(unsigned int bLoading); | 1196 void PrepareToLoadBLV(unsigned int bLoading); |
1200 void __fastcall PrepareToLoadODM(unsigned int bLoading, struct OutdoorCamera *a2); | 1197 void __fastcall PrepareToLoadODM(unsigned int bLoading, struct OutdoorCamera *a2); |
1201 void _461103_load_level_sub(); | 1198 void _461103_load_level_sub(); |
1202 int int_get_vector_length(signed int x, signed int y, signed int z); | |
1203 void MainMenu_Loop(); | 1199 void MainMenu_Loop(); |
1204 char sub_4637E0_is_there_popup_onscreen(); | 1200 char sub_4637E0_is_there_popup_onscreen(); |
1205 void ResetCursor_Palettes_LODs_Level_Audio_SFT_Windows(); | 1201 void ResetCursor_Palettes_LODs_Level_Audio_SFT_Windows(); |
1206 void PrepareWorld(unsigned int _0_box_loading_1_fullscreen); | 1202 void PrepareWorld(unsigned int _0_box_loading_1_fullscreen); |
1207 void Game_DeinitializeAndTerminate(int exitCode); // idb | 1203 void Game_DeinitializeAndTerminate(int exitCode); // idb |
1217 void SecondaryInitialization(); | 1213 void SecondaryInitialization(); |
1218 void CreateAsyncMouse(); | 1214 void CreateAsyncMouse(); |
1219 void CreateAsyncKeyboard(); | 1215 void CreateAsyncKeyboard(); |
1220 void MM6_Initialize(const wchar_t *pIniFilename); | 1216 void MM6_Initialize(const wchar_t *pIniFilename); |
1221 void MM7Initialization(); | 1217 void MM7Initialization(); |
1222 int AbortWithError(); | |
1223 void Abortf(const char *Format, ...); | |
1224 void SetCurrentMenuID(enum MENU_STATE); // idb | 1218 void SetCurrentMenuID(enum MENU_STATE); // idb |
1225 enum MENU_STATE GetCurrentMenuID(); | 1219 enum MENU_STATE GetCurrentMenuID(); |
1226 void CreateMsgScrollWindow(signed int mscroll_id); | 1220 void CreateMsgScrollWindow(signed int mscroll_id); |
1227 void free_book_subwindow(); | 1221 void free_book_subwindow(); |
1228 void CreateScrollWindow(); | 1222 void CreateScrollWindow(); |
1242 void __fastcall sub_4B3FE5(int a4); | 1236 void __fastcall sub_4B3FE5(int a4); |
1243 void NPCHireableDialogPrepare(); | 1237 void NPCHireableDialogPrepare(); |
1244 void _4B4224_UpdateNPCTopics(int _this); | 1238 void _4B4224_UpdateNPCTopics(int _this); |
1245 void __fastcall DrawTextAtStatusBar(const char *Str, int a5); | 1239 void __fastcall DrawTextAtStatusBar(const char *Str, int a5); |
1246 __int64 GetExperienceRequiredForLevel(int a1); | 1240 __int64 GetExperienceRequiredForLevel(int a1); |
1247 const char *sub_4BBA85_bounties(); | 1241 void CheckBountyRespawnAndAward(); |
1248 void sub_4BBCDD(); | 1242 void sub_4BBCDD(); |
1249 void __fastcall _4BBF61_summon_actor(int a1, __int16 x, int y, int z); // idb | 1243 void __fastcall _4BBF61_summon_actor(int a1, __int16 x, int y, int z); // idb |
1250 void ArenaFight(); | 1244 void ArenaFight(); |
1251 void SpellBookGenerator(); | 1245 void SpellBookGenerator(); |
1252 void UI_CreateEndConversationButton(); | 1246 void UI_CreateEndConversationButton(); |
1261 int __fastcall GetActorTintColor(int max_dim, int min_dim, float distance, int a4, struct RenderBillboard *a5); | 1255 int __fastcall GetActorTintColor(int max_dim, int min_dim, float distance, int a4, struct RenderBillboard *a5); |
1262 unsigned int WorldPosToGridCellX(int); // weak | 1256 unsigned int WorldPosToGridCellX(int); // weak |
1263 unsigned int WorldPosToGridCellZ(int); // weak | 1257 unsigned int WorldPosToGridCellZ(int); // weak |
1264 int GridCellToWorldPosX(int); // weak | 1258 int GridCellToWorldPosX(int); // weak |
1265 int GridCellToWorldPosZ(int); // weak | 1259 int GridCellToWorldPosZ(int); // weak |
1266 void ResetPolygons(); | |
1267 void sub_481ED9_MessWithOutdoorCamera(); | 1260 void sub_481ED9_MessWithOutdoorCamera(); |
1268 bool IsTerrainSlopeTooHigh(int pos_x, int pos_y); | 1261 bool IsTerrainSlopeTooHigh(int pos_x, int pos_y); |
1269 int __fastcall GetTerrainHeightsAroundParty2(int a1, int a2, int *a3, int a4); | 1262 int __fastcall GetTerrainHeightsAroundParty2(int a1, int a2, int *a3, int a4); |
1270 void sub_487DA9(); | 1263 void sub_487DA9(); |
1271 double GetFogDensityByTime(struct OutdoorLocation *_this); | 1264 double GetFogDensityByTime(struct OutdoorLocation *_this); |
1359 int sub_4465DF_check_season(int a1); | 1352 int sub_4465DF_check_season(int a1); |
1360 int __fastcall IsActorAlive(unsigned int uType, unsigned int uParam, unsigned int uNumAlive); // idb | 1353 int __fastcall IsActorAlive(unsigned int uType, unsigned int uParam, unsigned int uNumAlive); // idb |
1361 int NPC_EventProcessor(int npc_event_id, int entry_line = 0); | 1354 int NPC_EventProcessor(int npc_event_id, int entry_line = 0); |
1362 void __fastcall sub_448518_npc_set_item(int npc, unsigned int item, int a3); | 1355 void __fastcall sub_448518_npc_set_item(int npc, unsigned int item, int a3); |
1363 void __fastcall sub_44861E_set_texture(unsigned int uFaceCog, const char *pFilename); | 1356 void __fastcall sub_44861E_set_texture(unsigned int uFaceCog, const char *pFilename); |
1364 void __fastcall SetDecorationSprite(unsigned int uCog, int a2, const char *pFileName); // idb | 1357 void __fastcall SetDecorationSprite(uint16_t uCog, bool bHide, const char *pFileName); // idb |
1365 void __fastcall sub_44892E_set_faces_bit(int sCogNumber, int bit, int on); | 1358 void __fastcall sub_44892E_set_faces_bit(int sCogNumber, int bit, int on); |
1366 void __fastcall ToggleActorGroupFlag(unsigned int uGroupID, unsigned int uFlag, unsigned int bToggle); | 1359 void __fastcall ToggleActorGroupFlag(unsigned int uGroupID, unsigned int uFlag, unsigned int bToggle); |
1367 void GameUI_StatusBar_UpdateTimedString(unsigned int bForceHide); // idb | 1360 void GameUI_StatusBar_UpdateTimedString(unsigned int bForceHide); // idb |
1368 void OnTimer(int); | 1361 void OnTimer(int); |
1369 void __fastcall sub_448CF4_spawn_monsters(__int16 typeindex, __int16 level, int count, int x, int y, int z, int group, unsigned int uUniqueName); | 1362 void __fastcall sub_448CF4_spawn_monsters(__int16 typeindex, __int16 level, int count, int x, int y, int z, int group, unsigned int uUniqueName); |
1370 void __fastcall EventCastSpell(int spellnum, int uSkillLevel, int uSkill, int fromx, int fromy, int fromz, int tox, int toy, int toz);//sub_448DF8 | 1363 void __fastcall EventCastSpell(int uSpellID, int uSkillLevel, int uSkill, int fromx, int fromy, int fromz, int tox, int toy, int toz);//sub_448DF8 |
1371 __int16 __fastcall sub_449A49_door_switch_animation(unsigned int uDoorID, int a2); // idb | 1364 __int16 __fastcall sub_449A49_door_switch_animation(unsigned int uDoorID, int a2); // idb |
1372 bool _449B57_test_bit(unsigned __int8 *a1, __int16 a2); | 1365 bool _449B57_test_bit(unsigned __int8 *a1, __int16 a2); |
1373 void _449B7E_toggle_bit(unsigned char *pArray, __int16 a2, unsigned __int16 bToggle); // idb | 1366 void _449B7E_toggle_bit(unsigned char *pArray, __int16 a2, unsigned __int16 bToggle); // idb |
1374 void ShowStatusBarString(const char *pString, unsigned int uNumSeconds); | 1367 void ShowStatusBarString(const char *pString, unsigned int uNumSeconds); |
1375 void ShowNothingHereStatus(); | 1368 void ShowNothingHereStatus(); |