Changeset 843 for Daodan/src/patches
- Timestamp:
- Apr 30, 2013, 3:06:45 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Daodan/src/patches/Patches.c
r839 r843 263 263 } 264 264 265 // Multi-byte patch (multiple language support) 266 void DD_Patch_MultiByte() 265 // Weapon on ground shown with name and magazine contents 266 void DD_Patch_NewWeap() 267 { 268 //Makes it always say "Received weapon_name." 269 //Needs check for loc_4DFC66 270 //DDrPatch_NOOP((char*)(OniExe + 0x000E4DF8),2); 271 272 //Adds Weapon name and ammo meter to pickup autoprompt 273 DDrPatch_NOOP((char*)(OniExe + 0x000FAC73), 9); 274 DDrPatch_NOOP((char*)(OniExe + 0x000FAC80), 5); 275 DDrPatch_MakeCall((void*)(OniExe + 0xFAC85), (void*)DDrWeapon2Message); 276 277 //Moves location of colors 278 //DDrPatch_Int32((int*)(OniExe + 0x0002E3D5), (int)&DDrDSayColors ); 279 //DDrPatch_Int32((int*)(OniExe + 0x0002E3DA), (int)&DDrDSayColors ); 280 } 281 282 // Disable Multi-byte character awareness patch (multiple language support) 283 void DD_Patch_NoMultiByte() 267 284 { 268 285 DDrPatch_Byte ((char*)(OniExe + 0x0002d8f8), 0xeb); … … 284 301 } 285 302 286 // Weapon on ground shown with name and magazine contents287 void DD_Patch_NewWeap()288 {289 //Makes it always say "Received weapon_name."290 //Needs check for loc_4DFC66291 //DDrPatch_NOOP((char*)(OniExe + 0x000E4DF8),2);292 293 //Adds Weapon name and ammo meter to pickup autoprompt294 DDrPatch_NOOP((char*)(OniExe + 0x000FAC73), 9);295 DDrPatch_NOOP((char*)(OniExe + 0x000FAC80), 5);296 DDrPatch_MakeCall((void*)(OniExe + 0xFAC85), (void*)DDrWeapon2Message);297 298 //Moves location of colors299 //DDrPatch_Int32((int*)(OniExe + 0x0002E3D5), (int)&DDrDSayColors );300 //DDrPatch_Int32((int*)(OniExe + 0x0002E3DA), (int)&DDrDSayColors );301 }302 303 303 // Fix options not visible in main menu when a game was started 304 304 void DD_Patch_OptionsVisible() … … 482 482 DD_Patch_LevelPlugins(); 483 483 484 if (!patch_multibyte)485 DD_Patch_MultiByte();486 487 484 if (patch_newweapon) 488 485 DD_Patch_NewWeap(); 486 487 if (patch_nomultibyte) 488 DD_Patch_NoMultiByte(); 489 489 490 490 if(patch_optionsvisible)
Note:
See TracChangeset
for help on using the changeset viewer.