comparison mm7_data.h @ 1391:cc9a3a24d61d

Moved stru11, stru12 and some SW Rendering stuff to the archives. stru148 -> struct Polygon
author Nomad
date Thu, 18 Jul 2013 14:42:54 +0200
parents 613c77e51e38
children 28f87f5234a1
comparison
equal deleted inserted replaced
1390:613c77e51e38 1391:cc9a3a24d61d
818 extern struct TileTable *pTileTable; // idb 818 extern struct TileTable *pTileTable; // idb
819 extern int texmapping_terrain_subdivsize; // weak 819 extern int texmapping_terrain_subdivsize; // weak
820 extern int texmapping_terrain_subdivpow2; // weak 820 extern int texmapping_terrain_subdivpow2; // weak
821 extern int texmapping_building_subdivsize; // weak 821 extern int texmapping_building_subdivsize; // weak
822 extern int texmapping_building_subdivpow2; // weak 822 extern int texmapping_building_subdivpow2; // weak
823 extern std::array<int, 2> unnamed_6BE060;
824 extern int mipmapping_building_mm1; // weak 823 extern int mipmapping_building_mm1; // weak
825 extern int mipmapping_building_mm2; // weak 824 extern int mipmapping_building_mm2; // weak
826 extern int mipmapping_building_mm3; // weak 825 extern int mipmapping_building_mm3; // weak
827 extern int mipmapping_terrain_mm1; // weak 826 extern int mipmapping_terrain_mm1; // weak
828 extern int mipmapping_terrain_mm2; // weak 827 extern int mipmapping_terrain_mm2; // weak
971 extern int dword_80AA14; // weak 970 extern int dword_80AA14; // weak
972 extern int dword_80AA18; // weak 971 extern int dword_80AA18; // weak
973 extern int dword_80AA1C; // weak 972 extern int dword_80AA1C; // weak
974 extern int dword_80AA20; // weak 973 extern int dword_80AA20; // weak
975 extern unsigned int uNumElementsIn80AA28; 974 extern unsigned int uNumElementsIn80AA28;
976 extern std::array<struct stru148 *, 2000> ptr_80AA28; 975 extern std::array<struct Polygon *, 2000> ptr_80AA28;
977 extern struct Edge *pNewEdges; 976 extern struct Edge *pNewEdges;
978 extern struct Surf *pSurfs; 977 extern struct Surf *pSurfs;
979 extern struct Edge *pEdges; 978 extern struct Edge *pEdges;
980 extern struct Span *pSpans; 979 extern struct Span *pSpans;
981 extern struct Edge *ptr_80C978_Edges; 980 extern struct Edge *ptr_80C978_Edges;
1145 void OnInventoryLeftClick(); 1144 void OnInventoryLeftClick();
1146 void OnGameViewportClick(); 1145 void OnGameViewportClick();
1147 bool PauseGameDrawing(); 1146 bool PauseGameDrawing();
1148 void SetUserInterface(enum PartyAlignment alignment, bool bReplace); 1147 void SetUserInterface(enum PartyAlignment alignment, bool bReplace);
1149 void __cdecl reset_some_strus_flt_2Cs(); 1148 void __cdecl reset_some_strus_flt_2Cs();
1150 void __cdecl j_sub_423B4A();
1151 void __cdecl sub_423B4A();
1152 int __fastcall GetPortalScreenCoord(unsigned int uFaceID); 1149 int __fastcall GetPortalScreenCoord(unsigned int uFaceID);
1153 signed int __fastcall sub_424579(int uFaceID, struct stru320 *a2); 1150 signed int __fastcall sr_424579(int uFaceID, struct stru320 *a2);
1154 bool PortalFrustrum(int pNumVertices, struct BspRenderer_PortalViewportData *a2, struct BspRenderer_PortalViewportData *near_portal, int uFaceID); 1151 bool PortalFrustrum(int pNumVertices, struct BspRenderer_PortalViewportData *a2, struct BspRenderer_PortalViewportData *near_portal, int uFaceID);
1155 signed int __fastcall sr_424CD7(unsigned int uVertexID); // idb 1152 signed int __fastcall sr_424CD7(unsigned int uVertexID); // idb
1156 signed int __fastcall sr_424EE0_MakeFanFromTriangle(unsigned int uVertexID); // idb 1153 signed int __fastcall sr_424EE0_MakeFanFromTriangle(unsigned int uVertexID); // idb
1157 signed int __fastcall sr_4250FE(unsigned int uVertexID); // idb 1154 signed int __fastcall sr_4250FE(unsigned int uVertexID); // idb
1158 signed int __fastcall sr_4252E8(unsigned int uVertexID); 1155 bool sr_42620A(struct RenderVertexSoft *p);
1159 int __fastcall sr_4254D2(signed int a1);
1160 bool __thiscall sr_42620A(struct RenderVertexSoft *p);
1161 int __fastcall _4268E3_smthn_to_a1r5g5b5(unsigned int uColor); // idb 1156 int __fastcall _4268E3_smthn_to_a1r5g5b5(unsigned int uColor); // idb
1162 int __fastcall _42690D_colors_cvt(unsigned int a1); 1157 int __fastcall _42690D_colors_cvt(unsigned int a1);
1163 void __cdecl sub_426947(); 1158 void __cdecl sub_426947();
1164 void __fastcall GivePartyExp(unsigned int pEXPNum); 1159 void __fastcall GivePartyExp(unsigned int pEXPNum);
1165 bool __fastcall sub_427769_spell(unsigned int uSpellID); 1160 bool __fastcall sub_427769_spell(unsigned int uSpellID);
1204 bool __fastcall Player_has_item(unsigned int uItemID, struct Player *pPlayer, char a3); 1199 bool __fastcall Player_has_item(unsigned int uItemID, struct Player *pPlayer, char a3);
1205 bool __fastcall sub_43EE77_ProbablyIfUnderwaterSuitIsEquipped(signed int a1); 1200 bool __fastcall sub_43EE77_ProbablyIfUnderwaterSuitIsEquipped(signed int a1);
1206 void WetsuitOn(unsigned int uPlayerID); // idb 1201 void WetsuitOn(unsigned int uPlayerID); // idb
1207 void WetsuitOff(unsigned int uPlayerID); 1202 void WetsuitOff(unsigned int uPlayerID);
1208 void __fastcall PrepareDrawLists_BLV(struct IndoorLocation_drawstru *_this); 1203 void __fastcall PrepareDrawLists_BLV(struct IndoorLocation_drawstru *_this);
1209 int /*__usercall*/ sr_sub_4D6FB0/*<eax>*/(struct stru315 *a1/*<ebp>*/);
1210 int /*__usercall*/ sr_sub_4D705A/*<eax>*/(struct stru315 *a1/*<ebp>*/);
1211 void __cdecl FindBillboardsLightLevels_BLV(); 1204 void __cdecl FindBillboardsLightLevels_BLV();
1212 int __fastcall _43F55F_get_billboard_light_level(struct RenderBillboard *a1, int uBaseLightLevel); 1205 int __fastcall _43F55F_get_billboard_light_level(struct RenderBillboard *a1, int uBaseLightLevel);
1213 int __fastcall _43F5C8_get_point_light_level_with_respect_to_lights(unsigned int uBaseLightLevel, int uSectorID, float x, float y, float z); 1206 int __fastcall _43F5C8_get_point_light_level_with_respect_to_lights(unsigned int uBaseLightLevel, int uSectorID, float x, float y, float z);
1214 void PrepareBspRenderList_BLV(); 1207 void PrepareBspRenderList_BLV();
1215 void __fastcall PrepareDecorationsRenderList_BLV(unsigned int uDecorationID, unsigned int uSectorID); 1208 void __fastcall PrepareDecorationsRenderList_BLV(unsigned int uDecorationID, unsigned int uSectorID);
1364 int __fastcall _46E889_collide_against_bmodels(unsigned int ecx0); 1357 int __fastcall _46E889_collide_against_bmodels(unsigned int ecx0);
1365 int collide_against_floor(int x, int y, int z, unsigned int *pSectorID, unsigned int *pFaceID); // idb 1358 int collide_against_floor(int x, int y, int z, unsigned int *pSectorID, unsigned int *pFaceID); // idb
1366 void __fastcall _46ED8A_collide_against_sprite_objects(unsigned int _this); 1359 void __fastcall _46ED8A_collide_against_sprite_objects(unsigned int _this);
1367 int __thiscall _46EF01_collision_chech_player(int a1); // idb 1360 int __thiscall _46EF01_collision_chech_player(int a1); // idb
1368 signed int __cdecl _46F04E_collide_against_portals(); 1361 signed int __cdecl _46F04E_collide_against_portals();
1369 void __cdecl BLV_UpdateDoors(); 1362 void BLV_UpdateDoors();
1370 void __cdecl UpdateActors_BLV(); 1363 void UpdateActors_BLV();
1371 void __cdecl UpdateActors_ODM(); 1364 void UpdateActors_ODM();
1372 void __cdecl UpdateObjects(); 1365 void UpdateObjects();
1373 int collide_against_floor_approximate(int x, int y, int z, unsigned int *pSectorID, unsigned int *pFaceID); // idb 1366 int collide_against_floor_approximate(int x, int y, int z, unsigned int *pSectorID, unsigned int *pFaceID); // idb
1374 void __cdecl BLV_ProcessPartyActions(); 1367 void BLV_ProcessPartyActions();
1375 void __cdecl ODM_ProcessPartyActions(); 1368 void ODM_ProcessPartyActions();
1376 bool __fastcall sub_47531C(int a1, int *a2, int a3, int a4, int a5, int a6, int a7, int a8, BLVFace *a9, int a10); 1369 bool __fastcall sub_47531C(int a1, int *a2, int a3, int a4, int a5, int a6, int a7, int a8, BLVFace *a9, int a10);
1377 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); 1370 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);
1378 signed int __thiscall sub_475665(BLVFace *_this, int a2, __int16 a3); 1371 signed int __thiscall sub_475665(BLVFace *_this, int a2, __int16 a3);
1379 bool __fastcall sub_4759C9(BLVFace *a1, int a2, int a3, __int16 a4); 1372 bool __fastcall sub_4759C9(BLVFace *a1, int a2, int a3, __int16 a4);
1380 bool __fastcall sub_475D85(Vec3_int_ *a1, Vec3_int_ *a2, int *a3, BLVFace *a4); 1373 bool __fastcall sub_475D85(Vec3_int_ *a1, Vec3_int_ *a2, int *a3, BLVFace *a4);
1385 void __cdecl loc_4789D4(); // idb 1378 void __cdecl loc_4789D4(); // idb
1386 void __cdecl loc_47907F(); // idb 1379 void __cdecl loc_47907F(); // idb
1387 bool __fastcall IsBModelVisible(unsigned int uModelID, int *unused); 1380 bool __fastcall IsBModelVisible(unsigned int uModelID, int *unused);
1388 void __thiscall ODM_LoadAndInitialize(const char *pLevelFilename, struct OutdoorCamera *thisa); 1381 void __thiscall ODM_LoadAndInitialize(const char *pLevelFilename, struct OutdoorCamera *thisa);
1389 unsigned __int16 *__fastcall GetBillboardPalette(struct RenderBillboard *a1, int a2, signed int a3, int a4); 1382 unsigned __int16 *__fastcall GetBillboardPalette(struct RenderBillboard *a1, int a2, signed int a3, int a4);
1390 int __fastcall sr_sub_47BEB1(signed int a1, stru148 *a2, int terrain_gamma, int a4, int *a5, int *a6, int a7, int a8);
1391 void *__fastcall sr_sub_47C178(signed int a1, stru148 *a2, int terrain_gamma, int a4);
1392 void *__fastcall sr_sub_47C1CA(stru148 *a1, char a2, int a3, signed int a4);
1393 unsigned __int16 *__fastcall sr_sub_47C24C_get_palette(BLVFace *a1, int a2, int a3, char a4);
1394 char *__fastcall sr_sub_47C28C_get_palette(stru148 *a1, char a2, signed int a3, signed int a4);
1395 unsigned int __cdecl GetLevelFogColor(); 1383 unsigned int __cdecl GetLevelFogColor();
1396 int __fastcall sub_47C3D7_get_fog_related_stuff(int a1, int a2, float a3); 1384 int __fastcall sub_47C3D7_get_fog_related_stuff(int a1, int a2, float a3);
1397 signed int __fastcall GetActorTintColor(int max_dim, int min_dim, float distance, int a4, struct RenderBillboard *a5); 1385 signed int __fastcall GetActorTintColor(int max_dim, int min_dim, float distance, int a4, struct RenderBillboard *a5);
1398 unsigned int __stdcall WorldPosToGridCellX(int); // weak 1386 unsigned int __stdcall WorldPosToGridCellX(int); // weak
1399 unsigned int __stdcall WorldPosToGridCellZ(int); // weak 1387 unsigned int __stdcall WorldPosToGridCellZ(int); // weak
1400 int __stdcall GridCellToWorldPosX(int); // weak 1388 int __stdcall GridCellToWorldPosX(int); // weak
1401 int __stdcall GridCellToWorldPosZ(int); // weak 1389 int __stdcall GridCellToWorldPosZ(int); // weak
1402 void __fastcall sub_47F4D3(int band1, int band2, int band3); 1390 void __fastcall sub_47F4D3(int band1, int band2, int band3);
1403 void __cdecl loc_481185(); // idb
1404 void __cdecl loc_48118F(); // idb 1391 void __cdecl loc_48118F(); // idb
1405 void __cdecl loc_481199(); // idb 1392 void __cdecl loc_481199(); // idb
1406 char __fastcall sr_sub_481DB2(RenderVertexSoft *a1, signed int a2, stru148 *a3); 1393 void __cdecl ResetPolygons();
1407 void __cdecl ResetStru148s();
1408 void __cdecl sub_481ED9_MessWithOutdoorCamera(); 1394 void __cdecl sub_481ED9_MessWithOutdoorCamera();
1409 bool __fastcall sub_481EFA(RenderVertexSoft *a1, RenderVertexSoft *a2, RenderVertexSoft *a3, RenderVertexSoft *a4, int a5); 1395 bool __fastcall sub_481EFA(RenderVertexSoft *a1, RenderVertexSoft *a2, RenderVertexSoft *a3, RenderVertexSoft *a4, int a5);
1410 signed int __fastcall sub_481FC9(RenderVertexSoft *_ECX, RenderVertexSoft *a2, RenderVertexSoft *a3, stru148 *a4); 1396 signed int __fastcall sub_481FC9(RenderVertexSoft *_ECX, RenderVertexSoft *a2, RenderVertexSoft *a3, struct Polygon *a4);
1411 bool IsTerrainSlopeTooHigh(int pos_x, int pos_y); 1397 bool IsTerrainSlopeTooHigh(int pos_x, int pos_y);
1412 int __fastcall GetTerrainHeightsAroundParty2(int a1, int a2, int *a3, int a4); 1398 int __fastcall GetTerrainHeightsAroundParty2(int a1, int a2, int *a3, int a4);
1413 struct stru148 *__fastcall sr_sub_4829B9(RenderVertexSoft *a1, RenderVertexSoft *a2, RenderVertexSoft *a3, stru148 *a4, int a5);
1414 signed int __cdecl const_1_0(); 1399 signed int __cdecl const_1_0();
1415 signed int __thiscall sr_sub_482A94(struct Span *_this);
1416 signed int __fastcall sr_sub_482E07(struct Span *a1, unsigned __int16 *pRenderTarget); // idb
1417 signed int __fastcall sr_sub_4839BD(struct Span *a1, unsigned __int16 *pTargetSurface); // idb
1418 signed int __thiscall sr_sub_48408A_prolly_odm_water_no_waves(struct Span *_this);
1419 signed int __thiscall sr_sub_484442(struct Span *_this);
1420 signed int __thiscall sr_sub_4847EB(struct Span *_this);
1421 signed int __fastcall sr_sub_485407_prolly_odm_water_wavy(struct Span *a1);
1422 signed int __fastcall sr_sub_48585C_mb_DrawSpan(struct Span *a1, unsigned __int16 *pRenderTarget, int a3); // idb
1423 struct stru315 *__fastcall sr_sub_485975(struct stru315 *a1, struct stru315 *a2);
1424 struct stru315 *__fastcall sr_sub_485A24(struct stru315 *a1, struct stru315 *a2);
1425 struct stru315 *__fastcall sr_sub_485AFF(struct stru315 *a1, struct stru316 *a2);
1426 struct stru315 *__fastcall sr_sub_485BAE(struct stru315 *a1, struct stru316 *a2);
1427 struct stru315 *__fastcall sr_sub_485C89(struct stru315 *a1, struct stru316 *a2);
1428 struct stru315 *__fastcall sr_sub_485D3E(struct stru315 *a1, struct stru316 *a2);
1429 void *__fastcall sr_sub_485E1F(struct stru316 *a1, Span *a2, int a3, struct stru148 *a4, int a5, unsigned __int8 a6, char a7);
1430 void __thiscall sub_485F53(struct Vec2_int_ *v); // idb
1431 char __fastcall sr_sub_486B4E_push_outdoor_edges(struct RenderVertexSoft *a1, int *a2, int *a3, stru148 *a4);
1432 void __cdecl sr_sub_486F92_MessWithEdgesAndSpans();
1433 void __cdecl sub_487DA9(); 1400 void __cdecl sub_487DA9();
1434 double __thiscall GetFogDensityByTime(struct OutdoorLocation *_this); 1401 double __thiscall GetFogDensityByTime(struct OutdoorLocation *_this);
1435 int __stdcall loc_489BB3(struct stru320 *a2, int thisa, unsigned int uNumVertices, RenderVertexSoft *a5, float a6, char uClipFlag); // weak 1402 int __stdcall loc_489BB3(struct stru320 *a2, int thisa, unsigned int uNumVertices, RenderVertexSoft *a5, float a6, char uClipFlag); // weak
1436 bool __fastcall HSV2RGB(float *a1, float *a2, float *a3, float a4, float a5, float a6); 1403 bool __fastcall HSV2RGB(float *a1, float *a2, float *a3, float a4, float a5, float a6);
1437 void __fastcall RGB2HSV(float *a1, float *a2, float a3, float a4, float a5, float *a6); 1404 void __fastcall RGB2HSV(float *a1, float *a2, float a3, float a4, float a5, float *a6);
1446 int _493938_regenerate(); 1413 int _493938_regenerate();
1447 void sub_493F79(struct stru351_summoned_item *_this, __int64 a2); 1414 void sub_493F79(struct stru351_summoned_item *_this, __int64 a2);
1448 void _494035_timed_effects__water_walking_damage__etc(); 1415 void _494035_timed_effects__water_walking_damage__etc();
1449 unsigned int __fastcall _494820_training_time(unsigned int a1); 1416 unsigned int __fastcall _494820_training_time(unsigned int a1);
1450 char *__fastcall sub_495366(unsigned __int8 a1, unsigned __int8 a2); 1417 char *__fastcall sub_495366(unsigned __int8 a1, unsigned __int8 a2);
1451 char * GetReputationString(signed int a1); 1418 char *GetReputationString(signed int a1);
1452 char *BuilDialogueString(char *lpsz, unsigned __int8 uPlayerID, struct ItemGen *a3, char *a4, int a5, __int64 *a6); 1419 char *BuilDialogueString(char *lpsz, unsigned __int8 uPlayerID, struct ItemGen *a3, char *a4, int a5, __int64 *a6);
1453 void PlayerCreationUI_Draw(); 1420 void PlayerCreationUI_Draw();
1454 void PlayerCreationUI_Initialize(); 1421 void PlayerCreationUI_Initialize();
1455 void DeleteCCharFont(); 1422 void DeleteCCharFont();
1456 bool PlayerCreationUI_Loop(); 1423 bool PlayerCreationUI_Loop();
1457 void loc_49B785(); // idb
1458 unsigned int __fastcall GetMaxMipLevels(unsigned int uDim); 1424 unsigned int __fastcall GetMaxMipLevels(unsigned int uDim);
1459 bool CheckTextureStages(); 1425 bool CheckTextureStages();
1460 bool AreRenderSurfacesOk(); 1426 bool AreRenderSurfacesOk();
1461 unsigned int BlendColors(unsigned int c1, unsigned int c2); // weak 1427 unsigned int BlendColors(unsigned int c1, unsigned int c2); // weak
1462 void DoRenderBillboards_D3D(); 1428 void DoRenderBillboards_D3D();
1469 int __fastcall sub_4AAEA6_transform(RenderVertexSoft *a1); 1435 int __fastcall sub_4AAEA6_transform(RenderVertexSoft *a1);
1470 int __fastcall sub_4AB66C(int, int); // weak 1436 int __fastcall sub_4AB66C(int, int); // weak
1471 int __fastcall GetSoundStrengthByDistanceFromParty(int a1, int a2, int a3); 1437 int __fastcall GetSoundStrengthByDistanceFromParty(int a1, int a2, int a3);
1472 struct _DIG_DRIVER *Audio_GetFirstHardwareDigitalDriver(void); 1438 struct _DIG_DRIVER *Audio_GetFirstHardwareDigitalDriver(void);
1473 void __cdecl PlayLevelMusic(); 1439 void __cdecl PlayLevelMusic();
1474 struct Vec4_int_ *__thiscall _4AC277_get_cpu_speed_sub3(unsigned int _this, Vec4_int_ *a2);
1475 int __fastcall sub_4AD504(signed int uFaceID);
1476 void __fastcall sub_4ADD1D(int uFaceID);
1477 int __fastcall sub_4AE1E7(int a1, int a2, int a3);
1478 int __fastcall sub_4AE313(int viewport_space_x, int viewport_space_y, struct stru337_stru0 *p);
1479 int __fastcall sub_4AE491(int, int); // weak
1480 void __fastcall sub_4AE5F1(unsigned int uFaceID); // idb
1481 int __cdecl sub_4AF412();
1482 //void __cdecl stru170_sub_4B0967_draw_face_outlines();
1483 void __cdecl loc_4B0DFB(); // idb
1484 void __cdecl nullsub_18(); // idb
1485 void __cdecl nullsub_19(); // idb
1486 unsigned int __fastcall sub_4B0E07(unsigned int uFaceID); // idb 1440 unsigned int __fastcall sub_4B0E07(unsigned int uFaceID); // idb
1487 void __cdecl nullsub_20(); // idb
1488 void __cdecl nullsub_21(); // idb
1489 struct Player *__fastcall sub_4B1447_party_fine(int a1, int a2, int a3); 1441 struct Player *__fastcall sub_4B1447_party_fine(int a1, int a2, int a3);
1490 void __thiscall sub_4B1523(int *_this); 1442 void __thiscall sub_4B1523(int *_this);
1491 bool __cdecl sub_4B1784_check_if_player_concious__draw_warning_else_mess_with_dlg_win(); 1443 bool __cdecl sub_4B1784_check_if_player_concious__draw_warning_else_mess_with_dlg_win();
1492 void __cdecl ShowPopupShopItem(); 1444 void __cdecl ShowPopupShopItem();
1493 void __stdcall RestAndHeal(__int64 uNumMinutes); // idb 1445 void __stdcall RestAndHeal(__int64 uNumMinutes); // idb
1504 void sub_4B3AD4(signed int a1); 1456 void sub_4B3AD4(signed int a1);
1505 void sub_4B3B42(signed int a1); 1457 void sub_4B3B42(signed int a1);
1506 void __cdecl sub_4B3E1E(); 1458 void __cdecl sub_4B3E1E();
1507 void DrawJoinGuildWindow(int pEventCode); 1459 void DrawJoinGuildWindow(int pEventCode);
1508 void __fastcall sub_4B3FE5(int a4); 1460 void __fastcall sub_4B3FE5(int a4);
1509 void NPCHireableDialogPrepare(); 1461 void NPCHireableDialogPrepare();
1510 void _4B4224_UpdateNPCTopics(int _this); 1462 void _4B4224_UpdateNPCTopics(int _this);
1511 void __fastcall DrawTextAtStatusBar(const char *Str, int a5); 1463 void __fastcall DrawTextAtStatusBar(const char *Str, int a5);
1512 int __fastcall sub_4B46F8(int a1); 1464 int __fastcall sub_4B46F8(int a1);
1513 1465
1514 signed int __fastcall sub_4BB756(signed int a1); 1466 signed int __fastcall sub_4BB756(signed int a1);
1515 const char *sub_4BBA85_bounties(); 1467 const char *sub_4BBA85_bounties();
1526 1478
1527 void __cdecl ShowIntroVideo_and_LoadingScreen(); 1479 void __cdecl ShowIntroVideo_and_LoadingScreen();
1528 unsigned int __thiscall GameOverMenu(void *ecx0); 1480 unsigned int __thiscall GameOverMenu(void *ecx0);
1529 bool __thiscall BinkLockBuffer(struct _BINKBUF *_this); 1481 bool __thiscall BinkLockBuffer(struct _BINKBUF *_this);
1530 void __thiscall BinkUnlockBuffer(struct _BINKBUF *_this); 1482 void __thiscall BinkUnlockBuffer(struct _BINKBUF *_this);
1531 void __cdecl loc_4C0D27(); // idb
1532 void __cdecl vis_nullsub_22(); // idb
1533 void __cdecl vis_nullsub_23(); // idb
1534 void __cdecl vis_loc_4C19F7(); // idb
1535 int __cdecl sr_sub_4D714C(struct stru315 *a1);
1536 int __cdecl sr_sub_4D71F8(struct stru315 *a1);
1537 void __cdecl sr_sub_4D754B(struct stru315 *a1, struct stru316 *a2);
1538 void __cdecl sr_sub_4D7630(struct stru315 *a1, struct stru316 *a2);
1539 void __cdecl sr_sub_4D76ED(struct stru315 *a1, struct stru316 *a2);
1540 void __cdecl sr_sub_4D77D2(struct stru315 *a1, struct stru316 *a2);
1541 void __cdecl sr_sub_4D789A(struct stru315 *a1, struct stru316 *a2);
1542 int __cdecl sub_4D798C(int a1, int a2, int a3, int a4);
1543 int __cdecl sub_4D79CF(int a1, int a2, int a3, int a4);
1544 int __cdecl sub_4D79FD(int a1, int a2, int a3, int a4);
1545 int __cdecl sub_4D7A10(int a1, int a2, int a3, int a4);
1546 int /*__usercall*/ sr_sub_4D72EC/*<eax>*/(int a1/*<ebp>*/);
1547 int /*__usercall*/ sr_sub_4D73DF/*<eax>*/(int a1/*<ebp>*/);
1548 signed int __fastcall SpawnRandomTreasure(struct MapInfo *a1, struct SpawnPointMM7 *a2); 1483 signed int __fastcall SpawnRandomTreasure(struct MapInfo *a1, struct SpawnPointMM7 *a2);
1549 void DamageMonsterFromParty(signed int a1, unsigned int uActorID_Monster, struct Vec3_int_ *pVelocity); 1484 void DamageMonsterFromParty(signed int a1, unsigned int uActorID_Monster, struct Vec3_int_ *pVelocity);
1550 1485
1551 1486
1552 #define ErrD3D(hr) do {extern void ErrHR(HRESULT, const char *, const char *, const char *, int); ErrHR(hr, "Direct3D", __FUNCTION__, __FILE__, __LINE__);} while(0) 1487 #define ErrD3D(hr) do {extern void ErrHR(HRESULT, const char *, const char *, const char *, int); ErrHR(hr, "Direct3D", __FUNCTION__, __FILE__, __LINE__);} while(0)