2019-08-11 20:11:54 +03:00
|
|
|
#pragma once
|
|
|
|
#include "common.h"
|
|
|
|
|
|
|
|
class CVehicle;
|
|
|
|
|
|
|
|
class CCranes
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static bool IsThisCarBeingTargettedByAnyCrane(CVehicle*);
|
2019-10-07 00:39:25 +03:00
|
|
|
static bool IsThisCarBeingCarriedByAnyCrane(CVehicle*);
|
2020-02-02 14:47:03 +03:00
|
|
|
static bool IsThisCarPickedUp(float, float, CVehicle*);
|
2020-02-16 23:08:54 +03:00
|
|
|
static bool HaveAllCarsBeenCollectedByMilitaryCrane();
|
2019-10-13 14:46:09 +03:00
|
|
|
static void ActivateCrane(float, float, float, float, float, float, float, float, bool, bool, float, float);
|
|
|
|
static void DeActivateCrane(float, float);
|
2019-10-19 01:23:40 +03:00
|
|
|
static void InitCranes(void);
|
|
|
|
static void UpdateCranes(void);
|
2020-03-10 20:25:50 -07:00
|
|
|
static void Save(uint8*, uint32*);
|
2019-08-11 20:11:54 +03:00
|
|
|
};
|
2020-03-10 20:25:50 -07:00
|
|
|
|
|
|
|
void CranesLoad(uint8*, uint32); // is this really outside CCranes?
|