mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-23 15:52:41 +02:00
Discover gbpak and rumble functions
This commit is contained in:
1 parent
6e216d3f09
commit
d1a5f42edd
31 files changed
+581
-574
No files matched your search
@@ -4502,19 +4502,19 @@ void chrDamage(struct chrdata *chr, f32 damage, struct coord *vector, struct gse
|
||||
joyGetContpadNumsForPlayer(g_Vars.currentplayernum, &contpad1, &contpad2);
|
||||
|
||||
if (contpad1 >= 0) {
|
||||
pak0f11dc04(contpad1, 0.25f, -1, -1);
|
||||
pakRumble(contpad1, 0.25f, -1, -1);
|
||||
}
|
||||
|
||||
if (contpad2 >= 0) {
|
||||
pak0f11dc04(contpad2, 0.25f, -1, -1);
|
||||
pakRumble(contpad2, 0.25f, -1, -1);
|
||||
}
|
||||
#else
|
||||
setCurrentPlayerNum(propGetPlayerNum(vprop));
|
||||
|
||||
pak0f11dc04((s8)g_Vars.currentplayernum, 0.25f, -1, -1);
|
||||
pakRumble((s8)g_Vars.currentplayernum, 0.25f, -1, -1);
|
||||
|
||||
if (optionsGetControlMode(g_Vars.currentplayerstats->mpindex) >= CONTROLMODE_21) {
|
||||
pak0f11dc04((s8)(PLAYERCOUNT() + g_Vars.currentplayernum), 0.25f, -1, -1);
|
||||
pakRumble((s8)(PLAYERCOUNT() + g_Vars.currentplayernum), 0.25f, -1, -1);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user