added spanish version support

This commit is contained in:
Amaro Martínez 2020-03-23 02:13:20 -05:00 committed by GitHub
parent 960669fd55
commit 0f0714062d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,8 @@ namespace Rebuilder
kEnglish10,
kEnglish11,
kGerman11,
kDanish11
kDanish11,
kSpanish11
}
// These must correspond to the `Version` enum above
@ -35,7 +36,8 @@ namespace Rebuilder
"58FCF0F6500614E9F743712D1DD4D340088123DE",
"BBE289E89E5A39949D272174162711EA5CFF522C",
"96A6BAE8345AA04C21F1B319A632CAECFEE22443",
"8DFD3E5FDDE8C95C61013069795171163C9A4821"
"8DFD3E5FDDE8C95C61013069795171163C9A4821",
"47EE50FC1EC5F6C54F465EB296D2F1B7CA25D5D2"
};
public static string[] standard_hdd_dirs = {
@ -647,6 +649,17 @@ namespace Rebuilder
remove_fps_limit = 0x7AD5B;
jukebox_path_offset = 0xD3056;
break;
case Version.kSpanish11:
nav_offset = 0xF3228;
fov_offset_1 = 0xA2407;
fov_offset_2 = 0xA23D2;
turn_speed_routine_loc = 0x544F8;
dsoundoffs1 = 0xB133B;
dsoundoffs2 = 0xB1331;
dsoundoffs3 = 0xADE73;
remove_fps_limit = 0x7ACBB;
jukebox_path_offset = 0xD2F96;
break;
}
WriteInt32(lego1dll, (Int32)patch_config.MouseDeadzone, nav_offset);