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.

32 lines
824 B

#ifndef _INCLUDED_ASW_INTRO_CONTROL_H
#define _INCLUDED_ASW_INTRO_CONTROL_H
#pragma once
#include "baseentity.h"
// Used by the intro to launch the campaign map once the intro is over
class CASW_Player;
class CASW_Intro_Control : public CLogicalEntity
{
public:
DECLARE_CLASS( CASW_Intro_Control, CLogicalEntity );
DECLARE_DATADESC();
void InputLaunchCampaignMap( inputdata_t &inputdata );
void InputShowCredits( inputdata_t &inputdata );
void InputShowCainMail( inputdata_t &inputdata );
void InputCheckReconnect( inputdata_t &inputdata );
void OnIntroStarted();
void CheckReconnect();
void LaunchCampaignMap();
void PlayerSpawned(CASW_Player *pPlayer);
virtual void Spawn();
bool m_bLaunchedCampaignMap;
bool m_bShownCredits;
COutputEvent m_IntroStarted;
};
#endif /* _INCLUDED_ASW_INTRO_CONTROL_H */