mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-23 10:52:36 +01:00
30 lines
849 B
C
30 lines
849 B
C
#ifndef OBJCOLL_H
|
|
#define OBJCOLL_H
|
|
|
|
extern ushort gLastModelCollisionCheck;
|
|
|
|
extern char CellEmpty(VECTOR *pPosition, int radius); // 0x00069BA4
|
|
|
|
extern int GlobalPositionToCellNumber(VECTOR *pPosition); // 0x0006B2EC
|
|
|
|
extern char CellAtPositionEmpty(VECTOR *pPosition, int radius); // 0x0006B3E4
|
|
|
|
extern int RaySlabsIntersection(tRay *ray, tAABB *bbox); // 0x00069E1C
|
|
|
|
extern char lineClear(VECTOR *v1, VECTOR *v2); // 0x00069FB4
|
|
|
|
extern void SetCopListCell(int x, int z); // 0x0006B430
|
|
|
|
extern void BuildCollisionCopList(int *count); // 0x0006B45C
|
|
|
|
extern void CollisionCopList(XZPAIR *pos, int *count); // 0x0006A498
|
|
|
|
extern void CheckScenaryCollisions(_CAR_DATA *cp); // 0x0006A64C
|
|
|
|
extern int QuickBuildingCollisionCheck(VECTOR *pPos, int dir, int l, int w, int extra); // 0x0006ADBC
|
|
|
|
extern void DoScenaryCollisions(); // 0x0006B220
|
|
|
|
|
|
#endif
|