summaryrefslogblamecommitdiffstats
path: root/src/control/Cranes.h
blob: 7e5fd7ceea802cf8633545f74543ee0a42343d87 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                 
                                                               
                                                               

                                                                                                                    

                                       
  
#pragma once
#include "common.h"

class CVehicle;

class CCranes
{
public:
	static bool IsThisCarBeingTargettedByAnyCrane(CVehicle*);
	static bool IsThisCarBeingCarriedByAnyCrane(CVehicle*);
	static bool IsThisCarPickedUp(float, float, CVehicle*);
	static void ActivateCrane(float, float, float, float, float, float, float, float, bool, bool, float, float);
	static void DeActivateCrane(float, float);
	static void InitCranes(void);
	static void UpdateCranes(void);
};