mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-23 02:42:38 +01:00
24 lines
842 B
C
24 lines
842 B
C
#ifndef BCOLLIDE_H
|
|
#define BCOLLIDE_H
|
|
|
|
enum CollisionCheckFlags
|
|
{
|
|
CollisionCheckFlag_MightBeABarrier = 0x1,
|
|
CollisionCheckFlag_IsVegasMovingTrain = 0x2,
|
|
};
|
|
|
|
extern int bcollided2d(CDATA2D *body, int* boxOverlap = NULL); // 0x0001C51C
|
|
|
|
extern void bFindCollisionPoint(CDATA2D *body, CRET2D *collisionResult); // 0x0001C8C0
|
|
extern int bFindCollisionTime(CDATA2D *cd, CRET2D *collisionResult); // 0x0001CC30
|
|
|
|
extern void ApplyDamage(CAR_DATA *cp, char region, int value, char fakeDamage); // 0x0001CEEC
|
|
extern int DamageCar3D(CAR_DATA *cp, LONGVECTOR4* delta, int strikeVel, CAR_DATA *pOtherCar); // 0x0001D0B0
|
|
|
|
extern void DamageCar(CAR_DATA *cp, CDATA2D *cd, CRET2D *collisionResult, int strikeVel); // 0x0001D454
|
|
|
|
extern int CarBuildingCollision(CAR_DATA *cp, BUILDING_BOX *building, CELL_OBJECT *cop, int flags); // 0x0001D68C
|
|
|
|
|
|
#endif
|