mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-18 12:54:10 +00:00
more CAutomobile::ProcessControl
This commit is contained in:
parent
fa98f40f7c
commit
ba242bcf58
17 changed files with 605 additions and 37 deletions
|
@ -197,7 +197,7 @@ public:
|
|||
int16 Mode;
|
||||
int16 ShakeDur;
|
||||
uint8 ShakeFreq;
|
||||
int8 bHornHistory[5];
|
||||
bool bHornHistory[5];
|
||||
uint8 iCurrHornHistory;
|
||||
uint8 DisablePlayerControls;
|
||||
int8 bApplyBrakes;
|
||||
|
@ -377,6 +377,7 @@ public:
|
|||
bool ArePlayerControlsDisabled(void) { return DisablePlayerControls != PLAYERCONTROL_ENABLED; }
|
||||
};
|
||||
VALIDATE_SIZE(CPad, 0xFC);
|
||||
extern CPad *Pads; //[2]
|
||||
|
||||
#define IsButtonJustDown(pad, btn) \
|
||||
(!(pad)->OldState.btn && (pad)->NewState.btn)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue