summaryrefslogtreecommitdiff
path: root/utils/hlfaceposer/globaleventproperties.h
blob: c74160dda82c1b6ab0e1d6d20636c0a11dbc5a90 (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
38
39
40
41
42
43
44
45
46
47
48
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: 
//
// $NoKeywords: $
//=============================================================================//

#ifndef GLOBALEVENTPROPERTIES_H
#define GLOBALEVENTPROPERTIES_H
#ifdef _WIN32
#pragma once
#endif

class CChoreoScene;

#include "basedialogparams.h"

//-----------------------------------------------------------------------------
// Purpose: 
//-----------------------------------------------------------------------------
struct CGlobalEventParams : public CBaseDialogParams
{
	int				m_nType;

	// GlobalEvent descriptive name
	char			m_szName[ 256 ];

	// Pause start time
	float			m_flStartTime;

	// Pause Scene or Cancel Scene ( pause/cancel )
	char			m_szAction[ 256 ];

	bool			m_bAutomate;

	char			m_szType[ 256 ];

	// Idle/paused time before action is taken
	float			m_flWaitTime;

	// For loop events
	int				m_nLoopCount;
	float			m_flLoopTime;
};

int GlobalEventProperties( CGlobalEventParams *params );

#endif // GLOBALEVENTPROPERTIES_H