Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
844 B

5 years ago
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Upgrade that boosts vehicle speeds for short periods of time.
//
//=============================================================================//
#ifndef TF_OBJ_VEHICLEBOOST_H
#define TF_OBJ_VEHICLEBOOST_H
#ifdef _WIN32
#pragma once
#endif
#include "tf_obj_baseupgrade_shared.h"
//=============================================================================
//
// Vehicle Boost Upgrade
//
class CObjectVehicleBoost : public CBaseObjectUpgrade
{
DECLARE_CLASS( CObjectVehicleBoost, CBaseObjectUpgrade );
public:
DECLARE_DATADESC();
DECLARE_SERVERCLASS();
CObjectVehicleBoost();
void Spawn( void );
void Precache( void );
bool CanTakeEMPDamage( void ) { return true; }
void FinishedBuilding( void );
};
#endif // TF_OBJ_VEHICLEBOOST_H