From 0c34f29c518bb0d96d2d21e49eedbedad1fbafb1 Mon Sep 17 00:00:00 2001 From: Guus Waals <_@guusw.nl> Date: Mon, 30 Sep 2024 23:29:13 +0800 Subject: [PATCH] WIP --- game_re/gh_global.cxx | 269 +--- game_re/gh_global.h | 269 +--- ..._for_dvd.cxx => Erm_fn_ClearLastError.cxx} | 8 +- .../gh_stub/{aoti.cxx => FUN_0043e4f0.cxx} | 8 +- game_re/gh_stub/FUN_0043f7e0.cxx | 14 + game_re/gh_stub/FUN_00441d70.cxx | 14 + .../{FUN_0054c9ab.cxx => FUN_00445880.cxx} | 8 +- game_re/gh_stub/FUN_004464b0.cxx | 14 + game_re/gh_stub/FUN_0046eea0.cxx | 14 + game_re/gh_stub/FUN_0046fe20.cxx | 14 + game_re/gh_stub/FUN_00470b50.cxx | 14 + game_re/gh_stub/FUN_0047c340.cxx | 2 +- game_re/gh_stub/FUN_0055d4b0.cxx | 14 + game_re/gh_stub/FUN_0055d500.cxx | 14 + game_re/gh_stub/FUN_0058f6a0.cxx | 14 + game_re/gh_stub/FUN_0058fca0.cxx | 14 + game_re/gh_stub/IPT_fn_vReadInput.cxx | 14 + game_re/gh_stub/SND_fn_bAddDataDirectory.cxx | 14 + game_re/gh_stub/TMR_fn_wCreateTimer.cxx | 14 + game_re/gh_stub/TMR_fn_wReadTimer.cxx | 14 + game_re/gh_stub/TMR_fn_wResetTimer.cxx | 14 + game_re/gh_stub/findFreeStructInArray.cxx | 14 + .../fn_p_stExtendedFopenForCNTinAVI.cxx | 14 + game_re/gh_stub/fn_p_vDynAlloc.cxx | 14 + game_re/gh_stub/fn_p_vStaAlloc.cxx | 14 + game_re/gh_stub/mmgGetThreadGroupModule.cxx | 14 + game_re/gh_stub/r3_allocFileWrapper.cxx | 14 + game_re/gh_stub/r3_beginLoadLevel.cxx | 14 + game_re/gh_stub/r3_closeFileWrapper.cxx | 14 + game_re/gh_stub/r3_module6_init.cxx | 14 + game_re/gh_stub/r3_setupWindow1.cxx | 14 + game_re/gh_stub/r3_unlockLoadLevelMutex.cxx | 14 + game_re/gh_stub/r3_wndGetFreeInnerIdx.cxx | 14 + game_re/gh_types.h | 1176 +++-------------- game_re/globals.txt | 269 +--- game_re/r3/binders/base.h | 1 + game_re/type_blacklist.txt | 3 + 37 files changed, 732 insertions(+), 1659 deletions(-) rename game_re/gh_stub/{r3_wait_for_dvd.cxx => Erm_fn_ClearLastError.cxx} (56%) rename game_re/gh_stub/{aoti.cxx => FUN_0043e4f0.cxx} (64%) create mode 100644 game_re/gh_stub/FUN_0043f7e0.cxx create mode 100644 game_re/gh_stub/FUN_00441d70.cxx rename game_re/gh_stub/{FUN_0054c9ab.cxx => FUN_00445880.cxx} (63%) create mode 100644 game_re/gh_stub/FUN_004464b0.cxx create mode 100644 game_re/gh_stub/FUN_0046eea0.cxx create mode 100644 game_re/gh_stub/FUN_0046fe20.cxx create mode 100644 game_re/gh_stub/FUN_00470b50.cxx create mode 100644 game_re/gh_stub/FUN_0055d4b0.cxx create mode 100644 game_re/gh_stub/FUN_0055d500.cxx create mode 100644 game_re/gh_stub/FUN_0058f6a0.cxx create mode 100644 game_re/gh_stub/FUN_0058fca0.cxx create mode 100644 game_re/gh_stub/IPT_fn_vReadInput.cxx create mode 100644 game_re/gh_stub/SND_fn_bAddDataDirectory.cxx create mode 100644 game_re/gh_stub/TMR_fn_wCreateTimer.cxx create mode 100644 game_re/gh_stub/TMR_fn_wReadTimer.cxx create mode 100644 game_re/gh_stub/TMR_fn_wResetTimer.cxx create mode 100644 game_re/gh_stub/findFreeStructInArray.cxx create mode 100644 game_re/gh_stub/fn_p_stExtendedFopenForCNTinAVI.cxx create mode 100644 game_re/gh_stub/fn_p_vDynAlloc.cxx create mode 100644 game_re/gh_stub/fn_p_vStaAlloc.cxx create mode 100644 game_re/gh_stub/mmgGetThreadGroupModule.cxx create mode 100644 game_re/gh_stub/r3_allocFileWrapper.cxx create mode 100644 game_re/gh_stub/r3_beginLoadLevel.cxx create mode 100644 game_re/gh_stub/r3_closeFileWrapper.cxx create mode 100644 game_re/gh_stub/r3_module6_init.cxx create mode 100644 game_re/gh_stub/r3_setupWindow1.cxx create mode 100644 game_re/gh_stub/r3_unlockLoadLevelMutex.cxx create mode 100644 game_re/gh_stub/r3_wndGetFreeInnerIdx.cxx diff --git a/game_re/gh_global.cxx b/game_re/gh_global.cxx index 676f9c85..ea272b81 100644 --- a/game_re/gh_global.cxx +++ b/game_re/gh_global.cxx @@ -1,76 +1,22 @@ // AUTO-GENERATED FILE #include -undefined *& PTR__BinkOpenDirectSound_4_0059733c= (undefined *&) GH_MEM(0x0059733c); +undefined& DAT_00598348= (undefined&) GH_MEM(0x00598348); +undefined& DAT_00598350= (undefined&) GH_MEM(0x00598350); +undefined& DAT_00598b7c= (undefined&) GH_MEM(0x00598b7c); +undefined& DAT_005990bc= (undefined&) GH_MEM(0x005990bc); undefined& DAT_005a9ed4= (undefined&) GH_MEM(0x005a9ed4); -char(&s__s_not_initialized__005b63e0)[20] = reinterpret_cast(GH_MEM(0x005b63e0)); -char(&s_Please_run_the__s_setup__005b63f4)[28] = reinterpret_cast(GH_MEM(0x005b63f4)); -char(&s_dashCC)[4] = reinterpret_cast(GH_MEM(0x005b6410)); -char(&s_Gli_Mode_005b6414)[12] = reinterpret_cast(GH_MEM(0x005b6414)); -char(&s_Identifier_005b6420)[16] = reinterpret_cast(GH_MEM(0x005b6420)); -char(&s_Check_your_version_of_DirectX__V_005b6430)[72] = reinterpret_cast(GH_MEM(0x005b6430)); -char(&lpText_005b6478)[120] = reinterpret_cast(GH_MEM(0x005b6478)); -char(&lpText_005b64f0)[80] = reinterpret_cast(GH_MEM(0x005b64f0)); -char(&lpText_005b6540)[72] = reinterpret_cast(GH_MEM(0x005b6540)); -char(&s_Rayman_3_005b6588)[16] = reinterpret_cast(GH_MEM(0x005b6588)); -char(&lpText_005b6598)[76] = reinterpret_cast(GH_MEM(0x005b6598)); -char(&s_Erreur_Rayman_3_005b65e4)[20] = reinterpret_cast(GH_MEM(0x005b65e4)); -char(&s_dpnhpast_dll_005b65f8)[16] = reinterpret_cast(GH_MEM(0x005b65f8)); -char(&s_DRAWSEM_005b6608)[8] = reinterpret_cast(GH_MEM(0x005b6608)); -char(&s_Restoring_data_____005b6610)[20] = reinterpret_cast(GH_MEM(0x005b6610)); -char(&s_QUIT)[8] = reinterpret_cast(GH_MEM(0x005b6624)); -char(&s_or_press_ESC_to_quit_Rayman_3__005b662c)[32] = reinterpret_cast(GH_MEM(0x005b662c)); -char(&s__s___Restoring_data____005b664c)[24] = reinterpret_cast(GH_MEM(0x005b664c)); -char(&s_Daten_Reparatur____005b6664)[20] = reinterpret_cast(GH_MEM(0x005b6664)); -char(&s_BEENDIGEN_005b6678)[12] = reinterpret_cast(GH_MEM(0x005b6678)); -char& CHAR_E_005b6684= (char&) GH_MEM(0x005b6684); -char(&s__s___Daten_Reparatur____005b66ac)[24] = reinterpret_cast(GH_MEM(0x005b66ac)); -char(&s_German_005b66c4)[8] = reinterpret_cast(GH_MEM(0x005b66c4)); -char(&s_Ripristino_dati____005b66cc)[20] = reinterpret_cast(GH_MEM(0x005b66cc)); -char(&s__s___Pausa_005b66e0)[12] = reinterpret_cast(GH_MEM(0x005b66e0)); -char(&s_USCIRE_005b66ec)[8] = reinterpret_cast(GH_MEM(0x005b66ec)); -char(&s_Premi_ESC_per_uscire_da_Rayman_3_005b66f4)[36] = reinterpret_cast(GH_MEM(0x005b66f4)); -char(&s__s___Ripristino_dati____005b6718)[24] = reinterpret_cast(GH_MEM(0x005b6718)); -char(&s_Italian_005b6730)[8] = reinterpret_cast(GH_MEM(0x005b6730)); -char(&s_Restablecer_datos____005b6738)[24] = reinterpret_cast(GH_MEM(0x005b6738)); -char(&s__s___Rotura_005b6750)[12] = reinterpret_cast(GH_MEM(0x005b6750)); -char(&s_SALIR_005b675c)[8] = reinterpret_cast(GH_MEM(0x005b675c)); -char(&s_Pulsa_ESC_para_salir_Rayman_3__005b6764)[32] = reinterpret_cast(GH_MEM(0x005b6764)); -char(&s__s___Restablecer_datos____005b6784)[28] = reinterpret_cast(GH_MEM(0x005b6784)); -char(&s_Spanish_005b67a0)[8] = reinterpret_cast(GH_MEM(0x005b67a0)); -char(&s_Restauration)[28] = reinterpret_cast(GH_MEM(0x005b67a8)); -char(&s__s___Pause_005b67c4)[11] = reinterpret_cast(GH_MEM(0x005b67c4)); -char(&s_ou_appuyez_sur_Echap_pour_quitte_005b67d0)[44] = reinterpret_cast(GH_MEM(0x005b67d0)); -char(&s_QUITTER)[8] = reinterpret_cast(GH_MEM(0x005b67fc)); -char(&s_Restauration_fmt)[36] = reinterpret_cast(GH_MEM(0x005b6804)); -char(&s_French_005b6828)[8] = reinterpret_cast(GH_MEM(0x005b6828)); +float& FLOAT_005aa028= (float&) GH_MEM(0x005aa028); +float& FLOAT_005aa02c= (float&) GH_MEM(0x005aa02c); char(&s_windowTitle)[12] = reinterpret_cast(GH_MEM(0x005b6830)); char(&s_percents)[4] = reinterpret_cast(GH_MEM(0x005b683c)); -const char* s_Language_005b6840 = "Language"; // 005b6840 -const char* s_English_005b684c = "English"; // 005b684c -const char* s_CompleteInstall_005b6854 = "CompleteInstall"; // 005b6854 -const char* s_SOFTWARE_UBI_SOFT_RAYMAN_3_005b6864 = "SOFTWARE\\UBI SOFT\\RAYMAN 3"; // 005b6864 -const char* s_Unable_to_find_R3_Setup_DX8_exe__005b6880 = "Unable to find R3_Setup_DX8.exe. Please reinstall the game."; // 005b6880 -const char* s_Rayman_3_Error_005b68bc = "Rayman 3 Error"; // 005b68bc -const char* fopen_mode_r_binary = "rb"; // 005b68cc -const char* s__R3_Setup_DX8_exe_005b68d0 = "\\R3_Setup_DX8.exe"; // 005b68d0 -const char* s_Adapter_005b68e4 = "Adapter"; // 005b68e4 -const char* fopen_mode_r_text = "rt"; // 005b68ec char(&lpAppName_005b68f0)[8] = reinterpret_cast(GH_MEM(0x005b68f0)); -const char* s_Directory_005b68f8 = "Directory"; // 005b68f8 -const char* s_None = "None"; // 005b6904 const char* s_UbiSoft_Ubi_ini = "/UbiSoft/Ubi.ini"; // 005b690c -undefined& DAT_005b6d10= (undefined&) GH_MEM(0x005b6d10); -undefined *& PTR_fassign= (undefined *&) GH_MEM(0x005b6de8); -char& DAT_005b93b0= (char&) GH_MEM(0x005b93b0); -undefined& s_percent_d= (undefined&) GH_MEM(0x005bad58); +undefined2& DAT_005b9f64= (undefined2&) GH_MEM(0x005b9f64); +const char* s_percent_s_path_2 = "%s\\%s"; // 005ba354 +undefined2& DAT_005bad00= (undefined2&) GH_MEM(0x005bad00); byte& g_errMod0= (byte&) GH_MEM(0x005bd29c); -const char* s_Warning_error__005bd318 = "Warning error: "; // 005bd318 -const char* s_Fatale_error__005bd328 = "\nFatale error: "; // 005bd328 -const char* s_Fatale_error__005bd338 = "Fatale error: "; // 005bd338 -const char* s_Strange__The_last_error_was_neve_005bd348 = "Strange!\nThe last error was never treated"; // 005bd348 -const char* s_Error_in_the_Erm__005bd374 = "Error in the Erm:"; // 005bd374 -const char* s_There_is_no_more_Channel_error_t_005bd388 = "There is no more Channel error to raise the new error.\nPerhaps the constant C_ucErmNbOfErrorChannel is too low."; // 005bd388 -byte& g_errMod1= (byte&) GH_MEM(0x005bd4cc); +undefined4& DAT_005bd454= (undefined4&) GH_MEM(0x005bd454); +const char* s__jc_z_d__s_005bd460 = "\\jc\\z%d:%s"; // 005bd460 byte& g_errModMmg= (byte&) GH_MEM(0x005bd58c); char& DAT_005bd5f4= (char&) GH_MEM(0x005bd5f4); const char* s_Video_AutoAdjustQuality_005bd630 = "Video_AutoAdjustQuality"; // 005bd630 @@ -78,185 +24,84 @@ const char* s_Video_BPP_005bd648 = "Video_BPP"; // 005bd648 const char* s_Video_RealQuality_005bd654 = "Video_RealQuality"; // 005bd654 const char* s_Rayman_Arena_005bd668 = "Rayman Arena"; // 005bd668 const char* s_Video_WantedQuality_005bd678 = "Video_WantedQuality"; // 005bd678 -const char* s_Videos_005bd72c = "Videos"; // 005bd72c -byte& g_errMod2Bink= (byte&) GH_MEM(0x005bd7ac); -const char* s__World_Sound_005bd9e8 = "\\World\\Sound"; // 005bd9e8 -const char* s__Options_005bd9f8 = "\\Options"; // 005bd9f8 -const char* s__Vignette_005bda04 = "\\Vignette"; // 005bda04 -const char* s__sBIN__s_005bda10 = "%sBIN\\%s"; // 005bda10 -const char* s__SaveGame_005bda1c = "\\SaveGame"; // 005bda1c -const char* s__World_Levels_005bda28 = "\\World\\Levels"; // 005bda28 -undefined& s_World= (undefined&) GH_MEM(0x005bda38); -undefined& DAT_005bda3c= (undefined&) GH_MEM(0x005bda3c); -char& DAT_005bda3e= (char&) GH_MEM(0x005bda3e); -undefined& s_DLL= (undefined&) GH_MEM(0x005bda40); -const char* s_UbiSoft_bmp_005bda4c = "UbiSoft.bmp"; // 005bda4c -UINT& g_modemQuality= (UINT&) GH_MEM(0x005bdca0); -UINT& g_UDPPort= (UINT&) GH_MEM(0x005bdca4); +const char* s__s_s_World_Sound_005bd9d0 = "%s%s\\World\\Sound"; // 005bd9d0 +char(&s_BIN_005bd9e4)[4] = reinterpret_cast(GH_MEM(0x005bd9e4)); +char& DAT_005bdc9c= (char&) GH_MEM(0x005bdc9c); +const char* s__level__005bdfd0 = "-level:"; // 005bdfd0 const char* s_R3_DVD_005bdfd8 = "R3_DVD"; // 005bdfd8 -const char* s_R3_DVD_005be0ec = "R3_DVD"; // 005be0ec -const char* s__s_DVD_missing_005be0f4 = "%s DVD missing "; // 005be0f4 -const char* s_Die__s_DVDROM_kann_nicht_gelesen_005be130 = "Die %s DVDROM kann nicht gelesen werden"; // 005be130 -const char* s_Impossibile_trovare_il_DVD____s_005be198 = "Impossibile trovare il DVD : %s"; // 005be198 -undefined& DAT_005be1ec= (undefined&) GH_MEM(0x005be1ec); -const char* s_Impossible_de_trouver_le_DVD_____005be238 = "Impossible de trouver le DVD : %s"; // 005be238 -const char* s_ModemQuality_005be2ec = "ModemQuality"; // 005be2ec -const char* s_UDPPort_005be2fc = "UDPPort"; // 005be2fc -pointer& s_Yes= (pointer&) GH_MEM(0x005be304); -const char* s_SingleProcessor_005be308 = "SingleProcessor"; // 005be308 -undefined& lpDefault_005be318= (undefined&) GH_MEM(0x005be318); -const char* s_StartDirectory_005be31c = "StartDirectory"; // 005be31c -const char* s_Gamedata_005be32c = "Gamedata"; // 005be32c -const char* s_Camera_VerticalAxis_005be338 = "Camera_VerticalAxis"; // 005be338 -const char* s_Camera_HorizontalAxis_005be34c = "Camera_HorizontalAxis"; // 005be34c -const char* s_Complete_005be364 = "Complete"; // 005be364 -undefined& lpDefault_005be370= (undefined&) GH_MEM(0x005be370); -const char* s_SoundOnHD_005be374 = "SoundOnHD"; // 005be374 -undefined& lpDefault_005be380= (undefined&) GH_MEM(0x005be380); -const char* s_TexturesMem_005be384 = "TexturesMem"; // 005be384 -pointer& s_Agp= (pointer&) GH_MEM(0x005be390); -const char* s_Outline_005be394 = "Outline"; // 005be394 -const char* s_StaticShadows_005be39c = "StaticShadows"; // 005be39c -const char* s_DynamicShadows_005be3ac = "DynamicShadows"; // 005be3ac -const char* s_TriLinear_005be3bc = "TriLinear"; // 005be3bc -pointer& s_Tnl= (pointer&) GH_MEM(0x005be3c8); -const char* s_TexturesCompressed_005be3cc = "TexturesCompressed"; // 005be3cc -const char* s_GLI_Mode_005be3e0 = "GLI_Mode"; // 005be3e0 -const char* g_default_display_mode = "1 - 640 x 480 x 16"; // 005be3ec -const char* s_Please_insert_the_DVD_in_the_DVD_005be400 = "Please insert the DVD in the DVD-Rom drive."; // 005be400 -const char* s_Bitte_legen_Sie_DVD_von_Rayman_3_005be438 = "Bitte legen Sie DVD von Rayman 3 in Ihr DVD-ROM Laufwerk ein."; // 005be438 -const char* s_Inserisci_il_DVD_di_Rayman_3_nel_005be484 = "Inserisci il DVD di Rayman 3 nel lettore DVD-ROM."; // 005be484 -const char* s_Introduce_el_DVD_de_Rayman_3_en_l_005be4c0 = "Introduce el DVD de Rayman 3 en la unidad de DVD-ROM."; // 005be4c0 -undefined& DAT_005be500= (undefined&) GH_MEM(0x005be500); -const char* s_fmt_c_colon_s = "%c:%s"; // 005be540 -const char* s_r3_program_files = "\\program files\\Ubi Soft\\Rayman3"; // 005be548 -undefined *& PTR_DAT_005be568= (undefined *&) GH_MEM(0x005be568); -byte& g_errModFirst= (byte&) GH_MEM(0x005be6f0); -dword& g_modId4= (dword&) GH_MEM(0x005be8ac); -byte& g_errMod5= (byte&) GH_MEM(0x005befbc); -char(&s_M_005bf004)[2] = reinterpret_cast(GH_MEM(0x005bf004)); -char(&s_S_005bf008)[2] = reinterpret_cast(GH_MEM(0x005bf008)); +const char* s_Tex32_2_cnt_005be290 = "Tex32_2.cnt"; // 005be290 +const char* s_Tex32_1_cnt_005be29c = "Tex32_1.cnt"; // 005be29c +const char* s_Tex16_1_cnt_005be2a8 = "Tex16_1.cnt"; // 005be2a8 +const char* s_Tex16_2_cnt_005be2b4 = "Tex16_2.cnt"; // 005be2b4 +const char* s_TexturesQuality_005be2c0 = "TexturesQuality"; // 005be2c0 +const char* s_VignettesFile_005be2dc = "VignettesFile"; // 005be2dc +const char* s_Please_insert_the_CD_005be980 = "Please insert the CD"; // 005be980 +byte& g_errMod6= (byte&) GH_MEM(0x005bf5fc); +dword& g_needToInitMod6= (dword&) GH_MEM(0x005bf600); +const char* s_V5_9_0___August_11th_1997_005bf608 = "V5.9.0 - August 11th 1997"; // 005bf608 +char& DAT_005bf690= (char&) GH_MEM(0x005bf690); const char* s__08X__04X__04X__02X_02X__02X_02X_005bf6d8 = "%08X-%04X-%04X-%02X%02X-%02X%02X%02X%02X%02X%02X"; // 005bf6d8 -dword& r3_textureMemMode= (dword&) GH_MEM(0x005bf740); -const char* s_Agp8_005bf744 = "Agp8"; // 005bf744 -const char* s_Agp4_005bf74c = "Agp4"; // 005bf74c -const char* s_Vram8_005bf754 = "Vram8"; // 005bf754 -const char* s_Vram4_005bf75c = "Vram4"; // 005bf75c -const char* s_VramPlus_005bf764 = "Vram+"; // 005bf764 -const char* s_Vram = "Vram"; // 005bf76c byte& g_errMod7= (byte&) GH_MEM(0x005c069c); -undefined2& DAT_005c0f20= (undefined2&) GH_MEM(0x005c0f20); -char& DAT_005c0f22= (char&) GH_MEM(0x005c0f22); byte& g_errMod17= (byte&) GH_MEM(0x005c1400); -byte& g_errMod8= (byte&) GH_MEM(0x005c4b0c); -byte& g_errMod9= (byte&) GH_MEM(0x005c4dcc); -byte& g_errMod3= (byte&) GH_MEM(0x005c506c); byte& g_errMod10= (byte&) GH_MEM(0x005c51f4); -UINT& g_config_camera_hor_axis= (UINT&) GH_MEM(0x005c67c8); -UINT& g_config_camera_ver_axis= (UINT&) GH_MEM(0x005c67cc); -const char* s_____005ca864 = " \t-\r]"; // 005ca864 -undefined1& DAT_005ca86c= (undefined1&) GH_MEM(0x005ca86c); -byte& g_errMod11= (byte&) GH_MEM(0x005caf2c); char& g_errMod12= (char&) GH_MEM(0x005cb16c); -byte& g_errMod14= (byte&) GH_MEM(0x005cf5d4); -byte& g_errMod15= (byte&) GH_MEM(0x005cf814); -byte& g_errMod16= (byte&) GH_MEM(0x005cf874); HWND& g_gameHWND1= (HWND&) GH_MEM(0x005cf964); long& lpDefault_005cf96c= (long&) GH_MEM(0x005cf96c); -dword& DWORD_005cfa20= (dword&) GH_MEM(0x005cfa20); -int& DAT_005cfb64= (int&) GH_MEM(0x005cfb64); -UINT& CodePage_005cfb74= (UINT&) GH_MEM(0x005cfb74); -byte& g_ucErmNbOfModule= (byte&) GH_MEM(0x005d2638); -mod1_ptrs& g_mod1_ptrs= (mod1_ptrs&) GH_MEM(0x005d2644); windowCreationParams& g_currentBinkMovie= (windowCreationParams&) GH_MEM(0x005d2660); -undefined& DAT_005d266c= (undefined&) GH_MEM(0x005d266c); -undefined1& DAT_005d266d= (undefined1&) GH_MEM(0x005d266d); -undefined1& DAT_005d26a8= (undefined1&) GH_MEM(0x005d26a8); -undefined& lpVolumeNameBuffer_005d27b0= (undefined&) GH_MEM(0x005d27b0); r3_main_data& r3_main_data_005d28b6= (r3_main_data&) GH_MEM(0x005d28b6); -undefined& g_soundOnHD= (undefined&) GH_MEM(0x005d29bc); -undefined& g_complete= (undefined&) GH_MEM(0x005d29c0); -undefined4& DAT_005d29c8= (undefined4&) GH_MEM(0x005d29c8); -int& DAT_005e6b00= (int&) GH_MEM(0x005e6b00); -undefined& DAT_005e6b04= (undefined&) GH_MEM(0x005e6b04); -int& DAT_005f5e24= (int&) GH_MEM(0x005f5e24); -byte& m7_unk1= (byte&) GH_MEM(0x0063bec0); +dword& DWORD_005d29c4= (dword&) GH_MEM(0x005d29c4); +undefined4& DAT_005e6b28= (undefined4&) GH_MEM(0x005e6b28); +undefined& DAT_005e6b2c= (undefined&) GH_MEM(0x005e6b2c); +undefined4& DAT_005e6b30= (undefined4&) GH_MEM(0x005e6b30); +undefined4& DAT_005e6b34= (undefined4&) GH_MEM(0x005e6b34); +int& g_lastFrameTime= (int&) GH_MEM(0x005e6c34); +undefined& DAT_005e6c38= (undefined&) GH_MEM(0x005e6c38); +undefined4& g_currentFrameTime= (undefined4&) GH_MEM(0x005e6c3c); +undefined4& DAT_005e6c40= (undefined4&) GH_MEM(0x005e6c40); +undefined& DAT_005e6c44= (undefined&) GH_MEM(0x005e6c44); +short& DAT_005e6c46= (short&) GH_MEM(0x005e6c46); +int& DAT_005e6c48= (int&) GH_MEM(0x005e6c48); +FIL_tdstConcatFile *& g_textureConcatFile= (FIL_tdstConcatFile *&) GH_MEM(0x005e6c54); +r3_astruct_2& g_startOfGfxStruct= (r3_astruct_2&) GH_MEM(0x005f5e24); char& g_m7_criticalSectionInitialized= (char&) GH_MEM(0x0063bec4); +FIL_tdstConcatFile *& g_fileWrapper1= (FIL_tdstConcatFile *&) GH_MEM(0x00754eb0); int& INT_0077d0a4= (int&) GH_MEM(0x0077d0a4); int& g_runMaximized= (int&) GH_MEM(0x0077d0a8); WPARAM& g_engineShouldRun= (WPARAM&) GH_MEM(0x0077d0b0); int& g_engineRunning= (int&) GH_MEM(0x0077d0b4); -undefined4& DAT_0077d0b8= (undefined4&) GH_MEM(0x0077d0b8); +undefined4& g_windowCloseRequested= (undefined4&) GH_MEM(0x0077d0b8); HANDLE& g_drawSemaphore= (HANDLE&) GH_MEM(0x0077d0bc); -char(&g_mutexName_Rayman3)[256] = reinterpret_cast(GH_MEM(0x0077d0c0)); char(&g_windowTitle)[256] = reinterpret_cast(GH_MEM(0x0077d1c0)); -char(&lpString_0077d2c0)[256] = reinterpret_cast(GH_MEM(0x0077d2c0)); -char(&s_windowTitleRestoring)[256] = reinterpret_cast(GH_MEM(0x0077d3c0)); -HINSTANCE& g_hinstance= (HINSTANCE&) GH_MEM(0x0077d4c0); HWND& g_gameHWND= (HWND&) GH_MEM(0x0077d4c4); -HANDLE& g_mainThreadHandle= (HANDLE&) GH_MEM(0x0077d4c8); -word& WORD_0077d4d4= (word&) GH_MEM(0x0077d4d4); -word& WORD_0077d4d6= (word&) GH_MEM(0x0077d4d6); -dword& DWORD_0077d4d8= (dword&) GH_MEM(0x0077d4d8); -char(&g_appCmdLine)[256] = reinterpret_cast(GH_MEM(0x0077d4e0)); -char(&s_wndStrRestoring)[256] = reinterpret_cast(GH_MEM(0x0077d5e0)); -int& DAT_0077d704= (int&) GH_MEM(0x0077d704); -undefined& __unguarded_readlc_active= (undefined&) GH_MEM(0x0077d708); -undefined4& DAT_0077d960= (undefined4&) GH_MEM(0x0077d960); -FILE *& uNumber_0077da60= (FILE *&) GH_MEM(0x0077da60); char(&g_gameDataPath)[64] = reinterpret_cast(GH_MEM(0x00781660)); -undefined& DAT_00782086= (undefined&) GH_MEM(0x00782086); -char(&lpBuffer_00782088)[260] = reinterpret_cast(GH_MEM(0x00782088)); +undefined1& g_savegamePath= (undefined1&) GH_MEM(0x00781868); +undefined& DAT_0078196c= (undefined&) GH_MEM(0x0078196c); +undefined& s_world_levels= (undefined&) GH_MEM(0x00781a70); +undefined& DAT_00781b74= (undefined&) GH_MEM(0x00781b74); +undefined& DAT_00781e80= (undefined&) GH_MEM(0x00781e80); +undefined& DAT_00781f84= (undefined&) GH_MEM(0x00781f84); +undefined& s_MoviePath= (undefined&) GH_MEM(0x00782394); char(&s_quitting1)[64] = reinterpret_cast(GH_MEM(0x007825c0)); char(&s_wndStrQuiting)[56] = reinterpret_cast(GH_MEM(0x00782600)); tdstLastErrorInfo(&g_stErmTheLastErrorInfo)[3] = reinterpret_cast(GH_MEM(0x00782640)); -pointer& g_errDat4= (pointer&) GH_MEM(0x00782644); -undefined1& DAT_0078266c= (undefined1&) GH_MEM(0x0078266c); tdstBlockInfoPriv *(&g_a_p_stMmgModuleBlocksInfo)[255] = reinterpret_cast(GH_MEM(0x0078f6a0)); undefined& g_MmgCriticalSection= (undefined&) GH_MEM(0x0078faa0); char(&g_a_ucBlocksNbInModule)[255] = reinterpret_cast(GH_MEM(0x0078fac0)); tdstGeneralChannelsInfo_& g_stGeneralChannelInfo= (tdstGeneralChannelsInfo_&) GH_MEM(0x0078fbc0); tdstCurrentModeInfo *& g_d_stCurrentModeInfo= (tdstCurrentModeInfo *&) GH_MEM(0x0078fbc8); -undefined4& DAT_00794cec= (undefined4&) GH_MEM(0x00794cec); -dword& DWORD_00794d00= (dword&) GH_MEM(0x00794d00); -dword& DWORD_00794d04= (dword&) GH_MEM(0x00794d04); undefined1& DAT_007a0cd8= (undefined1&) GH_MEM(0x007a0cd8); undefined4& g_windowClearColor= (undefined4&) GH_MEM(0x007a2c14); byte& g_bink_videoBpp= (byte&) GH_MEM(0x007a2e00); byte& g_bink_wantedVideoQuality= (byte&) GH_MEM(0x007a2e02); byte& g_bink_realVideoQuality= (byte&) GH_MEM(0x007a2e03); byte& g_bink_autoAdjustQuality= (byte&) GH_MEM(0x007a2e04); -uint& DAT_007a2e0c= (uint&) GH_MEM(0x007a2e0c); -int& g_bink_wantedVideoQualityPlus1= (int&) GH_MEM(0x007a2e10); -undefined& DAT_007d78b9= (undefined&) GH_MEM(0x007d78b9); -undefined& DAT_007d78ba= (undefined&) GH_MEM(0x007d78ba); -undefined& DAT_007d78bb= (undefined&) GH_MEM(0x007d78bb); -undefined& DAT_007d78bc= (undefined&) GH_MEM(0x007d78bc); -undefined& DAT_007d78bd= (undefined&) GH_MEM(0x007d78bd); -undefined& DAT_007d78be= (undefined&) GH_MEM(0x007d78be); -undefined4& DAT_007d79e8= (undefined4&) GH_MEM(0x007d79e8); -undefined4& DAT_007d79ec= (undefined4&) GH_MEM(0x007d79ec); -undefined4& DAT_007d79f0= (undefined4&) GH_MEM(0x007d79f0); -undefined& DAT_007d7d84= (undefined&) GH_MEM(0x007d7d84); +undefined& g_haveCmdlineLevel= (undefined&) GH_MEM(0x007d7d8c); GAM_tdstEngineStructure& g_r3_engine= (GAM_tdstEngineStructure&) GH_MEM(0x007d7dc0); -undefined2& DAT_007d7ea8= (undefined2&) GH_MEM(0x007d7ea8); -short& DAT_007d80f8= (short&) GH_MEM(0x007d80f8); -undefined4& DAT_007d83a8= (undefined4&) GH_MEM(0x007d83a8); -r3_TaggedFloatUnk& r3_TaggedFloatUnk_007d83e0= (r3_TaggedFloatUnk&) GH_MEM(0x007d83e0); -r3_TaggedFloatUnk& r3_TaggedFloatUnk_007d8434= (r3_TaggedFloatUnk&) GH_MEM(0x007d8434); -undefined& DAT_007d98fd= (undefined&) GH_MEM(0x007d98fd); -undefined& DAT_007d9928= (undefined&) GH_MEM(0x007d9928); -uint& DAT_007d9cc4= (uint&) GH_MEM(0x007d9cc4); -undefined& g_config_unused0= (undefined&) GH_MEM(0x007d9df0); -undefined& lpSystemTime_007d9e40= (undefined&) GH_MEM(0x007d9e40); -undefined4& DAT_007d9e60= (undefined4&) GH_MEM(0x007d9e60); -word& WORD_007d9e68= (word&) GH_MEM(0x007d9e68); -char(&sz_S)[2] = reinterpret_cast(GH_MEM(0x007d9e6a)); -word& WORD_007d9e6c= (word&) GH_MEM(0x007d9e6c); -char(&sz_M)[2] = reinterpret_cast(GH_MEM(0x007d9e6e)); -undefined& lpRootPathName_007d9e70= (undefined&) GH_MEM(0x007d9e70); -undefined3& UNK_007d9e71= (undefined3&) GH_MEM(0x007d9e71); +undefined& lpReturnedString_007d9aa0= (undefined&) GH_MEM(0x007d9aa0); +undefined& g_texturesFilenameBuf= (undefined&) GH_MEM(0x007d9ce0); dword& g_unkModuleIdByte= (dword&) GH_MEM(0x007eb200); +int& g_engine_= (int&) GH_MEM(0x007eba24); +IDirect3DDevice8 *& gfx_device= (IDirect3DDevice8 *&) GH_MEM(0x007edb18); undefined& g_GLI_fullscreen= (undefined&) GH_MEM(0x007edd40); int& g_GLI_width0= (int&) GH_MEM(0x007edd44); int& g_GLI_height0= (int&) GH_MEM(0x007edd48); @@ -265,12 +110,10 @@ undefined1& g_GLI_fullscreen1= (undefined1&) GH_MEM(0x007edd50); int& g_GLI_width1= (int&) GH_MEM(0x007edd54); int& g_GLI_height1= (int&) GH_MEM(0x007edd58); int& g_GLI_bitdepth1= (int&) GH_MEM(0x007edd5c); -UINT& g_GLI_adapter= (UINT&) GH_MEM(0x007edd60); -undefined1& g_GLI_tnl= (undefined1&) GH_MEM(0x007edd64); -undefined1& g_config_tex_compressed= (undefined1&) GH_MEM(0x007edd65); -undefined1& g_GLI_trilinear= (undefined1&) GH_MEM(0x007edd66); +undefined4& g_GLI_adapter= (undefined4&) GH_MEM(0x007edd60); GUID& g_GLI_identifier= (GUID&) GH_MEM(0x007edd70); float& g_GLI_mode_float= (float&) GH_MEM(0x007edd80); +windowInstance *(&g_windowTab)[16] = reinterpret_cast(GH_MEM(0x007edda0)); m7_init_struct& g_m7_init_struct= (m7_init_struct&) GH_MEM(0x007edde0); undefined& m7_mmgBlockInitialized= (undefined&) GH_MEM(0x007eddf9); undefined& g_mod7CriticalSection= (undefined&) GH_MEM(0x007ede20); diff --git a/game_re/gh_global.h b/game_re/gh_global.h index 9fd70b65..128232fc 100644 --- a/game_re/gh_global.h +++ b/game_re/gh_global.h @@ -5,77 +5,23 @@ #include -extern undefined *& PTR__BinkOpenDirectSound_4_0059733c; // 0059733c +extern undefined& DAT_00598348; // 00598348 +extern undefined& DAT_00598350; // 00598350 +extern undefined& DAT_00598b7c; // 00598b7c +extern undefined& DAT_005990bc; // 005990bc extern undefined& DAT_005a9ed4; // 005a9ed4 -extern char(&s__s_not_initialized__005b63e0)[20]; // 005b63e0 -extern char(&s_Please_run_the__s_setup__005b63f4)[28]; // 005b63f4 -extern char(&s_dashCC)[4]; // 005b6410 -extern char(&s_Gli_Mode_005b6414)[12]; // 005b6414 -extern char(&s_Identifier_005b6420)[16]; // 005b6420 -extern char(&s_Check_your_version_of_DirectX__V_005b6430)[72]; // 005b6430 -extern char(&lpText_005b6478)[120]; // 005b6478 -extern char(&lpText_005b64f0)[80]; // 005b64f0 -extern char(&lpText_005b6540)[72]; // 005b6540 -extern char(&s_Rayman_3_005b6588)[16]; // 005b6588 -extern char(&lpText_005b6598)[76]; // 005b6598 -extern char(&s_Erreur_Rayman_3_005b65e4)[20]; // 005b65e4 -extern char(&s_dpnhpast_dll_005b65f8)[16]; // 005b65f8 -extern char(&s_DRAWSEM_005b6608)[8]; // 005b6608 -extern char(&s_Restoring_data_____005b6610)[20]; // 005b6610 -extern char(&s_QUIT)[8]; // 005b6624 -extern char(&s_or_press_ESC_to_quit_Rayman_3__005b662c)[32]; // 005b662c -extern char(&s__s___Restoring_data____005b664c)[24]; // 005b664c -extern char(&s_Daten_Reparatur____005b6664)[20]; // 005b6664 -extern char(&s_BEENDIGEN_005b6678)[12]; // 005b6678 -extern char& CHAR_E_005b6684; // 005b6684 -extern char(&s__s___Daten_Reparatur____005b66ac)[24]; // 005b66ac -extern char(&s_German_005b66c4)[8]; // 005b66c4 -extern char(&s_Ripristino_dati____005b66cc)[20]; // 005b66cc -extern char(&s__s___Pausa_005b66e0)[12]; // 005b66e0 -extern char(&s_USCIRE_005b66ec)[8]; // 005b66ec -extern char(&s_Premi_ESC_per_uscire_da_Rayman_3_005b66f4)[36]; // 005b66f4 -extern char(&s__s___Ripristino_dati____005b6718)[24]; // 005b6718 -extern char(&s_Italian_005b6730)[8]; // 005b6730 -extern char(&s_Restablecer_datos____005b6738)[24]; // 005b6738 -extern char(&s__s___Rotura_005b6750)[12]; // 005b6750 -extern char(&s_SALIR_005b675c)[8]; // 005b675c -extern char(&s_Pulsa_ESC_para_salir_Rayman_3__005b6764)[32]; // 005b6764 -extern char(&s__s___Restablecer_datos____005b6784)[28]; // 005b6784 -extern char(&s_Spanish_005b67a0)[8]; // 005b67a0 -extern char(&s_Restauration)[28]; // 005b67a8 -extern char(&s__s___Pause_005b67c4)[11]; // 005b67c4 -extern char(&s_ou_appuyez_sur_Echap_pour_quitte_005b67d0)[44]; // 005b67d0 -extern char(&s_QUITTER)[8]; // 005b67fc -extern char(&s_Restauration_fmt)[36]; // 005b6804 -extern char(&s_French_005b6828)[8]; // 005b6828 +extern float& FLOAT_005aa028; // 005aa028 +extern float& FLOAT_005aa02c; // 005aa02c extern char(&s_windowTitle)[12]; // 005b6830 extern char(&s_percents)[4]; // 005b683c -extern const char* s_Language_005b6840; // 005b6840 -extern const char* s_English_005b684c; // 005b684c -extern const char* s_CompleteInstall_005b6854; // 005b6854 -extern const char* s_SOFTWARE_UBI_SOFT_RAYMAN_3_005b6864; // 005b6864 -extern const char* s_Unable_to_find_R3_Setup_DX8_exe__005b6880; // 005b6880 -extern const char* s_Rayman_3_Error_005b68bc; // 005b68bc -extern const char* fopen_mode_r_binary; // 005b68cc -extern const char* s__R3_Setup_DX8_exe_005b68d0; // 005b68d0 -extern const char* s_Adapter_005b68e4; // 005b68e4 -extern const char* fopen_mode_r_text; // 005b68ec extern char(&lpAppName_005b68f0)[8]; // 005b68f0 -extern const char* s_Directory_005b68f8; // 005b68f8 -extern const char* s_None; // 005b6904 extern const char* s_UbiSoft_Ubi_ini; // 005b690c -extern undefined& DAT_005b6d10; // 005b6d10 -extern undefined *& PTR_fassign; // 005b6de8 -extern char& DAT_005b93b0; // 005b93b0 -extern undefined& s_percent_d; // 005bad58 +extern undefined2& DAT_005b9f64; // 005b9f64 +extern const char* s_percent_s_path_2; // 005ba354 +extern undefined2& DAT_005bad00; // 005bad00 extern byte& g_errMod0; // 005bd29c -extern const char* s_Warning_error__005bd318; // 005bd318 -extern const char* s_Fatale_error__005bd328; // 005bd328 -extern const char* s_Fatale_error__005bd338; // 005bd338 -extern const char* s_Strange__The_last_error_was_neve_005bd348; // 005bd348 -extern const char* s_Error_in_the_Erm__005bd374; // 005bd374 -extern const char* s_There_is_no_more_Channel_error_t_005bd388; // 005bd388 -extern byte& g_errMod1; // 005bd4cc +extern undefined4& DAT_005bd454; // 005bd454 +extern const char* s__jc_z_d__s_005bd460; // 005bd460 extern byte& g_errModMmg; // 005bd58c extern char& DAT_005bd5f4; // 005bd5f4 extern const char* s_Video_AutoAdjustQuality_005bd630; // 005bd630 @@ -83,185 +29,84 @@ extern const char* s_Video_BPP_005bd648; // 005bd648 extern const char* s_Video_RealQuality_005bd654; // 005bd654 extern const char* s_Rayman_Arena_005bd668; // 005bd668 extern const char* s_Video_WantedQuality_005bd678; // 005bd678 -extern const char* s_Videos_005bd72c; // 005bd72c -extern byte& g_errMod2Bink; // 005bd7ac -extern const char* s__World_Sound_005bd9e8; // 005bd9e8 -extern const char* s__Options_005bd9f8; // 005bd9f8 -extern const char* s__Vignette_005bda04; // 005bda04 -extern const char* s__sBIN__s_005bda10; // 005bda10 -extern const char* s__SaveGame_005bda1c; // 005bda1c -extern const char* s__World_Levels_005bda28; // 005bda28 -extern undefined& s_World; // 005bda38 -extern undefined& DAT_005bda3c; // 005bda3c -extern char& DAT_005bda3e; // 005bda3e -extern undefined& s_DLL; // 005bda40 -extern const char* s_UbiSoft_bmp_005bda4c; // 005bda4c -extern UINT& g_modemQuality; // 005bdca0 -extern UINT& g_UDPPort; // 005bdca4 +extern const char* s__s_s_World_Sound_005bd9d0; // 005bd9d0 +extern char(&s_BIN_005bd9e4)[4]; // 005bd9e4 +extern char& DAT_005bdc9c; // 005bdc9c +extern const char* s__level__005bdfd0; // 005bdfd0 extern const char* s_R3_DVD_005bdfd8; // 005bdfd8 -extern const char* s_R3_DVD_005be0ec; // 005be0ec -extern const char* s__s_DVD_missing_005be0f4; // 005be0f4 -extern const char* s_Die__s_DVDROM_kann_nicht_gelesen_005be130; // 005be130 -extern const char* s_Impossibile_trovare_il_DVD____s_005be198; // 005be198 -extern undefined& DAT_005be1ec; // 005be1ec -extern const char* s_Impossible_de_trouver_le_DVD_____005be238; // 005be238 -extern const char* s_ModemQuality_005be2ec; // 005be2ec -extern const char* s_UDPPort_005be2fc; // 005be2fc -extern pointer& s_Yes; // 005be304 -extern const char* s_SingleProcessor_005be308; // 005be308 -extern undefined& lpDefault_005be318; // 005be318 -extern const char* s_StartDirectory_005be31c; // 005be31c -extern const char* s_Gamedata_005be32c; // 005be32c -extern const char* s_Camera_VerticalAxis_005be338; // 005be338 -extern const char* s_Camera_HorizontalAxis_005be34c; // 005be34c -extern const char* s_Complete_005be364; // 005be364 -extern undefined& lpDefault_005be370; // 005be370 -extern const char* s_SoundOnHD_005be374; // 005be374 -extern undefined& lpDefault_005be380; // 005be380 -extern const char* s_TexturesMem_005be384; // 005be384 -extern pointer& s_Agp; // 005be390 -extern const char* s_Outline_005be394; // 005be394 -extern const char* s_StaticShadows_005be39c; // 005be39c -extern const char* s_DynamicShadows_005be3ac; // 005be3ac -extern const char* s_TriLinear_005be3bc; // 005be3bc -extern pointer& s_Tnl; // 005be3c8 -extern const char* s_TexturesCompressed_005be3cc; // 005be3cc -extern const char* s_GLI_Mode_005be3e0; // 005be3e0 -extern const char* g_default_display_mode; // 005be3ec -extern const char* s_Please_insert_the_DVD_in_the_DVD_005be400; // 005be400 -extern const char* s_Bitte_legen_Sie_DVD_von_Rayman_3_005be438; // 005be438 -extern const char* s_Inserisci_il_DVD_di_Rayman_3_nel_005be484; // 005be484 -extern const char* s_Introduce_el_DVD_de_Rayman_3_en_l_005be4c0; // 005be4c0 -extern undefined& DAT_005be500; // 005be500 -extern const char* s_fmt_c_colon_s; // 005be540 -extern const char* s_r3_program_files; // 005be548 -extern undefined *& PTR_DAT_005be568; // 005be568 -extern byte& g_errModFirst; // 005be6f0 -extern dword& g_modId4; // 005be8ac -extern byte& g_errMod5; // 005befbc -extern char(&s_M_005bf004)[2]; // 005bf004 -extern char(&s_S_005bf008)[2]; // 005bf008 +extern const char* s_Tex32_2_cnt_005be290; // 005be290 +extern const char* s_Tex32_1_cnt_005be29c; // 005be29c +extern const char* s_Tex16_1_cnt_005be2a8; // 005be2a8 +extern const char* s_Tex16_2_cnt_005be2b4; // 005be2b4 +extern const char* s_TexturesQuality_005be2c0; // 005be2c0 +extern const char* s_VignettesFile_005be2dc; // 005be2dc +extern const char* s_Please_insert_the_CD_005be980; // 005be980 +extern byte& g_errMod6; // 005bf5fc +extern dword& g_needToInitMod6; // 005bf600 +extern const char* s_V5_9_0___August_11th_1997_005bf608; // 005bf608 +extern char& DAT_005bf690; // 005bf690 extern const char* s__08X__04X__04X__02X_02X__02X_02X_005bf6d8; // 005bf6d8 -extern dword& r3_textureMemMode; // 005bf740 -extern const char* s_Agp8_005bf744; // 005bf744 -extern const char* s_Agp4_005bf74c; // 005bf74c -extern const char* s_Vram8_005bf754; // 005bf754 -extern const char* s_Vram4_005bf75c; // 005bf75c -extern const char* s_VramPlus_005bf764; // 005bf764 -extern const char* s_Vram; // 005bf76c extern byte& g_errMod7; // 005c069c -extern undefined2& DAT_005c0f20; // 005c0f20 -extern char& DAT_005c0f22; // 005c0f22 extern byte& g_errMod17; // 005c1400 -extern byte& g_errMod8; // 005c4b0c -extern byte& g_errMod9; // 005c4dcc -extern byte& g_errMod3; // 005c506c extern byte& g_errMod10; // 005c51f4 -extern UINT& g_config_camera_hor_axis; // 005c67c8 -extern UINT& g_config_camera_ver_axis; // 005c67cc -extern const char* s_____005ca864; // 005ca864 -extern undefined1& DAT_005ca86c; // 005ca86c -extern byte& g_errMod11; // 005caf2c extern char& g_errMod12; // 005cb16c -extern byte& g_errMod14; // 005cf5d4 -extern byte& g_errMod15; // 005cf814 -extern byte& g_errMod16; // 005cf874 extern HWND& g_gameHWND1; // 005cf964 extern long& lpDefault_005cf96c; // 005cf96c -extern dword& DWORD_005cfa20; // 005cfa20 -extern int& DAT_005cfb64; // 005cfb64 -extern UINT& CodePage_005cfb74; // 005cfb74 -extern byte& g_ucErmNbOfModule; // 005d2638 -extern mod1_ptrs& g_mod1_ptrs; // 005d2644 extern windowCreationParams& g_currentBinkMovie; // 005d2660 -extern undefined& DAT_005d266c; // 005d266c -extern undefined1& DAT_005d266d; // 005d266d -extern undefined1& DAT_005d26a8; // 005d26a8 -extern undefined& lpVolumeNameBuffer_005d27b0; // 005d27b0 extern r3_main_data& r3_main_data_005d28b6; // 005d28b6 -extern undefined& g_soundOnHD; // 005d29bc -extern undefined& g_complete; // 005d29c0 -extern undefined4& DAT_005d29c8; // 005d29c8 -extern int& DAT_005e6b00; // 005e6b00 -extern undefined& DAT_005e6b04; // 005e6b04 -extern int& DAT_005f5e24; // 005f5e24 -extern byte& m7_unk1; // 0063bec0 +extern dword& DWORD_005d29c4; // 005d29c4 +extern undefined4& DAT_005e6b28; // 005e6b28 +extern undefined& DAT_005e6b2c; // 005e6b2c +extern undefined4& DAT_005e6b30; // 005e6b30 +extern undefined4& DAT_005e6b34; // 005e6b34 +extern int& g_lastFrameTime; // 005e6c34 +extern undefined& DAT_005e6c38; // 005e6c38 +extern undefined4& g_currentFrameTime; // 005e6c3c +extern undefined4& DAT_005e6c40; // 005e6c40 +extern undefined& DAT_005e6c44; // 005e6c44 +extern short& DAT_005e6c46; // 005e6c46 +extern int& DAT_005e6c48; // 005e6c48 +extern FIL_tdstConcatFile *& g_textureConcatFile; // 005e6c54 +extern r3_astruct_2& g_startOfGfxStruct; // 005f5e24 extern char& g_m7_criticalSectionInitialized; // 0063bec4 +extern FIL_tdstConcatFile *& g_fileWrapper1; // 00754eb0 extern int& INT_0077d0a4; // 0077d0a4 extern int& g_runMaximized; // 0077d0a8 extern WPARAM& g_engineShouldRun; // 0077d0b0 extern int& g_engineRunning; // 0077d0b4 -extern undefined4& DAT_0077d0b8; // 0077d0b8 +extern undefined4& g_windowCloseRequested; // 0077d0b8 extern HANDLE& g_drawSemaphore; // 0077d0bc -extern char(&g_mutexName_Rayman3)[256]; // 0077d0c0 extern char(&g_windowTitle)[256]; // 0077d1c0 -extern char(&lpString_0077d2c0)[256]; // 0077d2c0 -extern char(&s_windowTitleRestoring)[256]; // 0077d3c0 -extern HINSTANCE& g_hinstance; // 0077d4c0 extern HWND& g_gameHWND; // 0077d4c4 -extern HANDLE& g_mainThreadHandle; // 0077d4c8 -extern word& WORD_0077d4d4; // 0077d4d4 -extern word& WORD_0077d4d6; // 0077d4d6 -extern dword& DWORD_0077d4d8; // 0077d4d8 -extern char(&g_appCmdLine)[256]; // 0077d4e0 -extern char(&s_wndStrRestoring)[256]; // 0077d5e0 -extern int& DAT_0077d704; // 0077d704 -extern undefined& __unguarded_readlc_active; // 0077d708 -extern undefined4& DAT_0077d960; // 0077d960 -extern FILE *& uNumber_0077da60; // 0077da60 extern char(&g_gameDataPath)[64]; // 00781660 -extern undefined& DAT_00782086; // 00782086 -extern char(&lpBuffer_00782088)[260]; // 00782088 +extern undefined1& g_savegamePath; // 00781868 +extern undefined& DAT_0078196c; // 0078196c +extern undefined& s_world_levels; // 00781a70 +extern undefined& DAT_00781b74; // 00781b74 +extern undefined& DAT_00781e80; // 00781e80 +extern undefined& DAT_00781f84; // 00781f84 +extern undefined& s_MoviePath; // 00782394 extern char(&s_quitting1)[64]; // 007825c0 extern char(&s_wndStrQuiting)[56]; // 00782600 extern tdstLastErrorInfo(&g_stErmTheLastErrorInfo)[3]; // 00782640 -extern pointer& g_errDat4; // 00782644 -extern undefined1& DAT_0078266c; // 0078266c extern tdstBlockInfoPriv *(&g_a_p_stMmgModuleBlocksInfo)[255]; // 0078f6a0 extern undefined& g_MmgCriticalSection; // 0078faa0 extern char(&g_a_ucBlocksNbInModule)[255]; // 0078fac0 extern tdstGeneralChannelsInfo_& g_stGeneralChannelInfo; // 0078fbc0 extern tdstCurrentModeInfo *& g_d_stCurrentModeInfo; // 0078fbc8 -extern undefined4& DAT_00794cec; // 00794cec -extern dword& DWORD_00794d00; // 00794d00 -extern dword& DWORD_00794d04; // 00794d04 extern undefined1& DAT_007a0cd8; // 007a0cd8 extern undefined4& g_windowClearColor; // 007a2c14 extern byte& g_bink_videoBpp; // 007a2e00 extern byte& g_bink_wantedVideoQuality; // 007a2e02 extern byte& g_bink_realVideoQuality; // 007a2e03 extern byte& g_bink_autoAdjustQuality; // 007a2e04 -extern uint& DAT_007a2e0c; // 007a2e0c -extern int& g_bink_wantedVideoQualityPlus1; // 007a2e10 -extern undefined& DAT_007d78b9; // 007d78b9 -extern undefined& DAT_007d78ba; // 007d78ba -extern undefined& DAT_007d78bb; // 007d78bb -extern undefined& DAT_007d78bc; // 007d78bc -extern undefined& DAT_007d78bd; // 007d78bd -extern undefined& DAT_007d78be; // 007d78be -extern undefined4& DAT_007d79e8; // 007d79e8 -extern undefined4& DAT_007d79ec; // 007d79ec -extern undefined4& DAT_007d79f0; // 007d79f0 -extern undefined& DAT_007d7d84; // 007d7d84 +extern undefined& g_haveCmdlineLevel; // 007d7d8c extern GAM_tdstEngineStructure& g_r3_engine; // 007d7dc0 -extern undefined2& DAT_007d7ea8; // 007d7ea8 -extern short& DAT_007d80f8; // 007d80f8 -extern undefined4& DAT_007d83a8; // 007d83a8 -extern r3_TaggedFloatUnk& r3_TaggedFloatUnk_007d83e0; // 007d83e0 -extern r3_TaggedFloatUnk& r3_TaggedFloatUnk_007d8434; // 007d8434 -extern undefined& DAT_007d98fd; // 007d98fd -extern undefined& DAT_007d9928; // 007d9928 -extern uint& DAT_007d9cc4; // 007d9cc4 -extern undefined& g_config_unused0; // 007d9df0 -extern undefined& lpSystemTime_007d9e40; // 007d9e40 -extern undefined4& DAT_007d9e60; // 007d9e60 -extern word& WORD_007d9e68; // 007d9e68 -extern char(&sz_S)[2]; // 007d9e6a -extern word& WORD_007d9e6c; // 007d9e6c -extern char(&sz_M)[2]; // 007d9e6e -extern undefined& lpRootPathName_007d9e70; // 007d9e70 -extern undefined3& UNK_007d9e71; // 007d9e71 +extern undefined& lpReturnedString_007d9aa0; // 007d9aa0 +extern undefined& g_texturesFilenameBuf; // 007d9ce0 extern dword& g_unkModuleIdByte; // 007eb200 +extern int& g_engine_; // 007eba24 +extern IDirect3DDevice8 *& gfx_device; // 007edb18 extern undefined& g_GLI_fullscreen; // 007edd40 extern int& g_GLI_width0; // 007edd44 extern int& g_GLI_height0; // 007edd48 @@ -270,12 +115,10 @@ extern undefined1& g_GLI_fullscreen1; // 007edd50 extern int& g_GLI_width1; // 007edd54 extern int& g_GLI_height1; // 007edd58 extern int& g_GLI_bitdepth1; // 007edd5c -extern UINT& g_GLI_adapter; // 007edd60 -extern undefined1& g_GLI_tnl; // 007edd64 -extern undefined1& g_config_tex_compressed; // 007edd65 -extern undefined1& g_GLI_trilinear; // 007edd66 +extern undefined4& g_GLI_adapter; // 007edd60 extern GUID& g_GLI_identifier; // 007edd70 extern float& g_GLI_mode_float; // 007edd80 +extern windowInstance *(&g_windowTab)[16]; // 007edda0 extern m7_init_struct& g_m7_init_struct; // 007edde0 extern undefined& m7_mmgBlockInitialized; // 007eddf9 extern undefined& g_mod7CriticalSection; // 007ede20 diff --git a/game_re/gh_stub/r3_wait_for_dvd.cxx b/game_re/gh_stub/Erm_fn_ClearLastError.cxx similarity index 56% rename from game_re/gh_stub/r3_wait_for_dvd.cxx rename to game_re/gh_stub/Erm_fn_ClearLastError.cxx index 9285781a..66f3b8ad 100644 --- a/game_re/gh_stub/r3_wait_for_dvd.cxx +++ b/game_re/gh_stub/Erm_fn_ClearLastError.cxx @@ -6,9 +6,9 @@ #include #include -// 0043e540 -// r3_wait_for_dvd -extern "C" undefined r3_wait_for_dvd(char * param_1, char * param_2, undefined4 param_3) { +// 0043e310 +// Erm_fn_ClearLastError +extern "C" void Erm_fn_ClearLastError(ulong ulChannelId) { // TODO: Implement this function - throw GHStubException("Function not implemented: r3_wait_for_dvd"); + throw GHStubException("Function not implemented: Erm_fn_ClearLastError"); } diff --git a/game_re/gh_stub/aoti.cxx b/game_re/gh_stub/FUN_0043e4f0.cxx similarity index 64% rename from game_re/gh_stub/aoti.cxx rename to game_re/gh_stub/FUN_0043e4f0.cxx index 8e41c75e..96885e89 100644 --- a/game_re/gh_stub/aoti.cxx +++ b/game_re/gh_stub/FUN_0043e4f0.cxx @@ -6,9 +6,9 @@ #include #include -// 00408f8c -// aoti -extern "C" undefined aoti(undefined4 param_1) { +// 0043e4f0 +// FUN_0043e4f0 +extern "C" undefined FUN_0043e4f0(void) { // TODO: Implement this function - throw GHStubException("Function not implemented: aoti"); + throw GHStubException("Function not implemented: FUN_0043e4f0"); } diff --git a/game_re/gh_stub/FUN_0043f7e0.cxx b/game_re/gh_stub/FUN_0043f7e0.cxx new file mode 100644 index 00000000..b61fb81c --- /dev/null +++ b/game_re/gh_stub/FUN_0043f7e0.cxx @@ -0,0 +1,14 @@ +// AUTO-GENERATED FILE!!!! +// This function has yet to be decompiled using 'Dump Current Function' in ghidra +// with possible manualy fixes + +#include +#include +#include + +// 0043f7e0 +// FUN_0043f7e0 +extern "C" void FUN_0043f7e0(byte moduleId, byte param_2, uint param_3) { + // TODO: Implement this function + throw GHStubException("Function not implemented: FUN_0043f7e0"); +} diff --git a/game_re/gh_stub/FUN_00441d70.cxx b/game_re/gh_stub/FUN_00441d70.cxx new file mode 100644 index 00000000..9966e8b7 --- /dev/null +++ b/game_re/gh_stub/FUN_00441d70.cxx @@ -0,0 +1,14 @@ +// AUTO-GENERATED FILE!!!! +// This function has yet to be decompiled using 'Dump Current Function' in ghidra +// with possible manualy fixes + +#include +#include +#include + +// 00441d70 +// FUN_00441d70 +extern "C" undefined FUN_00441d70(undefined4 param_1, undefined4 param_2, undefined4 param_3, undefined4 param_4, undefined4 param_5) { + // TODO: Implement this function + throw GHStubException("Function not implemented: FUN_00441d70"); +} diff --git a/game_re/gh_stub/FUN_0054c9ab.cxx b/game_re/gh_stub/FUN_00445880.cxx similarity index 63% rename from game_re/gh_stub/FUN_0054c9ab.cxx rename to game_re/gh_stub/FUN_00445880.cxx index a3326539..930decc1 100644 --- a/game_re/gh_stub/FUN_0054c9ab.cxx +++ b/game_re/gh_stub/FUN_00445880.cxx @@ -6,9 +6,9 @@ #include #include -// 0054c9ab -// FUN_0054c9ab -extern "C" undefined FUN_0054c9ab(undefined4 param_1) { +// 00445880 +// FUN_00445880 +extern "C" undefined FUN_00445880(void) { // TODO: Implement this function - throw GHStubException("Function not implemented: FUN_0054c9ab"); + throw GHStubException("Function not implemented: FUN_00445880"); } diff --git a/game_re/gh_stub/FUN_004464b0.cxx b/game_re/gh_stub/FUN_004464b0.cxx new file mode 100644 index 00000000..34c929ee --- /dev/null +++ b/game_re/gh_stub/FUN_004464b0.cxx @@ -0,0 +1,14 @@ +// AUTO-GENERATED FILE!!!! +// This function has yet to be decompiled using 'Dump Current Function' in ghidra +// with possible manualy fixes + +#include +#include +#include + +// 004464b0 +// FUN_004464b0 +extern "C" undefined FUN_004464b0(void) { + // TODO: Implement this function + throw GHStubException("Function not implemented: FUN_004464b0"); +} diff --git a/game_re/gh_stub/FUN_0046eea0.cxx b/game_re/gh_stub/FUN_0046eea0.cxx new file mode 100644 index 00000000..3fc7190f --- /dev/null +++ b/game_re/gh_stub/FUN_0046eea0.cxx @@ -0,0 +1,14 @@ +// AUTO-GENERATED FILE!!!! +// This function has yet to be decompiled using 'Dump Current Function' in ghidra +// with possible manualy fixes + +#include +#include +#include + +// 0046eea0 +// FUN_0046eea0 +extern "C" undefined FUN_0046eea0(undefined4 param_1, undefined4 param_2) { + // TODO: Implement this function + throw GHStubException("Function not implemented: FUN_0046eea0"); +} diff --git a/game_re/gh_stub/FUN_0046fe20.cxx b/game_re/gh_stub/FUN_0046fe20.cxx new file mode 100644 index 00000000..8c48937e --- /dev/null +++ b/game_re/gh_stub/FUN_0046fe20.cxx @@ -0,0 +1,14 @@ +// AUTO-GENERATED FILE!!!! +// This function has yet to be decompiled using 'Dump Current Function' in ghidra +// with possible manualy fixes + +#include +#include +#include + +// 0046fe20 +// FUN_0046fe20 +extern "C" undefined FUN_0046fe20(undefined4 param_1, undefined4 param_2, undefined4 param_3) { + // TODO: Implement this function + throw GHStubException("Function not implemented: FUN_0046fe20"); +} diff --git a/game_re/gh_stub/FUN_00470b50.cxx b/game_re/gh_stub/FUN_00470b50.cxx new file mode 100644 index 00000000..94f25452 --- /dev/null +++ b/game_re/gh_stub/FUN_00470b50.cxx @@ -0,0 +1,14 @@ +// AUTO-GENERATED FILE!!!! +// This function has yet to be decompiled using 'Dump Current Function' in ghidra +// with possible manualy fixes + +#include +#include +#include + +// 00470b50 +// FUN_00470b50 +extern "C" undefined FUN_00470b50(void) { + // TODO: Implement this function + throw GHStubException("Function not implemented: FUN_00470b50"); +} diff --git a/game_re/gh_stub/FUN_0047c340.cxx b/game_re/gh_stub/FUN_0047c340.cxx index b2d67bc8..d003a9cf 100644 --- a/game_re/gh_stub/FUN_0047c340.cxx +++ b/game_re/gh_stub/FUN_0047c340.cxx @@ -8,7 +8,7 @@ // 0047c340 // FUN_0047c340 -extern "C" undefined FUN_0047c340(undefined4 param_1, undefined4 param_2, undefined4 param_3) { +extern "C" undefined FUN_0047c340(undefined4 param_1, undefined4 param_2, r3_astruct_2 * param_3) { // TODO: Implement this function throw GHStubException("Function not implemented: FUN_0047c340"); } diff --git a/game_re/gh_stub/FUN_0055d4b0.cxx b/game_re/gh_stub/FUN_0055d4b0.cxx new file mode 100644 index 00000000..7e0a031f --- /dev/null +++ b/game_re/gh_stub/FUN_0055d4b0.cxx @@ -0,0 +1,14 @@ +// AUTO-GENERATED FILE!!!! +// This function has yet to be decompiled using 'Dump Current Function' in ghidra +// with possible manualy fixes + +#include +#include +#include + +// 0055d4b0 +// FUN_0055d4b0 +extern "C" undefined FUN_0055d4b0(undefined4 param_1, undefined4 param_2, undefined4 param_3) { + // TODO: Implement this function + throw GHStubException("Function not implemented: FUN_0055d4b0"); +} diff --git a/game_re/gh_stub/FUN_0055d500.cxx b/game_re/gh_stub/FUN_0055d500.cxx new file mode 100644 index 00000000..cf6ff262 --- /dev/null +++ b/game_re/gh_stub/FUN_0055d500.cxx @@ -0,0 +1,14 @@ +// AUTO-GENERATED FILE!!!! +// This function has yet to be decompiled using 'Dump Current Function' in ghidra +// with possible manualy fixes + +#include +#include +#include + +// 0055d500 +// FUN_0055d500 +extern "C" undefined FUN_0055d500(undefined4 param_1, undefined4 param_2, undefined4 param_3) { + // TODO: Implement this function + throw GHStubException("Function not implemented: FUN_0055d500"); +} diff --git a/game_re/gh_stub/FUN_0058f6a0.cxx b/game_re/gh_stub/FUN_0058f6a0.cxx new file mode 100644 index 00000000..b4266e54 --- /dev/null +++ b/game_re/gh_stub/FUN_0058f6a0.cxx @@ -0,0 +1,14 @@ +// AUTO-GENERATED FILE!!!! +// This function has yet to be decompiled using 'Dump Current Function' in ghidra +// with possible manualy fixes + +#include +#include +#include + +// 0058f6a0 +// FUN_0058f6a0 +extern "C" undefined FUN_0058f6a0(undefined2 param_1) { + // TODO: Implement this function + throw GHStubException("Function not implemented: FUN_0058f6a0"); +} diff --git a/game_re/gh_stub/FUN_0058fca0.cxx b/game_re/gh_stub/FUN_0058fca0.cxx new file mode 100644 index 00000000..6d990f25 --- /dev/null +++ b/game_re/gh_stub/FUN_0058fca0.cxx @@ -0,0 +1,14 @@ +// AUTO-GENERATED FILE!!!! +// This function has yet to be decompiled using 'Dump Current Function' in ghidra +// with possible manualy fixes + +#include +#include +#include + +// 0058fca0 +// FUN_0058fca0 +extern "C" undefined FUN_0058fca0(undefined2 param_1, undefined4 param_2) { + // TODO: Implement this function + throw GHStubException("Function not implemented: FUN_0058fca0"); +} diff --git a/game_re/gh_stub/IPT_fn_vReadInput.cxx b/game_re/gh_stub/IPT_fn_vReadInput.cxx new file mode 100644 index 00000000..7647a853 --- /dev/null +++ b/game_re/gh_stub/IPT_fn_vReadInput.cxx @@ -0,0 +1,14 @@ +// AUTO-GENERATED FILE!!!! +// This function has yet to be decompiled using 'Dump Current Function' in ghidra +// with possible manualy fixes + +#include +#include +#include + +// 00505fe0 +// IPT_fn_vReadInput +extern "C" void IPT_fn_vReadInput(void) { + // TODO: Implement this function + throw GHStubException("Function not implemented: IPT_fn_vReadInput"); +} diff --git a/game_re/gh_stub/SND_fn_bAddDataDirectory.cxx b/game_re/gh_stub/SND_fn_bAddDataDirectory.cxx new file mode 100644 index 00000000..720af686 --- /dev/null +++ b/game_re/gh_stub/SND_fn_bAddDataDirectory.cxx @@ -0,0 +1,14 @@ +// AUTO-GENERATED FILE!!!! +// This function has yet to be decompiled using 'Dump Current Function' in ghidra +// with possible manualy fixes + +#include +#include +#include + +// 004110b0 +// SND_fn_bAddDataDirectory +extern "C" bool SND_fn_bAddDataDirectory(char * path) { + // TODO: Implement this function + throw GHStubException("Function not implemented: SND_fn_bAddDataDirectory"); +} diff --git a/game_re/gh_stub/TMR_fn_wCreateTimer.cxx b/game_re/gh_stub/TMR_fn_wCreateTimer.cxx new file mode 100644 index 00000000..cc6712d0 --- /dev/null +++ b/game_re/gh_stub/TMR_fn_wCreateTimer.cxx @@ -0,0 +1,14 @@ +// AUTO-GENERATED FILE!!!! +// This function has yet to be decompiled using 'Dump Current Function' in ghidra +// with possible manualy fixes + +#include +#include +#include + +// 0058f570 +// TMR_fn_wCreateTimer +extern "C" undefined TMR_fn_wCreateTimer(short wTimerType) { + // TODO: Implement this function + throw GHStubException("Function not implemented: TMR_fn_wCreateTimer"); +} diff --git a/game_re/gh_stub/TMR_fn_wReadTimer.cxx b/game_re/gh_stub/TMR_fn_wReadTimer.cxx new file mode 100644 index 00000000..7959911c --- /dev/null +++ b/game_re/gh_stub/TMR_fn_wReadTimer.cxx @@ -0,0 +1,14 @@ +// AUTO-GENERATED FILE!!!! +// This function has yet to be decompiled using 'Dump Current Function' in ghidra +// with possible manualy fixes + +#include +#include +#include + +// 0058f9f0 +// TMR_fn_wReadTimer +extern "C" short TMR_fn_wReadTimer(short timerHandle, tdstTimerCount * param_2) { + // TODO: Implement this function + throw GHStubException("Function not implemented: TMR_fn_wReadTimer"); +} diff --git a/game_re/gh_stub/TMR_fn_wResetTimer.cxx b/game_re/gh_stub/TMR_fn_wResetTimer.cxx new file mode 100644 index 00000000..3e466e41 --- /dev/null +++ b/game_re/gh_stub/TMR_fn_wResetTimer.cxx @@ -0,0 +1,14 @@ +// AUTO-GENERATED FILE!!!! +// This function has yet to be decompiled using 'Dump Current Function' in ghidra +// with possible manualy fixes + +#include +#include +#include + +// 0058fb90 +// TMR_fn_wResetTimer +extern "C" undefined TMR_fn_wResetTimer(undefined2 param_1) { + // TODO: Implement this function + throw GHStubException("Function not implemented: TMR_fn_wResetTimer"); +} diff --git a/game_re/gh_stub/findFreeStructInArray.cxx b/game_re/gh_stub/findFreeStructInArray.cxx new file mode 100644 index 00000000..026466d0 --- /dev/null +++ b/game_re/gh_stub/findFreeStructInArray.cxx @@ -0,0 +1,14 @@ +// AUTO-GENERATED FILE!!!! +// This function has yet to be decompiled using 'Dump Current Function' in ghidra +// with possible manualy fixes + +#include +#include +#include + +// 0046ee70 +// findFreeStructInArray +extern "C" undefined findFreeStructInArray(undefined4 param_1) { + // TODO: Implement this function + throw GHStubException("Function not implemented: findFreeStructInArray"); +} diff --git a/game_re/gh_stub/fn_p_stExtendedFopenForCNTinAVI.cxx b/game_re/gh_stub/fn_p_stExtendedFopenForCNTinAVI.cxx new file mode 100644 index 00000000..a41c54c9 --- /dev/null +++ b/game_re/gh_stub/fn_p_stExtendedFopenForCNTinAVI.cxx @@ -0,0 +1,14 @@ +// AUTO-GENERATED FILE!!!! +// This function has yet to be decompiled using 'Dump Current Function' in ghidra +// with possible manualy fixes + +#include +#include +#include + +// 0055d750 +// fn_p_stExtendedFopenForCNTinAVI +extern "C" undefined fn_p_stExtendedFopenForCNTinAVI(undefined4 param_1, undefined4 outSomething) { + // TODO: Implement this function + throw GHStubException("Function not implemented: fn_p_stExtendedFopenForCNTinAVI"); +} diff --git a/game_re/gh_stub/fn_p_vDynAlloc.cxx b/game_re/gh_stub/fn_p_vDynAlloc.cxx new file mode 100644 index 00000000..bc97f08b --- /dev/null +++ b/game_re/gh_stub/fn_p_vDynAlloc.cxx @@ -0,0 +1,14 @@ +// AUTO-GENERATED FILE!!!! +// This function has yet to be decompiled using 'Dump Current Function' in ghidra +// with possible manualy fixes + +#include +#include +#include + +// 0043ea60 +// fn_p_vDynAlloc +extern "C" undefined fn_p_vDynAlloc(undefined4 param_1) { + // TODO: Implement this function + throw GHStubException("Function not implemented: fn_p_vDynAlloc"); +} diff --git a/game_re/gh_stub/fn_p_vStaAlloc.cxx b/game_re/gh_stub/fn_p_vStaAlloc.cxx new file mode 100644 index 00000000..3309944a --- /dev/null +++ b/game_re/gh_stub/fn_p_vStaAlloc.cxx @@ -0,0 +1,14 @@ +// AUTO-GENERATED FILE!!!! +// This function has yet to be decompiled using 'Dump Current Function' in ghidra +// with possible manualy fixes + +#include +#include +#include + +// 0043ec30 +// fn_p_vStaAlloc +extern "C" void * fn_p_vStaAlloc(ulong ulSize, uchar ucChannel) { + // TODO: Implement this function + throw GHStubException("Function not implemented: fn_p_vStaAlloc"); +} diff --git a/game_re/gh_stub/mmgGetThreadGroupModule.cxx b/game_re/gh_stub/mmgGetThreadGroupModule.cxx new file mode 100644 index 00000000..c7aca777 --- /dev/null +++ b/game_re/gh_stub/mmgGetThreadGroupModule.cxx @@ -0,0 +1,14 @@ +// AUTO-GENERATED FILE!!!! +// This function has yet to be decompiled using 'Dump Current Function' in ghidra +// with possible manualy fixes + +#include +#include +#include + +// 0043f750 +// mmgGetThreadGroupModule +extern "C" byte mmgGetThreadGroupModule(ulong threadId, uchar groupId) { + // TODO: Implement this function + throw GHStubException("Function not implemented: mmgGetThreadGroupModule"); +} diff --git a/game_re/gh_stub/r3_allocFileWrapper.cxx b/game_re/gh_stub/r3_allocFileWrapper.cxx new file mode 100644 index 00000000..b281db41 --- /dev/null +++ b/game_re/gh_stub/r3_allocFileWrapper.cxx @@ -0,0 +1,14 @@ +// AUTO-GENERATED FILE!!!! +// This function has yet to be decompiled using 'Dump Current Function' in ghidra +// with possible manualy fixes + +#include +#include +#include + +// 0055d3b0 +// r3_allocFileWrapper +extern "C" FIL_tdstConcatFile * r3_allocFileWrapper(int numUnk0, int numUnk1) { + // TODO: Implement this function + throw GHStubException("Function not implemented: r3_allocFileWrapper"); +} diff --git a/game_re/gh_stub/r3_beginLoadLevel.cxx b/game_re/gh_stub/r3_beginLoadLevel.cxx new file mode 100644 index 00000000..703ed8a7 --- /dev/null +++ b/game_re/gh_stub/r3_beginLoadLevel.cxx @@ -0,0 +1,14 @@ +// AUTO-GENERATED FILE!!!! +// This function has yet to be decompiled using 'Dump Current Function' in ghidra +// with possible manualy fixes + +#include +#include +#include + +// 00447860 +// r3_beginLoadLevel +extern "C" void r3_beginLoadLevel(void) { + // TODO: Implement this function + throw GHStubException("Function not implemented: r3_beginLoadLevel"); +} diff --git a/game_re/gh_stub/r3_closeFileWrapper.cxx b/game_re/gh_stub/r3_closeFileWrapper.cxx new file mode 100644 index 00000000..b590593a --- /dev/null +++ b/game_re/gh_stub/r3_closeFileWrapper.cxx @@ -0,0 +1,14 @@ +// AUTO-GENERATED FILE!!!! +// This function has yet to be decompiled using 'Dump Current Function' in ghidra +// with possible manualy fixes + +#include +#include +#include + +// 0055db00 +// r3_closeFileWrapper +extern "C" void r3_closeFileWrapper(FIL_tdstConcatFile * * param_1) { + // TODO: Implement this function + throw GHStubException("Function not implemented: r3_closeFileWrapper"); +} diff --git a/game_re/gh_stub/r3_module6_init.cxx b/game_re/gh_stub/r3_module6_init.cxx new file mode 100644 index 00000000..c407ff83 --- /dev/null +++ b/game_re/gh_stub/r3_module6_init.cxx @@ -0,0 +1,14 @@ +// AUTO-GENERATED FILE!!!! +// This function has yet to be decompiled using 'Dump Current Function' in ghidra +// with possible manualy fixes + +#include +#include +#include + +// 0046ebf0 +// r3_module6_init +extern "C" uint r3_module6_init(void) { + // TODO: Implement this function + throw GHStubException("Function not implemented: r3_module6_init"); +} diff --git a/game_re/gh_stub/r3_setupWindow1.cxx b/game_re/gh_stub/r3_setupWindow1.cxx new file mode 100644 index 00000000..b2d67304 --- /dev/null +++ b/game_re/gh_stub/r3_setupWindow1.cxx @@ -0,0 +1,14 @@ +// AUTO-GENERATED FILE!!!! +// This function has yet to be decompiled using 'Dump Current Function' in ghidra +// with possible manualy fixes + +#include +#include +#include + +// 004022f0 +// r3_setupWindow1 +extern "C" undefined r3_setupWindow1(void) { + // TODO: Implement this function + throw GHStubException("Function not implemented: r3_setupWindow1"); +} diff --git a/game_re/gh_stub/r3_unlockLoadLevelMutex.cxx b/game_re/gh_stub/r3_unlockLoadLevelMutex.cxx new file mode 100644 index 00000000..f931cc71 --- /dev/null +++ b/game_re/gh_stub/r3_unlockLoadLevelMutex.cxx @@ -0,0 +1,14 @@ +// AUTO-GENERATED FILE!!!! +// This function has yet to be decompiled using 'Dump Current Function' in ghidra +// with possible manualy fixes + +#include +#include +#include + +// 00447890 +// r3_unlockLoadLevelMutex +extern "C" void r3_unlockLoadLevelMutex(void) { + // TODO: Implement this function + throw GHStubException("Function not implemented: r3_unlockLoadLevelMutex"); +} diff --git a/game_re/gh_stub/r3_wndGetFreeInnerIdx.cxx b/game_re/gh_stub/r3_wndGetFreeInnerIdx.cxx new file mode 100644 index 00000000..9a55c94f --- /dev/null +++ b/game_re/gh_stub/r3_wndGetFreeInnerIdx.cxx @@ -0,0 +1,14 @@ +// AUTO-GENERATED FILE!!!! +// This function has yet to be decompiled using 'Dump Current Function' in ghidra +// with possible manualy fixes + +#include +#include +#include + +// 0046f200 +// r3_wndGetFreeInnerIdx +extern "C" undefined r3_wndGetFreeInnerIdx(short wndHandle, undefined4 param_2) { + // TODO: Implement this function + throw GHStubException("Function not implemented: r3_wndGetFreeInnerIdx"); +} diff --git a/game_re/gh_types.h b/game_re/gh_types.h index eae9b8ad..25fec2b9 100644 --- a/game_re/gh_types.h +++ b/game_re/gh_types.h @@ -3,509 +3,26 @@ // AUTO-GENERATED FILE #include -typedef struct _ExtraSoundParam _ExtraSoundParam, *P_ExtraSoundParam; - -typedef struct _RollOffParam _RollOffParam, *P_RollOffParam; - -typedef struct _RollOffParam RollOffParam; - -typedef struct _SwitchParam _SwitchParam, *P_SwitchParam; - -typedef struct _SwitchParam SwitchParam; - -typedef long SndReal; - -struct _SwitchParam { - long lObjectType; - long lObjectId; -}; - -struct _RollOffParam { - SndReal rDistSatur; - SndReal rDistBackGround; -}; - -struct _ExtraSoundParam { - RollOffParam stRollOff; - SwitchParam stSwitch; -}; - -typedef struct _MicroLink _MicroLink, *P_MicroLink; - -typedef int SndBool; - -struct _MicroLink { - long lId; - SndBool bLinked; -}; - -typedef struct _MicroParam _MicroParam, *P_MicroParam; - -typedef struct _SndVector _SndVector, *P_SndVector; - -typedef struct _SndVector SndVector; - -struct _SndVector { - SndReal x; - SndReal y; - SndReal z; -}; - -struct _MicroParam { - SndVector pos; - SndVector vit; - SndVector dirnor; - SndVector dirtan; -}; - -typedef struct _SampleParam _SampleParam, *P_SampleParam; +typedef unsigned long ulong; +typedef ulong ACP_tdxAddress; typedef unsigned char uchar; -struct _SampleParam { - SndReal Freq; - uchar ucVol; - uchar ucPan; - uchar ucSpace; - uchar ucReverb; -}; +typedef uchar ACP_tdxBool; -typedef struct _SND_tdstBlockEvent _SND_tdstBlockEvent, *P_SND_tdstBlockEvent; - -struct _SND_tdstBlockEvent { -}; - -typedef struct _SND_tdstCallback _SND_tdstCallback, *P_SND_tdstCallback; - -typedef enum _SND_tdstTypeCallback { - BUFFER_ASYNCHRONE=0, - BUFFER_SYNCHRONE=1, - BUFFER_STACK=2, - ALIGN_FOR_BUFFER_CLIENT=305419896 -} _SND_tdstTypeCallback; - -typedef enum _SND_tdstTypeCallback SND_tduTypeCallback; - -typedef union _union_2482 _union_2482, *P_union_2482; - -typedef union _union_2483 _union_2483, *P_union_2483; - -typedef unsigned long ulong; -typedef void (*td_pfn_vRefreshBufferClient)(long, ulong, ulong, void *); - -typedef void (*td_pfn_vBufferClientPoped)(long, long); - -union _union_2483 { - SndReal rCallbackPeriod; - long lNbSampleToPush; -}; - -union _union_2482 { - td_pfn_vRefreshBufferClient CallbackASynchrone; - td_pfn_vRefreshBufferClient CallbackSynchrone; - td_pfn_vBufferClientPoped CallbackStack; -}; - -struct _SND_tdstCallback { - SND_tduTypeCallback eType; - union _union_2482 uCallback; - union _union_2483 uInfo; -}; - -typedef struct _SND_tdstFormat _SND_tdstFormat, *P_SND_tdstFormat; - -typedef enum enum_2474 { - SAMPLE_INVALID=0, - SAMPLE_PCM=1, - SAMPLE_MPEG=2, - SAMPLE_AIFF=3, - SAMPLE_ADPCM=4, - SAMPLE_ADPCM_TO_CONVERT=5, - SAMPLE_FOR_ALIGNEMENT=321148536 -} enum_2474; - -typedef enum enum_2474 tdeTypeZip; - -typedef union _union_2479 _union_2479, *P_union_2479; - -typedef struct _tdstFormatPCM _tdstFormatPCM, *P_tdstFormatPCM; - -typedef struct _tdstFormatPCM tdstFormatPCM; - -typedef struct _tdstFormatPCM tdstFormatMPEG; - -typedef struct _tdstFormatPCM tdstFormatADPCM; - -typedef unsigned short ushort; -struct _tdstFormatPCM { - ulong ulNbSamples; - ushort uwResolution; - ushort uwNbChannels; - ulong ulFreq; -}; - -union _union_2479 { - tdstFormatPCM stPCM; - tdstFormatMPEG stMPEG; - tdstFormatADPCM stADPCM; -}; - -struct _SND_tdstFormat { - tdeTypeZip eZip; - union _union_2479 uFormat; -}; - -typedef struct _SND_tdstInitStruct _SND_tdstInitStruct, *P_SND_tdstInitStruct; - -struct _SND_tdstInitStruct { - HINSTANCE hProcessInstance; - HWND hMainWindow; - HANDLE hMutexDX; -}; - -typedef struct _SND_tdstStackBuffer _SND_tdstStackBuffer, *P_SND_tdstStackBuffer; - -struct _SND_tdstStackBuffer { - ulong ulNbSamples; - void *ptrData; -}; - -typedef struct _SoundParam _SoundParam, *P_SoundParam; - -typedef struct _MicroLink MicroLink; - -typedef struct _ExtraSoundParam ExtraSoundParam; - -struct _SoundParam { - SndReal Freq; - uchar ucVol; - uchar ucPan; - uchar ucSpace; - uchar ucReverb; - SndVector Pos; - SndVector Vit; - int iFlags; - int iNbLinks; - MicroLink astMicro[2]; - ExtraSoundParam xExtra; -}; - -typedef struct _tdstAllRetChannelSound _tdstAllRetChannelSound, *P_tdstAllRetChannelSound; - -typedef SndReal (*td_pfn_rRetChannelCoord)(long, long); - -typedef SndBool (*td_pfn_bRetChannelActive)(long, long); - -struct _tdstAllRetChannelSound { - td_pfn_rRetChannelCoord X; - td_pfn_rRetChannelCoord Y; - td_pfn_rRetChannelCoord Z; - td_pfn_rRetChannelCoord VX; - td_pfn_rRetChannelCoord VY; - td_pfn_rRetChannelCoord VZ; - td_pfn_bRetChannelActive Active; - SndBool bAbsCoord; -}; - -typedef struct _tdstAllRetMicroSound _tdstAllRetMicroSound, *P_tdstAllRetMicroSound; - -typedef SndReal (*td_pfn_rRetSoundCoord)(long); - -typedef long (*td_pfn_lRetSoundLong)(long); - -struct _tdstAllRetMicroSound { - td_pfn_rRetSoundCoord X; - td_pfn_rRetSoundCoord Y; - td_pfn_rRetSoundCoord Z; - td_pfn_rRetSoundCoord VX; - td_pfn_rRetSoundCoord VY; - td_pfn_rRetSoundCoord VZ; - td_pfn_rRetSoundCoord DNX; - td_pfn_rRetSoundCoord DNY; - td_pfn_rRetSoundCoord DNZ; - td_pfn_rRetSoundCoord DTX; - td_pfn_rRetSoundCoord DTY; - td_pfn_rRetSoundCoord DTZ; - td_pfn_lRetSoundLong Filtre; -}; - -typedef struct _tdstAllRetObjectSound _tdstAllRetObjectSound, *P_tdstAllRetObjectSound; - -typedef uchar (*td_pfn_ucRetSoundMidi)(long); - -typedef union _SND_tduRefEvt _SND_tduRefEvt, *P_SND_tduRefEvt; - -typedef union _SND_tduRefEvt SND_tduRefEvt; - -typedef void (*td_pfn_vRetSoundExtraCoef)(long, SND_tduRefEvt, SndReal *, SndReal *, SndReal *); - -typedef long SND_tdxHandleToSoundInfo; - -typedef SND_tdxHandleToSoundInfo (*td_pfn_lRetSoundSwitch)(long, long); - -typedef SndBool (*td_pfn_bRetSoundLink)(long, long); - -typedef void (*td_pfn_vRetSoundVector)(long, SndVector *); - -typedef ulong tdxId; - -typedef struct _SND_tdstBlockEvent SND_tdstBlockEvent; - -struct _tdstAllRetObjectSound { - td_pfn_rRetSoundCoord X; - td_pfn_rRetSoundCoord Y; - td_pfn_rRetSoundCoord Z; - td_pfn_rRetSoundCoord VX; - td_pfn_rRetSoundCoord VY; - td_pfn_rRetSoundCoord VZ; - td_pfn_ucRetSoundMidi REVERB; - td_pfn_vRetSoundExtraCoef ExtraCoef; - td_pfn_lRetSoundSwitch Switch; - td_pfn_bRetSoundLink MicroLink; - td_pfn_vRetSoundVector VectorI; - td_pfn_vRetSoundVector VectorJ; - td_pfn_vRetSoundVector VectorK; - void *Unk0; - void *InfoType; -}; - -union _SND_tduRefEvt { - tdxId Id; - SND_tdstBlockEvent *pstPtr; -}; - -typedef struct _tdstBlockResourceDisk _tdstBlockResourceDisk, *P_tdstBlockResourceDisk; - -struct _tdstBlockResourceDisk { -}; - -typedef struct _tdstBlockResourceMem _tdstBlockResourceMem, *P_tdstBlockResourceMem; - -struct _tdstBlockResourceMem { -}; - -typedef struct _tdstInfoTrackDisk _tdstInfoTrackDisk, *P_tdstInfoTrackDisk; - -struct _tdstInfoTrackDisk { -}; - -typedef struct _tdstInfoTrackList _tdstInfoTrackList, *P_tdstInfoTrackList; - -struct _tdstInfoTrackList { -}; - -typedef struct _tdstInfoTrackMem _tdstInfoTrackMem, *P_tdstInfoTrackMem; - -struct _tdstInfoTrackMem { -}; - -typedef struct _tdstMidiMemory _tdstMidiMemory, *P_tdstMidiMemory; - -struct _tdstMidiMemory { -}; - -typedef struct _tdstMidiStreaming _tdstMidiStreaming, *P_tdstMidiStreaming; - -struct _tdstMidiStreaming { -}; - -typedef struct _tdstRandomElement _tdstRandomElement, *P_tdstRandomElement; - -struct _tdstRandomElement { -}; - -typedef struct _tdstRangeSplitDisk _tdstRangeSplitDisk, *P_tdstRangeSplitDisk; - -struct _tdstRangeSplitDisk { -}; - -typedef struct _tdstRangeSplitListDisk _tdstRangeSplitListDisk, *P_tdstRangeSplitListDisk; - -struct _tdstRangeSplitListDisk { -}; - -typedef struct _tdstRangeSplitListMem _tdstRangeSplitListMem, *P_tdstRangeSplitListMem; - -struct _tdstRangeSplitListMem { -}; - -typedef struct _tdstRangeSplitMem _tdstRangeSplitMem, *P_tdstRangeSplitMem; - -struct _tdstRangeSplitMem { -}; - -typedef struct _tdstRefRes _tdstRefRes, *P_tdstRefRes; - -struct _tdstRefRes { -}; - -typedef struct _tdstRefResList _tdstRefResList, *P_tdstRefResList; - -struct _tdstRefResList { -}; - -typedef struct _tdstSampleMemory _tdstSampleMemory, *P_tdstSampleMemory; - -struct _tdstSampleMemory { -}; - -typedef struct _tdstSampleStreaming _tdstSampleStreaming, *P_tdstSampleStreaming; - -struct _tdstSampleStreaming { -}; - -typedef struct _tdstSndBankDescriptor _tdstSndBankDescriptor, *P_tdstSndBankDescriptor; - -struct _tdstSndBankDescriptor { -}; - -typedef struct _tdstSndBankHead _tdstSndBankHead, *P_tdstSndBankHead; - -struct _tdstSndBankHead { -}; - -typedef struct _tdstSndBankHeader _tdstSndBankHeader, *P_tdstSndBankHeader; - -struct _tdstSndBankHeader { -}; - -typedef struct _tdstSndPolyEvent _tdstSndPolyEvent, *P_tdstSndPolyEvent; - -struct _tdstSndPolyEvent { -}; - -typedef struct _tdstSndPolyResource _tdstSndPolyResource, *P_tdstSndPolyResource; - -struct _tdstSndPolyResource { -}; - -typedef struct _tdstSwitchElement _tdstSwitchElement, *P_tdstSwitchElement; - -struct _tdstSwitchElement { -}; - -typedef struct _tdstSwitchList _tdstSwitchList, *P_tdstSwitchList; - -struct _tdstSwitchList { -}; - -typedef struct _tdstThemeBridge _tdstThemeBridge, *P_tdstThemeBridge; - -struct _tdstThemeBridge { -}; - -typedef struct _tdstThemePart _tdstThemePart, *P_tdstThemePart; - -struct _tdstThemePart { -}; - -typedef struct _tdstThemePartOutro _tdstThemePartOutro, *P_tdstThemePartOutro; - -struct _tdstThemePartOutro { -}; - -typedef struct _tdstTimer _tdstTimer, *P_tdstTimer; - -typedef struct TMR_tdstTimerCount TMR_tdstTimerCount, *PTMR_tdstTimerCount; - -typedef void (td_fn_vTimerEventCallback)(void); - -typedef td_fn_vTimerEventCallback *td_p_fn_vTimerEventCallback; - -struct TMR_tdstTimerCount { - ulong ulLowPart; - ulong ulHighPart; -}; - -struct _tdstTimer { - short m_wTimerType; - short m_wTimerState; - struct TMR_tdstTimerCount m_stTimerCount_InitValue; - struct TMR_tdstTimerCount m_stTimerCount_LastValue; - struct TMR_tdstTimerCount m_stTimerCount_TotalValue; - ulong m_ulEventId; - td_p_fn_vTimerEventCallback m_p_fn_vEventCallback; -}; - -typedef struct _tdstTypeCD _tdstTypeCD, *P_tdstTypeCD; - -struct _tdstTypeCD { -}; - -typedef struct _tdstTypeMidiDisk _tdstTypeMidiDisk, *P_tdstTypeMidiDisk; - -struct _tdstTypeMidiDisk { -}; - -typedef struct _tdstTypeMidiMem _tdstTypeMidiMem, *P_tdstTypeMidiMem; - -struct _tdstTypeMidiMem { -}; - -typedef struct _tdstTypeRandomDisk _tdstTypeRandomDisk, *P_tdstTypeRandomDisk; - -struct _tdstTypeRandomDisk { -}; - -typedef struct _tdstTypeRandomMem _tdstTypeRandomMem, *P_tdstTypeRandomMem; - -struct _tdstTypeRandomMem { -}; - -typedef struct _tdstTypeSampleDisk _tdstTypeSampleDisk, *P_tdstTypeSampleDisk; - -struct _tdstTypeSampleDisk { -}; - -typedef struct _tdstTypeSampleMem _tdstTypeSampleMem, *P_tdstTypeSampleMem; - -struct _tdstTypeSampleMem { -}; - -typedef struct _tdstTypeSequenceDisk _tdstTypeSequenceDisk, *P_tdstTypeSequenceDisk; - -struct _tdstTypeSequenceDisk { -}; - -typedef struct _tdstTypeSequenceMem _tdstTypeSequenceMem, *P_tdstTypeSequenceMem; - -struct _tdstTypeSequenceMem { -}; - -typedef struct _tdstTypeSplitDisk _tdstTypeSplitDisk, *P_tdstTypeSplitDisk; - -struct _tdstTypeSplitDisk { -}; - -typedef struct _tdstTypeSplitMem _tdstTypeSplitMem, *P_tdstTypeSplitMem; - -struct _tdstTypeSplitMem { -}; - -typedef struct _tdstTypeSwitchDisk _tdstTypeSwitchDisk, *P_tdstTypeSwitchDisk; - -struct _tdstTypeSwitchDisk { -}; - -typedef struct _tdstTypeSwitchMem _tdstTypeSwitchMem, *P_tdstTypeSwitchMem; - -struct _tdstTypeSwitchMem { -}; - -typedef struct _tdstTypeThemeDisk _tdstTypeThemeDisk, *P_tdstTypeThemeDisk; - -struct _tdstTypeThemeDisk { -}; - -typedef struct _tdstTypeThemeMem _tdstTypeThemeMem, *P_tdstTypeThemeMem; - -struct _tdstTypeThemeMem { -}; +typedef short ACP_tdxIndex; typedef struct AI_tdstMind_ AI_tdstMind_, *PAI_tdstMind_; struct AI_tdstMind_ { }; +typedef struct tdstAlwaysModelList_ tdstAlwaysModelList_, *PtdstAlwaysModelList_; + +typedef struct tdstAlwaysModelList_ *ALW_tdxHandleToModelList; + +struct tdstAlwaysModelList_ { +}; + typedef struct astruct_2 astruct_2, *Pastruct_2; typedef unsigned int uint; @@ -553,236 +70,6 @@ struct astruct_3 { int *binkFrameMemory; }; -typedef struct BINK BINK, *PBINK; - -typedef struct BINKRECT BINKRECT, *PBINKRECT; - -typedef struct BINKIO BINKIO, *PBINKIO; - -typedef struct BINKSND BINKSND, *PBINKSND; - -typedef struct BUNDLEPOINTERS BUNDLEPOINTERS, *PBUNDLEPOINTERS; - -typedef ulong (*BINKIOREADHEADER)(struct BINKIO *, long, void *, ulong); - -typedef ulong (*BINKIOREADFRAME)(struct BINKIO *, ulong, long, void *, ulong); - -typedef ulong (*BINKIOGETBUFFERSIZE)(struct BINKIO *, ulong); - -typedef void (*BINKIOSETINFO)(struct BINKIO *, void *, ulong, ulong, ulong); - -typedef ulong (*BINKIOIDLE)(struct BINKIO *); - -typedef void (*BINKIOCLOSE)(struct BINKIO *); - -typedef struct BINK *HBINK; - -typedef void (*BINKCBSUSPEND)(struct BINKIO *); - -typedef long (*BINKCBTRYSUSPEND)(struct BINKIO *); - -typedef void (*BINKCBRESUME)(struct BINKIO *); - -typedef void (*BINKCBIDLE)(struct BINKIO *); - -typedef long (*BINKSNDREADY)(struct BINKSND *); - -typedef long (*BINKSNDLOCK)(struct BINKSND *, uchar **, ulong *); - -typedef long (*BINKSNDUNLOCK)(struct BINKSND *, ulong); - -typedef void (*BINKSNDVOLUME)(struct BINKSND *, long); - -typedef void (*BINKSNDPAN)(struct BINKSND *, long); - -typedef long (*BINKSNDPAUSE)(struct BINKSND *, long); - -typedef long (*BINKSNDONOFF)(struct BINKSND *, long); - -typedef void (*BINKSNDCLOSE)(struct BINKSND *); - -typedef void (*BINKSNDMIXBINS)(struct BINKSND *, ulong *, ulong); - -typedef void (*BINKSNDMIXBINVOLS)(struct BINKSND *, ulong *, long *, ulong); - -struct BINKIO { - BINKIOREADHEADER ReadHeader; - BINKIOREADFRAME ReadFrame; - BINKIOGETBUFFERSIZE GetBufferSize; - BINKIOSETINFO SetInfo; - BINKIOIDLE Idle; - BINKIOCLOSE Close; - HBINK bink; - ulong ReadError; - ulong DoingARead; - ulong BytesRead; - ulong Working; - ulong TotalTime; - ulong ForegroundTime; - ulong IdleTime; - ulong ThreadTime; - ulong BufSize; - ulong BufHighUsed; - ulong CurBufSize; - ulong CurBufUsed; - uchar iodata[160]; - BINKCBSUSPEND suspend_callback; - BINKCBTRYSUSPEND try_suspend_callback; - BINKCBRESUME resume_callback; - BINKCBIDLE idle_on_callback; - ulong callback_control[16]; -}; - -struct BUNDLEPOINTERS { - void *typeptr; - void *type16ptr; - void *colorptr; - void *bits2ptr; - void *motionXptr; - void *motionYptr; - void *dctptr; - void *mdctptr; - void *patptr; -}; - -struct BINKRECT { - long Left; - long Top; - long Width; - long Height; -}; - -struct BINK { - ulong Width; - ulong Height; - ulong Frames; - ulong FrameNum; - ulong LastFrameNum; - ulong FrameRate; - ulong FrameRateDiv; - ulong ReadError; - ulong OpenFlags; - ulong BinkType; - ulong Size; - ulong FrameSize; - ulong SndSize; - struct BINKRECT FrameRects[8]; - long NumRects; - ulong PlaneNum; - void *YPlane[2]; - void *APlane[2]; - ulong YWidth; - ulong YHeight; - ulong UVWidth; - ulong UVHeight; - void *MaskPlane; - ulong MaskPitch; - ulong MaskLength; - ulong LargestFrameSize; - ulong InternalFrames; - long NumTracks; - ulong Highest1SecRate; - ulong Highest1SecFrame; - long Paused; - ulong BackgroundThread; - void *compframe; - void *preloadptr; - ulong *frameoffsets; - struct BINKIO bio; - uchar *ioptr; - ulong iosize; - ulong decompwidth; - ulong decompheight; - long *trackindexes; - ulong *tracksizes; - ulong *tracktypes; - long *trackIDs; - ulong numrects; - ulong playedframes; - ulong firstframetime; - ulong startframetime; - ulong startblittime; - ulong startsynctime; - ulong startsyncframe; - ulong twoframestime; - ulong entireframetime; - ulong slowestframetime; - ulong slowestframe; - ulong slowest2frametime; - ulong slowest2frame; - ulong soundon; - ulong videoon; - ulong totalmem; - ulong timevdecomp; - ulong timeadecomp; - ulong timeblit; - ulong timeopen; - ulong fileframerate; - ulong fileframeratediv; - ulong runtimeframes; - ulong runtimemoveamt; - ulong *rtframetimes; - ulong *rtadecomptimes; - ulong *rtvdecomptimes; - ulong *rtblittimes; - ulong *rtreadtimes; - ulong *rtidlereadtimes; - ulong *rtthreadreadtimes; - ulong lastblitflags; - ulong lastdecompframe; - ulong lastresynctime; - ulong doresync; - ulong playingtracks; - ulong soundskips; - struct BINKSND *bsnd; - ulong skippedlastblit; - ulong skipped_this_frame; - ulong skippedblits; - struct BUNDLEPOINTERS bunp; - ulong skipped_in_a_row; - ulong big_sound_skip_adj; - ulong big_sound_skip_reduce; - ulong last_time_almost_empty; - ulong last_read_count; - ulong last_sound_count; - ulong snd_callback_buffer[16]; -}; - -struct BINKSND { - BINKSNDREADY Ready; - BINKSNDLOCK Lock; - BINKSNDUNLOCK Unlock; - BINKSNDVOLUME Volume; - BINKSNDPAN Pan; - BINKSNDPAUSE Pause; - BINKSNDONOFF SetOnOff; - BINKSNDCLOSE Close; - BINKSNDMIXBINS MixBins; - BINKSNDMIXBINVOLS MixBinVols; - ulong sndbufsize; - uchar *sndbuf; - uchar *sndend; - uchar *sndwritepos; - uchar *sndreadpos; - ulong sndcomp; - ulong sndamt; - ulong sndconvert8; - ulong sndendframe; - ulong sndprime; - ulong sndpad; - ulong BestSizeIn16; - ulong BestSizeMask; - ulong SoundDroppedOut; - long NoThreadService; - long OnOff; - ulong Latency; - ulong VideoScale; - ulong freq; - long bits; - long chans; - uchar snddata[256]; -}; - typedef struct Bink Bink, *PBink; typedef struct BinkInner0 BinkInner0, *PBinkInner0; @@ -1235,138 +522,31 @@ struct BinkInner0 { undefined field373_0x187; }; -typedef struct BINKBUFFER BINKBUFFER, *PBINKBUFFER; +typedef struct tdstChannelActivationStateList_ tdstChannelActivationStateList_, *PtdstChannelActivationStateList_; -struct BINKBUFFER { - ulong Width; - ulong Height; - ulong WindowWidth; - ulong WindowHeight; - ulong SurfaceType; - void *Buffer; - long BufferPitch; - long ClientOffsetX; - long ClientOffsetY; - ulong ScreenWidth; - ulong ScreenHeight; - ulong ScreenDepth; - ulong ExtraWindowWidth; - ulong ExtraWindowHeight; - ulong ScaleFlags; - ulong StretchWidth; - ulong StretchHeight; - long surface; - void *ddsurface; - void *ddclipper; - long destx; - long desty; - long wndx; - long wndy; - ulong wnd; - long minimized; - long ddoverlay; - long ddoffscreen; - long lastovershow; - long issoftcur; - ulong cursorcount; - void *buffertop; - ulong type; - long noclipping; - long loadeddd; - long loadedwin; - void *dibh; - void *dibbuffer; - long dibpitch; - void *dibinfo; - ulong dibdc; - ulong diboldbitmap; +typedef struct tdstChannelActivationStateList_ *CHN_tdxHandleToCASElement; + +struct tdstChannelActivationStateList_ { }; -typedef struct BINKHDR BINKHDR, *PBINKHDR; +typedef struct tdstAChannel_ tdstAChannel_, *PtdstAChannel_; -struct BINKHDR { - ulong Marker; - ulong Size; - ulong Frames; - ulong LargestFrameSize; - ulong InternalFrames; - ulong Width; - ulong Height; - ulong FrameRate; - ulong FrameRateDiv; - ulong Flags; - ulong NumTracks; +typedef struct tdstAChannel_ *CHN_tdxHandleToChannel; + +struct tdstAChannel_ { }; -typedef struct BINKREALTIME BINKREALTIME, *PBINKREALTIME; +typedef struct tdstMorphChannelList_ tdstMorphChannelList_, *PtdstMorphChannelList_; -struct BINKREALTIME { - ulong FrameNum; - ulong FrameRate; - ulong FrameRateDiv; - ulong Frames; - ulong FramesTime; - ulong FramesVideoDecompTime; - ulong FramesAudioDecompTime; - ulong FramesReadTime; - ulong FramesIdleReadTime; - ulong FramesThreadReadTime; - ulong FramesBlitTime; - ulong ReadBufferSize; - ulong ReadBufferUsed; - ulong FramesDataRate; -}; +typedef struct tdstMorphChannelList_ *CHN_tdxHandleToMorphElement; -typedef struct BINKSUMMARY BINKSUMMARY, *PBINKSUMMARY; - -struct BINKSUMMARY { - ulong Width; - ulong Height; - ulong TotalTime; - ulong FileFrameRate; - ulong FileFrameRateDiv; - ulong FrameRate; - ulong FrameRateDiv; - ulong TotalOpenTime; - ulong TotalFrames; - ulong TotalPlayedFrames; - ulong SkippedFrames; - ulong SkippedBlits; - ulong SoundSkips; - ulong TotalBlitTime; - ulong TotalReadTime; - ulong TotalVideoDecompTime; - ulong TotalAudioDecompTime; - ulong TotalIdleReadTime; - ulong TotalBackReadTime; - ulong TotalReadSpeed; - ulong SlowestFrameTime; - ulong Slowest2FrameTime; - ulong SlowestFrameNum; - ulong Slowest2FrameNum; - ulong AverageDataRate; - ulong AverageFrameSize; - ulong HighestMemAmount; - ulong TotalIOMemory; - ulong HighestIOUsed; - ulong Highest1SecRate; - ulong Highest1SecFrame; -}; - -typedef struct BINKTRACK BINKTRACK, *PBINKTRACK; - -struct BINKTRACK { - ulong Frequency; - ulong Bits; - ulong Channels; - ulong MaxSize; - HBINK bink; - ulong sndcomp; - long trackindex; +struct tdstMorphChannelList_ { }; typedef struct FIL_tdstConcatFile_ FIL_tdstConcatFile_, *PFIL_tdstConcatFile_; +typedef struct FIL_tdstConcatFile_ FIL_tdstConcatFile; + typedef struct FIL_tdstConcatFileElement_ FIL_tdstConcatFileElement_, *PFIL_tdstConcatFileElement_; typedef struct FIL_tdstConcatFileElement_ FIL_tdstConcatFileElement; @@ -1392,24 +572,6 @@ struct FIL_tdstConcatFile_ { FIL_tdstConcatFileElement *d_stConcatFileElement; }; -typedef struct FIL_tdstFileHeader_ FIL_tdstFileHeader_, *PFIL_tdstFileHeader_; - -struct FIL_tdstFileHeader_ { - ulong ulWidth; - ulong ulHeight; - ulong ulImageSize; - long lChromakeyIndex; - ushort uwNbColorInPalette; - uchar ucBpcInPalette; - uchar ucBpp; - uchar ucRLECode; - uchar ucRed; - uchar ucGreen; - uchar ucBlue; - uchar ucFormat; - uchar ucVersion; -}; - typedef struct FIL_tdstFileInConcatFile_ FIL_tdstFileInConcatFile_, *PFIL_tdstFileInConcatFile_; struct FIL_tdstFileInConcatFile_ { @@ -1427,6 +589,8 @@ struct FIL_tdstFileInConcatFile_ { typedef struct FIL_tdstFileNameList_ FIL_tdstFileNameList_, *PFIL_tdstFileNameList_; +typedef struct FIL_tdstFileNameList_ FIL_tdstFileNameList; + typedef struct LST2_tdstAnchorToFIL_tdxHandleToFileNameListElementDyn LST2_tdstAnchorToFIL_tdxHandleToFileNameListElementDyn, *PLST2_tdstAnchorToFIL_tdxHandleToFileNameListElementDyn; typedef struct FIL_tdstFileNameListElement_ FIL_tdstFileNameListElement_, *PFIL_tdstFileNameListElement_; @@ -1450,26 +614,13 @@ struct FIL_tdstFileNameListElement_ { char *szFileName; }; +typedef struct FIL_tdstConcatFile_ *FIL_tdxHandleToConcatFile; -/* WARNING! conflicting data type names: /file.h/FIL_tdstFileNameListElement_ - /engine.h/FIL_tdstFileNameListElement_ */ +typedef struct FIL_tdstConcatFileElement_ *FIL_tdxHandleToConcatFileElement; -typedef struct FIL_tdstGF_ FIL_tdstGF_, *PFIL_tdstGF_; +typedef struct FIL_tdstFileInConcatFile_ *FIL_tdxHandleToFileInConcatFile; -struct FIL_tdstGF_ { - struct FIL_tdstFileHeader_ stFileHeader; - uchar *p_ucBitMap; - uchar *p_ucPalette; -}; - -typedef struct FIL_tdstRealGFFileHeader_ FIL_tdstRealGFFileHeader_, *PFIL_tdstRealGFFileHeader_; - -struct FIL_tdstRealGFFileHeader_ { - ulong ulFormat; - ulong ulWidth; - ulong ulHeight; - uchar ucBpp; - uchar ucRLECode; -}; +typedef struct FIL_tdstFileNameList_ *FIL_tdxHandleToFileNameList; typedef struct FileInner1 FileInner1, *PFileInner1; @@ -1533,9 +684,15 @@ struct Float4x4 { /* Matrix (row major?) math type */ struct Float4 w; }; -typedef struct GAM_tdstEngineOuter GAM_tdstEngineOuter, *PGAM_tdstEngineOuter; +typedef struct _s_FuncInfo FuncInfo; -typedef uchar ACP_tdxBool; +typedef uchar GAM_tdeDisplayFixMode; + +typedef uchar GAM_tdeEngineMode; + +typedef uchar GAM_tdeInputMode; + +typedef struct GAM_tdstEngineOuter GAM_tdstEngineOuter, *PGAM_tdstEngineOuter; struct GAM_tdstEngineOuter { uchar ucNumberOfLevels; @@ -1553,12 +710,6 @@ struct GAM_tdstEngineOuter { typedef struct GAM_tdstEngineStructure GAM_tdstEngineStructure, *PGAM_tdstEngineStructure; -typedef uchar GAM_tdeEngineMode; - -typedef uchar GAM_tdeInputMode; - -typedef uchar GAM_tdeDisplayFixMode; - typedef struct TMR_tdstEngineTimerStructure TMR_tdstEngineTimerStructure, *PTMR_tdstEngineTimerStructure; typedef short GLD_tdhDevice; @@ -1587,12 +738,13 @@ typedef struct HIE_tdstSuperObject HIE_tdstSuperObject, *PHIE_tdstSuperObject; typedef struct GAM_tdstLanguageStructure GAM_tdstLanguageStructure, *PGAM_tdstLanguageStructure; -typedef struct FIL_tdstFileNameList_ *FIL_tdxHandleToFileNameList; - typedef struct POS_stCompletePosition POS_stCompletePosition, *PPOS_stCompletePosition; typedef struct POS_stCompletePosition POS_tdstCompletePosition; +typedef unsigned short ushort; +typedef struct TMR_tdstTimerCount TMR_tdstTimerCount, *PTMR_tdstTimerCount; + typedef float GLI_tdxValue; typedef struct GLI_tdst2DVertex GLI_tdst2DVertex, *PGLI_tdst2DVertex; @@ -1648,6 +800,11 @@ struct POS_stCompletePosition { MTH3D_tdstMatrix stTransformMatrix; }; +struct TMR_tdstTimerCount { + ulong ulLowPart; + ulong ulHighPart; +}; + struct TMR_tdstEngineTimerStructure { ulong ulFrameNumber; ushort wTimerHandle; @@ -1790,6 +947,27 @@ struct GLI_tdstViewportManagement { ACP_tdxBool bValid; }; +typedef struct tdstBubbleEffect_ tdstBubbleEffect_, *PtdstBubbleEffect_; + +typedef struct tdstBubbleEffect_ *GAM_tdxHandleToBubbleEffect; + +struct tdstBubbleEffect_ { +}; + +typedef struct tdstFootPath_ tdstFootPath_, *PtdstFootPath_; + +typedef struct tdstFootPath_ *GAM_tdxHandleToFootPathEffect; + +struct tdstFootPath_ { +}; + +typedef struct tdstWaterStreakEffect_ tdstWaterStreakEffect_, *PtdstWaterStreakEffect_; + +typedef struct tdstWaterStreakEffect_ *GAM_tdxHandleToWaterStreakEffect; + +struct tdstWaterStreakEffect_ { +}; + typedef struct GEO_tdstBoundingSphere GEO_tdstBoundingSphere, *PGEO_tdstBoundingSphere; struct GEO_tdstBoundingSphere { @@ -1808,8 +986,6 @@ struct GEO_tdstColor { typedef struct GEO_tdstDoubledIndex GEO_tdstDoubledIndex, *PGEO_tdstDoubledIndex; -typedef short ACP_tdxIndex; - struct GEO_tdstDoubledIndex { ACP_tdxIndex a2_xIndex[2]; }; @@ -1835,6 +1011,8 @@ typedef struct GEO_tdstVisualSet GEO_tdstVisualSet, *PGEO_tdstVisualSet; struct GEO_tdstVisualSet { }; +typedef void *GEO_tdxHandleToRadiosity; + typedef struct GLI_tdstAnimatedTextureNode GLI_tdstAnimatedTextureNode, *PGLI_tdstAnimatedTextureNode; typedef struct GLI_tdstTexture GLI_tdstTexture, *PGLI_tdstTexture; @@ -1950,6 +1128,10 @@ struct GMA_tdstEngineEndStructure { char cCameraMode; }; +typedef void *GMT_tdxHandleToGameMaterial; + +typedef struct _s_HandlerType HandlerType; + typedef struct HIE_tdstSuperObject_ HIE_tdstSuperObject_, *PHIE_tdstSuperObject_; typedef union HIE_tduLinkedObject HIE_tduLinkedObject, *PHIE_tduLinkedObject; @@ -2272,6 +1454,42 @@ struct mod1_ptrs { pointer field2_0x8; }; +typedef void *MS_tdxHandleTo3dData; + +typedef void *MS_tdxHandleToAnimEffect; + +typedef struct tdstBrain_ tdstBrain_, *PtdstBrain_; + +typedef struct tdstBrain_ *MS_tdxHandleToBrain; + +struct tdstBrain_ { + struct AI_tdstMind_ *p_stMind; + GMT_tdxHandleToGameMaterial hLastCollidedGoThroughMaterial; + bool bWarnMechanicsFlag; +}; + +typedef void *MS_tdxHandleToCineinfo; + +typedef void *MS_tdxHandleToCollSet; + +typedef void *MS_tdxHandleToDynam; + +typedef void *MS_tdxHandleToMicro; + +typedef void *MS_tdxHandleToMSLight; + +typedef void *MS_tdxHandleToMSMagnet; + +typedef void *MS_tdxHandleToMSPrtSrc; + +typedef void *MS_tdxHandleToMSSound; + +typedef void *MS_tdxHandleToMSWay; + +typedef void *MS_tdxHandleToSectInfo; + +typedef void *MS_tdxHandleToStandardGame; + typedef struct r3_astruct_2 r3_astruct_2, *Pr3_astruct_2; struct r3_astruct_2 { @@ -2588,6 +1806,8 @@ struct r3_TaggedFloatUnk { struct Float4 unk; }; +typedef struct levelFixStruct *relPtr; + typedef struct tdst_inputAction tdst_inputAction, *Ptdst_inputAction; struct tdst_inputAction { @@ -2610,18 +1830,10 @@ struct tdst_inputAction { int validated; }; -typedef struct tdstAChannel_ tdstAChannel_, *PtdstAChannel_; - -struct tdstAChannel_ { -}; - -typedef struct tdstAlwaysModelList_ tdstAlwaysModelList_, *PtdstAlwaysModelList_; - -struct tdstAlwaysModelList_ { -}; - typedef struct tdstAnim3d_ tdstAnim3d_, *PtdstAnim3d_; +typedef struct tdstAnim3d_ tdstAnim3d; + typedef struct tdstFrame3d_ tdstFrame3d_, *PtdstFrame3d_; typedef struct tdstEvent_ tdstEvent_, *PtdstEvent_; @@ -2705,16 +1917,10 @@ struct tdstEvent_ { ushort uwChannelNumber; }; -typedef struct tdstAviHeader_ tdstAviHeader_, *PtdstAviHeader_; - -struct tdstAviHeader_ { - uchar ucRIFFMark[4]; - long lLength; - uchar ucAVIMark[4]; -}; - typedef struct tdstBlockInfo_ tdstBlockInfo_, *PtdstBlockInfo_; +typedef struct tdstBlockInfo_ tdstBlockInfo; + struct tdstBlockInfo_ { char *p_cBeginBlock; char *p_cEndBlock; @@ -2731,40 +1937,15 @@ struct tdstBlockInfoPriv { char *p_cMaxMem; }; -typedef struct tdstBrain_ tdstBrain_, *PtdstBrain_; - -typedef void *GMT_tdxHandleToGameMaterial; - -struct tdstBrain_ { - struct AI_tdstMind_ *p_stMind; - GMT_tdxHandleToGameMaterial hLastCollidedGoThroughMaterial; - bool bWarnMechanicsFlag; -}; - -typedef struct tdstBubbleEffect_ tdstBubbleEffect_, *PtdstBubbleEffect_; - -struct tdstBubbleEffect_ { -}; - -typedef struct tdstChannelActivationStateList_ tdstChannelActivationStateList_, *PtdstChannelActivationStateList_; - -struct tdstChannelActivationStateList_ { -}; - typedef struct tdstChannelInfo_ tdstChannelInfo_, *PtdstChannelInfo_; +typedef struct tdstChannelInfo_ tdstChannelInfo; + struct tdstChannelInfo_ { ulong ulThreadId; uchar ucGroupId; }; -typedef struct tdstChunkHeader_ tdstChunkHeader_, *PtdstChunkHeader_; - -struct tdstChunkHeader_ { - uchar ucChunkMark[4]; - long lChunkLength; -}; - typedef struct tdstCsaList_ tdstCsaList_, *PtdstCsaList_; struct tdstCsaList_ { @@ -2778,67 +1959,38 @@ struct tdstCurrentModeInfo { void *p_vTdstBlockInfoOrTdstDynInfo; }; +typedef struct tdstElement3d_ tdstElement3d; + typedef struct tdstEngineObject_ tdstEngineObject_, *PtdstEngineObject_; +typedef struct tdstEngineObject_ tdstEngineObject; + struct tdstEngineObject_ { - void *h_3dData; - void *h_StandardGame; - void *h_Dynam; - void *h_Brain; - undefined field4_0x10; - undefined field5_0x11; - undefined field6_0x12; - undefined field7_0x13; - undefined field8_0x14; - undefined field9_0x15; - undefined field10_0x16; - undefined field11_0x17; - undefined field12_0x18; - undefined field13_0x19; - undefined field14_0x1a; - undefined field15_0x1b; - undefined field16_0x1c; - undefined field17_0x1d; - undefined field18_0x1e; - undefined field19_0x1f; - undefined field20_0x20; - undefined field21_0x21; - undefined field22_0x22; - undefined field23_0x23; - undefined field24_0x24; - undefined field25_0x25; - undefined field26_0x26; - undefined field27_0x27; - undefined field28_0x28; - undefined field29_0x29; - undefined field30_0x2a; - undefined field31_0x2b; - undefined field32_0x2c; - undefined field33_0x2d; - undefined field34_0x2e; - undefined field35_0x2f; - undefined field36_0x30; - undefined field37_0x31; - undefined field38_0x32; - undefined field39_0x33; - undefined field40_0x34; - undefined field41_0x35; - undefined field42_0x36; - undefined field43_0x37; + MS_tdxHandleTo3dData h_3dData; + MS_tdxHandleToStandardGame h_StandardGame; + MS_tdxHandleToDynam h_Dynam; + MS_tdxHandleToBrain h_Brain; + MS_tdxHandleToCineinfo h_Cineinfo; + MS_tdxHandleToCollSet h_CollSet; + MS_tdxHandleToMSWay h_MSWay; + MS_tdxHandleToMSLight h_MSLight; + MS_tdxHandleToSectInfo h_SectInfo; + MS_tdxHandleToMicro h_Micro; + MS_tdxHandleToMSPrtSrc h_MSPrtSrc; + MS_tdxHandleToMSSound h_MSSound; + MS_tdxHandleToAnimEffect h_AnimEffect; + MS_tdxHandleToMSMagnet h_MSMagnet; }; -/* WARNING! conflicting data type names: /tdstEngineObject.h/tdstEngineObject_ - /tdstEngineObject_ */ +/* WARNING! conflicting data type names: /tdstEngineObject_ - /tdstEngineObject.h/tdstEngineObject_ */ -typedef struct tdstFootPath_ tdstFootPath_, *PtdstFootPath_; +typedef struct tdstEvent_ tdstEvent; -struct tdstFootPath_ { -}; +typedef struct tdstFrame3d_ tdstFrame3d; typedef struct tdstGeneralChannelsInfo_ tdstGeneralChannelsInfo_, *PtdstGeneralChannelsInfo_; -typedef struct tdstChannelInfo_ tdstChannelInfo; - struct tdstGeneralChannelsInfo_ { uchar ucNbchannelUsed; uchar ucMAxNbChannel; @@ -2847,6 +1999,8 @@ struct tdstGeneralChannelsInfo_ { typedef struct tdstInformationHeaderOfBlockWithoutFree_ tdstInformationHeaderOfBlockWithoutFree_, *PtdstInformationHeaderOfBlockWithoutFree_; +typedef struct tdstInformationHeaderOfBlockWithoutFree_ tdstInformationHeaderOfBlockWithoutFree; + struct tdstInformationHeaderOfBlockWithoutFree_ { uchar ucBoundededHeaderSize; uchar ucAlignment; @@ -2862,15 +2016,18 @@ struct tdstLastErrorInfo { dword ulChannelId; }; +typedef struct tdstLastErrorInfo *tdstLastErrorInfo_ptr_2_char; + +typedef struct tdstLastErrorInfo *tdstLastErrorInfo_ptr_4_char; + +typedef struct tdstLastErrorInfo *tdstLastErrorInfo_ptr_4_dword; + typedef struct tdstLipsSynchroTable_ tdstLipsSynchroTable_, *PtdstLipsSynchroTable_; struct tdstLipsSynchroTable_ { }; -typedef struct tdstMorphChannelList_ tdstMorphChannelList_, *PtdstMorphChannelList_; - -struct tdstMorphChannelList_ { -}; +typedef struct stMorphData tdstMorphData; typedef struct tdstObjectsTableElement_ tdstObjectsTableElement_, *PtdstObjectsTableElement_; @@ -2882,13 +2039,10 @@ typedef struct tdstParticleGenerator_ tdstParticleGenerator_, *PtdstParticleGene struct tdstParticleGenerator_ { }; -typedef struct tdstSndBankDescriptorList_ tdstSndBankDescriptorList_, *PtdstSndBankDescriptorList_; - -struct tdstSndBankDescriptorList_ { -}; - typedef struct tdstSubAnim3d_ tdstSubAnim3d_, *PtdstSubAnim3d_; +typedef struct tdstSubAnim3d_ tdstSubAnim3d; + struct tdstSubAnim3d_ { uchar ucCurrentFrame; uchar ucRepeatAnimation; @@ -2896,23 +2050,11 @@ struct tdstSubAnim3d_ { struct tdstState_ *p_stCurrentState; }; -typedef struct tdstTimerCount tdstTimerCount, *PtdstTimerCount; - -struct tdstTimerCount { - ulong ulLowPart; - ulong ulHighPart; -}; - typedef struct tdstViewportManagement_ tdstViewportManagement_, *PtdstViewportManagement_; struct tdstViewportManagement_ { }; -typedef struct tdstWaterStreakEffect_ tdstWaterStreakEffect_, *PtdstWaterStreakEffect_; - -struct tdstWaterStreakEffect_ { -}; - typedef struct tdstZdxList_ tdstZdxList_, *PtdstZdxList_; struct tdstZdxList_ { @@ -2923,6 +2065,20 @@ typedef struct tdstZoneSetList_ tdstZoneSetList_, *PtdstZoneSetList_; struct tdstZoneSetList_ { }; +typedef struct tdstLipsSynchroTable_ *tdxHandleOfLipsSynchroTable; + +typedef struct tdstObjectsTableElement_ *tdxHandleToObjectsTableElement; + +typedef struct tdstParticleGenerator_ *tdxHandleToParticleGenerator; + +typedef struct tdstViewportManagement_ *tdxHandleToViewportManagement; + +typedef void *tdxHandleToVoid; + +typedef struct _s_TryBlockMapEntry TryBlockMapEntry; + +typedef struct _s_UnwindMapEntry UnwindMapEntry; + typedef struct windowCreationParams windowCreationParams, *PwindowCreationParams; struct windowCreationParams { @@ -3098,4 +2254,10 @@ struct windowInstance { undefined field33_0xbf; }; +typedef struct tdstCsaList_ *ZDX_tdxHandleToCsaList; + +typedef struct tdstZdxList_ *ZDX_tdxHandleToZdxList; + +typedef struct tdstZoneSetList_ *ZDX_tdxHandleToZoneSetList; + #endif // GH_GENERATED_STRUCTS_H diff --git a/game_re/globals.txt b/game_re/globals.txt index e5f34f64..9e85903e 100644 --- a/game_re/globals.txt +++ b/game_re/globals.txt @@ -1,74 +1,20 @@ -0059733c || PTR__BinkOpenDirectSound_4_0059733c || / || undefined * +00598348 || DAT_00598348 || / || undefined +00598350 || DAT_00598350 || / || undefined +00598b7c || DAT_00598b7c || / || undefined +005990bc || DAT_005990bc || / || undefined 005a9ed4 || DAT_005a9ed4 || / || undefined -005b63e0 || s__s_not_initialized__005b63e0 || / || char[20] -005b63f4 || s_Please_run_the__s_setup__005b63f4 || / || char[28] -005b6410 || s_dashCC || / || char[4] -005b6414 || s_Gli_Mode_005b6414 || / || char[12] -005b6420 || s_Identifier_005b6420 || / || char[16] -005b6430 || s_Check_your_version_of_DirectX__V_005b6430 || / || char[72] -005b6478 || lpText_005b6478 || / || char[120] -005b64f0 || lpText_005b64f0 || / || char[80] -005b6540 || lpText_005b6540 || / || char[72] -005b6588 || s_Rayman_3_005b6588 || / || char[16] -005b6598 || lpText_005b6598 || / || char[76] -005b65e4 || s_Erreur_Rayman_3_005b65e4 || / || char[20] -005b65f8 || s_dpnhpast_dll_005b65f8 || / || char[16] -005b6608 || s_DRAWSEM_005b6608 || / || char[8] -005b6610 || s_Restoring_data_____005b6610 || / || char[20] -005b6624 || s_QUIT || / || char[8] -005b662c || s_or_press_ESC_to_quit_Rayman_3__005b662c || / || char[32] -005b664c || s__s___Restoring_data____005b664c || / || char[24] -005b6664 || s_Daten_Reparatur____005b6664 || / || char[20] -005b6678 || s_BEENDIGEN_005b6678 || / || char[12] -005b6684 || CHAR_E_005b6684 || / || char -005b66ac || s__s___Daten_Reparatur____005b66ac || / || char[24] -005b66c4 || s_German_005b66c4 || / || char[8] -005b66cc || s_Ripristino_dati____005b66cc || / || char[20] -005b66e0 || s__s___Pausa_005b66e0 || / || char[12] -005b66ec || s_USCIRE_005b66ec || / || char[8] -005b66f4 || s_Premi_ESC_per_uscire_da_Rayman_3_005b66f4 || / || char[36] -005b6718 || s__s___Ripristino_dati____005b6718 || / || char[24] -005b6730 || s_Italian_005b6730 || / || char[8] -005b6738 || s_Restablecer_datos____005b6738 || / || char[24] -005b6750 || s__s___Rotura_005b6750 || / || char[12] -005b675c || s_SALIR_005b675c || / || char[8] -005b6764 || s_Pulsa_ESC_para_salir_Rayman_3__005b6764 || / || char[32] -005b6784 || s__s___Restablecer_datos____005b6784 || / || char[28] -005b67a0 || s_Spanish_005b67a0 || / || char[8] -005b67a8 || s_Restauration || / || char[28] -005b67c4 || s__s___Pause_005b67c4 || / || char[11] -005b67d0 || s_ou_appuyez_sur_Echap_pour_quitte_005b67d0 || / || char[44] -005b67fc || s_QUITTER || / || char[8] -005b6804 || s_Restauration_fmt || / || char[36] -005b6828 || s_French_005b6828 || / || char[8] +005aa028 || FLOAT_005aa028 || / || float +005aa02c || FLOAT_005aa02c || / || float 005b6830 || s_windowTitle || / || char[12] 005b683c || s_percents || / || char[4] -005b6840 || s_Language_005b6840 || / || string -005b684c || s_English_005b684c || / || string -005b6854 || s_CompleteInstall_005b6854 || / || string -005b6864 || s_SOFTWARE_UBI_SOFT_RAYMAN_3_005b6864 || / || string -005b6880 || s_Unable_to_find_R3_Setup_DX8_exe__005b6880 || / || string -005b68bc || s_Rayman_3_Error_005b68bc || / || string -005b68cc || fopen_mode_r_binary || / || TerminatedCString -005b68d0 || s__R3_Setup_DX8_exe_005b68d0 || / || string -005b68e4 || s_Adapter_005b68e4 || / || string -005b68ec || fopen_mode_r_text || / || TerminatedCString 005b68f0 || lpAppName_005b68f0 || / || char[8] -005b68f8 || s_Directory_005b68f8 || / || string -005b6904 || s_None || / || TerminatedCString 005b690c || s_UbiSoft_Ubi_ini || / || TerminatedCString -005b6d10 || DAT_005b6d10 || / || undefined -005b6de8 || PTR_fassign || / || undefined * -005b93b0 || DAT_005b93b0 || / || char -005bad58 || s_percent_d || / || undefined +005b9f64 || DAT_005b9f64 || / || undefined2 +005ba354 || s_percent_s_path_2 || / || string +005bad00 || DAT_005bad00 || / || undefined2 005bd29c || g_errMod0 || / || byte -005bd318 || s_Warning_error__005bd318 || / || string -005bd328 || s_Fatale_error__005bd328 || / || string -005bd338 || s_Fatale_error__005bd338 || / || string -005bd348 || s_Strange__The_last_error_was_neve_005bd348 || / || string -005bd374 || s_Error_in_the_Erm__005bd374 || / || string -005bd388 || s_There_is_no_more_Channel_error_t_005bd388 || / || string -005bd4cc || g_errMod1 || / || byte +005bd454 || DAT_005bd454 || / || undefined4 +005bd460 || s_\jc\z%d:%s_005bd460 || / || string 005bd58c || g_errModMmg || / || byte 005bd5f4 || DAT_005bd5f4 || / || char 005bd630 || s_Video_AutoAdjustQuality_005bd630 || / || string @@ -76,185 +22,84 @@ 005bd654 || s_Video_RealQuality_005bd654 || / || string 005bd668 || s_Rayman_Arena_005bd668 || / || string 005bd678 || s_Video_WantedQuality_005bd678 || / || string -005bd72c || s_Videos_005bd72c || / || string -005bd7ac || g_errMod2Bink || / || byte -005bd9e8 || s__World_Sound_005bd9e8 || / || string -005bd9f8 || s__Options_005bd9f8 || / || string -005bda04 || s__Vignette_005bda04 || / || string -005bda10 || s__sBIN__s_005bda10 || / || string -005bda1c || s__SaveGame_005bda1c || / || string -005bda28 || s__World_Levels_005bda28 || / || string -005bda38 || s_World || / || undefined -005bda3c || DAT_005bda3c || / || undefined -005bda3e || DAT_005bda3e || / || char -005bda40 || s_DLL || / || undefined -005bda4c || s_UbiSoft_bmp_005bda4c || / || string -005bdca0 || g_modemQuality || /windef.h || UINT -005bdca4 || g_UDPPort || /windef.h || UINT +005bd9d0 || s_%s%s\World\Sound_005bd9d0 || / || string +005bd9e4 || s_BIN_005bd9e4 || / || char[4] +005bdc9c || DAT_005bdc9c || / || char +005bdfd0 || s_-level:_005bdfd0 || / || string 005bdfd8 || s_R3_DVD_005bdfd8 || / || string -005be0ec || s_R3_DVD_005be0ec || / || string -005be0f4 || s__s_DVD_missing_005be0f4 || / || string -005be130 || s_Die__s_DVDROM_kann_nicht_gelesen_005be130 || / || string -005be198 || s_Impossibile_trovare_il_DVD____s_005be198 || / || string -005be1ec || DAT_005be1ec || / || undefined -005be238 || s_Impossible_de_trouver_le_DVD_____005be238 || / || string -005be2ec || s_ModemQuality_005be2ec || / || string -005be2fc || s_UDPPort_005be2fc || / || string -005be304 || s_Yes || / || pointer -005be308 || s_SingleProcessor_005be308 || / || string -005be318 || lpDefault_005be318 || / || undefined -005be31c || s_StartDirectory_005be31c || / || string -005be32c || s_Gamedata_005be32c || / || string -005be338 || s_Camera_VerticalAxis_005be338 || / || string -005be34c || s_Camera_HorizontalAxis_005be34c || / || string -005be364 || s_Complete_005be364 || / || string -005be370 || lpDefault_005be370 || / || undefined -005be374 || s_SoundOnHD_005be374 || / || string -005be380 || lpDefault_005be380 || / || undefined -005be384 || s_TexturesMem_005be384 || / || string -005be390 || s_Agp || / || pointer -005be394 || s_Outline_005be394 || / || string -005be39c || s_StaticShadows_005be39c || / || string -005be3ac || s_DynamicShadows_005be3ac || / || string -005be3bc || s_TriLinear_005be3bc || / || string -005be3c8 || s_Tnl || / || pointer -005be3cc || s_TexturesCompressed_005be3cc || / || string -005be3e0 || s_GLI_Mode_005be3e0 || / || string -005be3ec || g_default_display_mode || / || string -005be400 || s_Please_insert_the_DVD_in_the_DVD_005be400 || / || string -005be438 || s_Bitte_legen_Sie_DVD_von_Rayman_3_005be438 || / || string -005be484 || s_Inserisci_il_DVD_di_Rayman_3_nel_005be484 || / || string -005be4c0 || s_Introduce_el_DVD_de_Rayman_3_en_l_005be4c0 || / || string -005be500 || DAT_005be500 || / || undefined -005be540 || s_fmt_c_colon_s || / || string -005be548 || s_r3_program_files || / || string -005be568 || PTR_DAT_005be568 || / || undefined * -005be6f0 || g_errModFirst || / || byte -005be8ac || g_modId4 || / || dword -005befbc || g_errMod5 || / || byte -005bf004 || s_M_005bf004 || / || char[2] -005bf008 || s_S_005bf008 || / || char[2] +005be290 || s_Tex32_2.cnt_005be290 || / || string +005be29c || s_Tex32_1.cnt_005be29c || / || string +005be2a8 || s_Tex16_1.cnt_005be2a8 || / || string +005be2b4 || s_Tex16_2.cnt_005be2b4 || / || string +005be2c0 || s_TexturesQuality_005be2c0 || / || string +005be2dc || s_VignettesFile_005be2dc || / || string +005be980 || s_Please_insert_the_CD_005be980 || / || string +005bf5fc || g_errMod6 || / || byte +005bf600 || g_needToInitMod6 || / || dword +005bf608 || s_V5.9.0_-_August_11th_1997_005bf608 || / || string +005bf690 || DAT_005bf690 || / || char 005bf6d8 || s__08X__04X__04X__02X_02X__02X_02X_005bf6d8 || / || string -005bf740 || r3_textureMemMode || / || dword -005bf744 || s_Agp8_005bf744 || / || TerminatedCString -005bf74c || s_Agp4_005bf74c || / || TerminatedCString -005bf754 || s_Vram8_005bf754 || / || string -005bf75c || s_Vram4_005bf75c || / || string -005bf764 || s_VramPlus_005bf764 || / || string -005bf76c || s_Vram || / || TerminatedCString 005c069c || g_errMod7 || / || byte -005c0f20 || DAT_005c0f20 || / || undefined2 -005c0f22 || DAT_005c0f22 || / || char 005c1400 || g_errMod17 || / || byte -005c4b0c || g_errMod8 || / || byte -005c4dcc || g_errMod9 || / || byte -005c506c || g_errMod3 || / || byte 005c51f4 || g_errMod10 || / || byte -005c67c8 || g_config_camera_hor_axis || /windef.h || UINT -005c67cc || g_config_camera_ver_axis || /windef.h || UINT -005ca864 || s_____005ca864 || / || string -005ca86c || DAT_005ca86c || / || undefined1 -005caf2c || g_errMod11 || / || byte 005cb16c || g_errMod12 || / || char -005cf5d4 || g_errMod14 || / || byte -005cf814 || g_errMod15 || / || byte -005cf874 || g_errMod16 || / || byte 005cf964 || g_gameHWND1 || /windef.h || HWND 005cf96c || lpDefault_005cf96c || / || long -005cfa20 || DWORD_005cfa20 || / || dword -005cfb64 || DAT_005cfb64 || / || int -005cfb74 || CodePage_005cfb74 || /windef.h || UINT -005d2638 || g_ucErmNbOfModule || / || byte -005d2644 || g_mod1_ptrs || / || mod1_ptrs 005d2660 || g_currentBinkMovie || /auto_structs || windowCreationParams -005d266c || DAT_005d266c || / || undefined -005d266d || DAT_005d266d || / || undefined1 -005d26a8 || DAT_005d26a8 || / || undefined1 -005d27b0 || lpVolumeNameBuffer_005d27b0 || / || undefined 005d28b6 || r3_main_data_005d28b6 || / || r3_main_data -005d29bc || g_soundOnHD || / || undefined -005d29c0 || g_complete || / || undefined -005d29c8 || DAT_005d29c8 || / || undefined4 -005e6b00 || DAT_005e6b00 || / || int -005e6b04 || DAT_005e6b04 || / || undefined -005f5e24 || DAT_005f5e24 || / || int -0063bec0 || m7_unk1 || / || byte +005d29c4 || DWORD_005d29c4 || / || dword +005e6b28 || DAT_005e6b28 || / || undefined4 +005e6b2c || DAT_005e6b2c || / || undefined +005e6b30 || DAT_005e6b30 || / || undefined4 +005e6b34 || DAT_005e6b34 || / || undefined4 +005e6c34 || g_lastFrameTime || / || int +005e6c38 || DAT_005e6c38 || / || undefined +005e6c3c || g_currentFrameTime || / || undefined4 +005e6c40 || DAT_005e6c40 || / || undefined4 +005e6c44 || DAT_005e6c44 || / || undefined +005e6c46 || DAT_005e6c46 || / || short +005e6c48 || DAT_005e6c48 || / || int +005e6c54 || g_textureConcatFile || /auto_structs || FIL_tdstConcatFile * +005f5e24 || g_startOfGfxStruct || /auto_structs || r3_astruct_2 0063bec4 || g_m7_criticalSectionInitialized || / || char +00754eb0 || g_fileWrapper1 || /auto_structs || FIL_tdstConcatFile * 0077d0a4 || INT_0077d0a4 || / || int 0077d0a8 || g_runMaximized || / || int 0077d0b0 || g_engineShouldRun || /WinDef.h || WPARAM 0077d0b4 || g_engineRunning || / || int -0077d0b8 || DAT_0077d0b8 || / || undefined4 +0077d0b8 || g_windowCloseRequested || / || undefined4 0077d0bc || g_drawSemaphore || /winnt.h || HANDLE -0077d0c0 || g_mutexName_Rayman3 || / || char[256] 0077d1c0 || g_windowTitle || / || char[256] -0077d2c0 || lpString_0077d2c0 || / || char[256] -0077d3c0 || s_windowTitleRestoring || / || char[256] -0077d4c0 || g_hinstance || /windef.h || HINSTANCE 0077d4c4 || g_gameHWND || /windef.h || HWND -0077d4c8 || g_mainThreadHandle || /winnt.h || HANDLE -0077d4d4 || WORD_0077d4d4 || / || word -0077d4d6 || WORD_0077d4d6 || / || word -0077d4d8 || DWORD_0077d4d8 || / || dword -0077d4e0 || g_appCmdLine || / || char[256] -0077d5e0 || s_wndStrRestoring || / || char[256] -0077d704 || DAT_0077d704 || / || int -0077d708 || __unguarded_readlc_active || / || undefined -0077d960 || DAT_0077d960 || / || undefined4 -0077da60 || uNumber_0077da60 || /mbstring.h || FILE * 00781660 || g_gameDataPath || / || char[64] -00782086 || DAT_00782086 || / || undefined -00782088 || lpBuffer_00782088 || / || char[260] +00781868 || g_savegamePath || / || undefined1 +0078196c || DAT_0078196c || / || undefined +00781a70 || s_world_levels || / || undefined +00781b74 || DAT_00781b74 || / || undefined +00781e80 || DAT_00781e80 || / || undefined +00781f84 || DAT_00781f84 || / || undefined +00782394 || s_MoviePath || / || undefined 007825c0 || s_quitting1 || / || char[64] 00782600 || s_wndStrQuiting || / || char[56] 00782640 || g_stErmTheLastErrorInfo || / || tdstLastErrorInfo[3] -00782644 || g_errDat4 || / || pointer -0078266c || DAT_0078266c || / || undefined1 0078f6a0 || g_a_p_stMmgModuleBlocksInfo || /mmg.h || tdstBlockInfoPriv *[255] 0078faa0 || g_MmgCriticalSection || / || undefined 0078fac0 || g_a_ucBlocksNbInModule || / || char[255] 0078fbc0 || g_stGeneralChannelInfo || /mmg.h || tdstGeneralChannelsInfo_ 0078fbc8 || g_d_stCurrentModeInfo || /mmg.h || tdstCurrentModeInfo * -00794cec || DAT_00794cec || / || undefined4 -00794d00 || DWORD_00794d00 || / || dword -00794d04 || DWORD_00794d04 || / || dword 007a0cd8 || DAT_007a0cd8 || / || undefined1 007a2c14 || g_windowClearColor || / || undefined4 007a2e00 || g_bink_videoBpp || / || byte 007a2e02 || g_bink_wantedVideoQuality || / || byte 007a2e03 || g_bink_realVideoQuality || / || byte 007a2e04 || g_bink_autoAdjustQuality || / || byte -007a2e0c || DAT_007a2e0c || / || uint -007a2e10 || g_bink_wantedVideoQualityPlus1 || / || int -007d78b9 || DAT_007d78b9 || / || undefined -007d78ba || DAT_007d78ba || / || undefined -007d78bb || DAT_007d78bb || / || undefined -007d78bc || DAT_007d78bc || / || undefined -007d78bd || DAT_007d78bd || / || undefined -007d78be || DAT_007d78be || / || undefined -007d79e8 || DAT_007d79e8 || / || undefined4 -007d79ec || DAT_007d79ec || / || undefined4 -007d79f0 || DAT_007d79f0 || / || undefined4 -007d7d84 || DAT_007d7d84 || / || undefined +007d7d8c || g_haveCmdlineLevel || / || undefined 007d7dc0 || g_r3_engine || /engine.h || GAM_tdstEngineStructure -007d7ea8 || DAT_007d7ea8 || / || undefined2 -007d80f8 || DAT_007d80f8 || / || short -007d83a8 || DAT_007d83a8 || / || undefined4 -007d83e0 || r3_TaggedFloatUnk_007d83e0 || /auto_structs || r3_TaggedFloatUnk -007d8434 || r3_TaggedFloatUnk_007d8434 || /auto_structs || r3_TaggedFloatUnk -007d98fd || DAT_007d98fd || / || undefined -007d9928 || DAT_007d9928 || / || undefined -007d9cc4 || DAT_007d9cc4 || / || uint -007d9df0 || g_config_unused0 || / || undefined -007d9e40 || lpSystemTime_007d9e40 || / || undefined -007d9e60 || DAT_007d9e60 || / || undefined4 -007d9e68 || WORD_007d9e68 || / || word -007d9e6a || sz_S || / || char[2] -007d9e6c || WORD_007d9e6c || / || word -007d9e6e || sz_M || / || char[2] -007d9e70 || lpRootPathName_007d9e70 || / || undefined -007d9e71 || UNK_007d9e71 || / || undefined3 +007d9aa0 || lpReturnedString_007d9aa0 || / || undefined +007d9ce0 || g_texturesFilenameBuf || / || undefined 007eb200 || g_unkModuleIdByte || / || dword +007eba24 || g_engine? || / || int +007edb18 || gfx_device || /d3d8.h || IDirect3DDevice8 * 007edd40 || g_GLI_fullscreen || / || undefined 007edd44 || g_GLI_width0 || / || int 007edd48 || g_GLI_height0 || / || int @@ -263,12 +108,10 @@ 007edd54 || g_GLI_width1 || / || int 007edd58 || g_GLI_height1 || / || int 007edd5c || g_GLI_bitdepth1 || / || int -007edd60 || g_GLI_adapter || /windef.h || UINT -007edd64 || g_GLI_tnl || / || undefined1 -007edd65 || g_config_tex_compressed || / || undefined1 -007edd66 || g_GLI_trilinear || / || undefined1 +007edd60 || g_GLI_adapter || / || undefined4 007edd70 || g_GLI_identifier || /guiddef.h || GUID 007edd80 || g_GLI_mode_float || / || float +007edda0 || g_windowTab || / || windowInstance *[16] 007edde0 || g_m7_init_struct || / || m7_init_struct 007eddf9 || m7_mmgBlockInitialized || / || undefined 007ede20 || g_mod7CriticalSection || / || undefined diff --git a/game_re/r3/binders/base.h b/game_re/r3/binders/base.h index 150242c3..3aa4467a 100644 --- a/game_re/r3/binders/base.h +++ b/game_re/r3/binders/base.h @@ -5,6 +5,7 @@ #if _WIN32 #include +#include #else #include "win32_shim.h" #endif diff --git a/game_re/type_blacklist.txt b/game_re/type_blacklist.txt index 7b0d83dd..8b5026b4 100644 --- a/game_re/type_blacklist.txt +++ b/game_re/type_blacklist.txt @@ -1922,3 +1922,6 @@ _stati64 _stat _strflt _tiddata +_BIN_TYPES_ +tagBIND_FLAGS_ +ImageBaseOffset32 \ No newline at end of file