mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-13 17:30:33 +00:00
CPed and CCivilianPed funcs done
This commit is contained in:
parent
288f99d507
commit
dbc458a4d7
7 changed files with 718 additions and 432 deletions
|
@ -134,7 +134,23 @@ public:
|
|||
void ReduceHornCounter(void);
|
||||
};
|
||||
|
||||
// These functions and function names are made up
|
||||
|
||||
inline int8 GetBikeDoorFlag(int32 carnode) {
|
||||
switch (carnode) {
|
||||
case CAR_DOOR_RR:
|
||||
case CAR_DOOR_LR:
|
||||
return CAR_DOOR_FLAG_RR | CAR_DOOR_FLAG_LR;
|
||||
case CAR_DOOR_RF:
|
||||
case CAR_DOOR_LF:
|
||||
return CAR_DOOR_FLAG_RF | CAR_DOOR_FLAG_LF;
|
||||
default:
|
||||
return CAR_DOOR_FLAG_UNKNOWN;
|
||||
}
|
||||
}
|
||||
|
||||
// for m_nGettingOutFlags
|
||||
inline int8 GetBikeDoorFlagInclJumpInFromFront(int32 carnode) {
|
||||
switch (carnode) {
|
||||
case CAR_DOOR_RR:
|
||||
case CAR_DOOR_LR:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue