Skip to content

Commit

Permalink
merged PR
Browse files Browse the repository at this point in the history
  • Loading branch information
aap committed Dec 12, 2018
1 parent 16a9a90 commit 7584acf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ FX::GetFxQuality_stencil(void)
}

unsigned __int64 rand_seed = 1;
float ps2randnormalize = 1.0f/0x7FFFFFFF;
float ps2randnormalize = 1.0f/0x80000000;

int ps2rand()
{
Expand Down
20 changes: 10 additions & 10 deletions src/neoWaterdrops.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,10 @@ hookWaterDrops()
CreateFxSystem.fun = injector::MakeCALL(0x4A10C9, f, true).get();// "water_splash_big"
injector::MakeCALL(0x4A1139, f, true); // "water_splash"
injector::MakeCALL(0x4A11A9, f, true); // "water_splsh_sml"
injector::MakeCALL(0x68AEBA, f, true); // "water_swim"
injector::MakeCALL(0x68AF15, f, true); // "water_swim"
injector::MakeCALL(0x68AF66, f, true); // "water_swim"
injector::MakeCALL(0x68AFB3, f, true); // "water_swim"
//injector::MakeCALL(0x68AEBA, f, true); // "water_swim"
//injector::MakeCALL(0x68AF15, f, true); // "water_swim"
//injector::MakeCALL(0x68AF66, f, true); // "water_swim"
//injector::MakeCALL(0x68AFB3, f, true); // "water_swim"

//AddParticle
struct Fx_c {
Expand Down Expand Up @@ -271,19 +271,19 @@ hookWaterDrops()
return AddParticle.fun(_this, edx, position, velocity, arg2, prtMult, arg4, brightness, arg6, arg7);
};
auto f2 = static_cast<void*(__fastcall*)(void*, int, RwV3d*, RwV3d*, float, void*, float, float, float, unsigned char)>(AddParticleHook);
AddParticle.fun = injector::MakeCALL(0x72AD55, f2, true).get(); // "prt_splash"
injector::MakeCALL(0x7294A6, f2, true); // "prt_watersplash"
injector::MakeCALL(0x6DE21A, f2, true); // "prt_splash"
//injector::MakeCALL(0x72AD55, f2, true); // "prt_splash"
AddParticle.fun = injector::MakeCALL(0x7294A6, f2, true).get(); // "prt_watersplash"
//injector::MakeCALL(0x6DE21A, f2, true); // "prt_splash"
injector::MakeCALL(0x6DD6C5, f2, true); // "prt_boatsplash"
injector::MakeCALL(0x6DD589, f2, true); // "prt_boatsplash"
injector::MakeCALL(0x6C3ABE, f2, true); // "prt_wake"
injector::MakeCALL(0x6C3939, f2, true); // "prt_watersplash"
injector::MakeCALL(0x6AA86F, f2, true); // "prt_watersplash"
injector::MakeCALL(0x68ADE2, f2, true); // "prt_wake"
injector::MakeCALL(0x5E7649, f2, true); // "prt_watersplash"
injector::MakeCALL(0x5E74DC, f2, true); // "prt_splash"
injector::MakeCALL(0x5E37AF, f2, true); // "prt_splash"
injector::MakeCALL(0x5E3782, f2, true); // "prt_splash"
//injector::MakeCALL(0x5E74DC, f2, true); // "prt_splash"
//injector::MakeCALL(0x5E37AF, f2, true); // "prt_splash"
//injector::MakeCALL(0x5E3782, f2, true); // "prt_splash"
injector::MakeCALL(0x49FEEE, f2, true); // "prt_boatsplash"
injector::MakeCALL(0x49F01F, f2, true); // "prt_blood"
injector::MakeCALL(0x49EC92, f2, true); // "prt_blood"
Expand Down

0 comments on commit 7584acf

Please sign in to comment.