mirror of
https://github.com/halpz/re3.git
synced 2025-07-16 15:28:11 +00:00
now BETTER_ALLCARSDODO_CHEAT tweak original cheat to be useful.
This commit is contained in:
@ -741,9 +741,6 @@ void CControllerConfigManager::AffectControllerStateOn_ButtonDown_Driving(int32
|
||||
FindPlayerVehicle()->GetModelIndex() == MI_DODO
|
||||
#ifdef FIX_BUGS
|
||||
|| (CVehicle::bAllDodosCheat && !FindPlayerVehicle()->IsRealHeli())
|
||||
#endif
|
||||
#ifdef BETTER_ALLCARSAREDODO_CHEAT
|
||||
|| (CVehicle::bAltDodoCheat && !FindPlayerVehicle()->IsRealHeli())
|
||||
#endif
|
||||
)))
|
||||
{
|
||||
|
@ -412,7 +412,11 @@ void OnlyRenderWheelsCheat()
|
||||
|
||||
void ChittyChittyBangBangCheat()
|
||||
{
|
||||
#ifdef BETTER_ALLCARSAREDODO_CHEAT
|
||||
CHud::SetHelpMessage(TheText.Get(!CVehicle::bAllDodosCheat ? "CHEAT1" : "CHEATOF"), true);
|
||||
#else
|
||||
CHud::SetHelpMessage(TheText.Get("CHEAT1"), true);
|
||||
#endif
|
||||
CVehicle::bAllDodosCheat = !CVehicle::bAllDodosCheat;
|
||||
CStats::CheatedCount += 1000;
|
||||
CPad::bHasPlayerCheated = true;
|
||||
@ -542,22 +546,6 @@ void AllCarsHeliCheat(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef BETTER_ALLCARSAREDODO_CHEAT
|
||||
void AllCarsPlaneCheat(void)
|
||||
{
|
||||
wchar* string;
|
||||
if (CVehicle::bAltDodoCheat) {
|
||||
string = TheText.Get("CHEATOF");
|
||||
CVehicle::bAltDodoCheat = false;
|
||||
}
|
||||
else {
|
||||
string = TheText.Get("CHEAT1");
|
||||
CVehicle::bAltDodoCheat = true;
|
||||
}
|
||||
CHud::SetHelpMessage(string, true);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef WALLCLIMB_CHEAT
|
||||
void WallClimbingCheat(void)
|
||||
{
|
||||
@ -1444,12 +1432,6 @@ void CPad::AddToPCCheatString(char c)
|
||||
AllCarsHeliCheat();
|
||||
#endif
|
||||
|
||||
#ifdef BETTER_ALLCARSAREDODO_CHEAT
|
||||
// "CARSAREPLANE"
|
||||
if (!_CHEATCMP("ENALPERASRAC"))
|
||||
AllCarsPlaneCheat();
|
||||
#endif
|
||||
|
||||
#ifdef WALLCLIMB_CHEAT
|
||||
// "SPIDERCAR"
|
||||
if (!_CHEATCMP("RACREDIPS"))
|
||||
@ -3169,11 +3151,6 @@ void CPad::ResetCheats(void)
|
||||
#ifdef RESTORE_ALLCARSHELI_CHEAT
|
||||
bAllCarCheat = false;
|
||||
#endif
|
||||
#ifdef BETTER_ALLCARSAREDODO_CHEAT
|
||||
CVehicle::bAltDodoCheat = false;
|
||||
#endif
|
||||
|
||||
|
||||
gbBlackCars = false;
|
||||
gbPinkCars = false;
|
||||
CCarCtrl::bMadDriversCheat = false;
|
||||
|
Reference in New Issue
Block a user