blob: 3caed65d9e24ded75deb64baf275692895273ed3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
//========= 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
|