mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-17 14:07:48 +00:00
add hl1,portal,dod source code
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||||
//
|
||||
// Purpose:
|
||||
//
|
||||
//=============================================================================//
|
||||
|
||||
#ifndef WEAPON_DODSEMIAUTO_H
|
||||
#define WEAPON_DODSEMIAUTO_H
|
||||
#ifdef _WIN32
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
#include "cbase.h"
|
||||
#include "shake.h"
|
||||
#include "weapon_dodbasegun.h"
|
||||
|
||||
|
||||
#if defined( CLIENT_DLL )
|
||||
#define CDODSemiAutoWeapon C_DODSemiAutoWeapon
|
||||
#endif
|
||||
|
||||
class CDODSemiAutoWeapon : public CWeaponDODBaseGun
|
||||
{
|
||||
public:
|
||||
DECLARE_CLASS( CDODSemiAutoWeapon, CWeaponDODBaseGun );
|
||||
DECLARE_NETWORKCLASS();
|
||||
DECLARE_PREDICTABLE();
|
||||
|
||||
CDODSemiAutoWeapon();
|
||||
|
||||
virtual void Spawn();
|
||||
virtual void PrimaryAttack( void );
|
||||
|
||||
virtual DODWeaponID GetWeaponID( void ) const { return WEAPON_NONE; }
|
||||
|
||||
private:
|
||||
CDODSemiAutoWeapon( const CDODSemiAutoWeapon & );
|
||||
};
|
||||
|
||||
#endif //WEAPON_DODSEMIAUTO_H
|
||||
Reference in New Issue
Block a user