summaryrefslogblamecommitdiffstats
path: root/src/DamageManager.h
blob: 01269a42f794a9cdc400880e5de855e1ec75cf00 (plain) (tree)
1
2
3
4
5
6
7






                    









                                    









                                


                                              
 
#pragma once

#include "common.h"

class CDamageManager
{
public:

	enum {
		CAR_DOOR_BONNET = 0,
		CAR_DOOR_BUMPER,
		CAR_DOOR_LF,
		CAR_DOOR_RF,
		CAR_DOOR_LR,
		CAR_DOOR_RR
	};

	float field_0;
	char m_bEngineStatus;
	char m_bWheelStatus[4];
	char m_bDoorStatus[7];
	uint32 m_abLightStatus;
	uint32 m_abPanelsStatus;
	char field_24;
	char field_25;
	char field_26;
	char field_27;

	void SetDoorStatus(int, unsigned int);
	unsigned int GetDoorStatus(int);
};