mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-14 02:34:09 +00:00
bit more CAutomobile
This commit is contained in:
parent
07c6c7d0a2
commit
e9cafe340a
9 changed files with 219 additions and 18 deletions
|
@ -158,6 +158,17 @@ ToggleComedy(void)
|
|||
veh->bComedyControls = !veh->bComedyControls;
|
||||
}
|
||||
|
||||
static void
|
||||
PlaceOnRoad(void)
|
||||
{
|
||||
CVehicle *veh = FindPlayerVehicle();
|
||||
if(veh == nil)
|
||||
return;
|
||||
|
||||
if(veh->IsCar())
|
||||
((CAutomobile*)veh)->PlaceOnRoadProperly();
|
||||
}
|
||||
|
||||
static const char *carnames[] = {
|
||||
"landstal", "idaho", "stinger", "linerun", "peren", "sentinel", "patriot", "firetruk", "trash", "stretch", "manana", "infernus", "blista", "pony",
|
||||
"mule", "cheetah", "ambulan", "fbicar", "moonbeam", "esperant", "taxi", "kuruma", "bobcat", "mrwhoop", "bfinject", "corpse", "police", "enforcer",
|
||||
|
@ -241,6 +252,7 @@ DebugMenuPopulate(void)
|
|||
|
||||
DebugMenuAddCmd("Debug", "Fix Car", FixCar);
|
||||
DebugMenuAddCmd("Debug", "Toggle Comedy Controls", ToggleComedy);
|
||||
DebugMenuAddCmd("Debug", "Place Car on Road", PlaceOnRoad);
|
||||
|
||||
DebugMenuAddVarBool8("Debug", "Show Ped Road Groups", (int8*)&gbShowPedRoadGroups, nil);
|
||||
DebugMenuAddVarBool8("Debug", "Show Car Road Groups", (int8*)&gbShowCarRoadGroups, nil);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue