diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /public/movieobjects/dmetimeselectiontimes.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'public/movieobjects/dmetimeselectiontimes.h')
| -rw-r--r-- | public/movieobjects/dmetimeselectiontimes.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/public/movieobjects/dmetimeselectiontimes.h b/public/movieobjects/dmetimeselectiontimes.h new file mode 100644 index 0000000..d64a6b9 --- /dev/null +++ b/public/movieobjects/dmetimeselectiontimes.h @@ -0,0 +1,28 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//============================================================================= + +#ifndef DMETIMESELECTIONTIMES_H +#define DMETIMESELECTIONTIMES_H +#ifdef _WIN32 +#pragma once +#endif + +enum DmeTimeSelectionTimes_t +{ + TS_LEFT_FALLOFF = 0, + TS_LEFT_HOLD, + TS_RIGHT_HOLD, + TS_RIGHT_FALLOFF, + + TS_TIME_COUNT, +}; + +// NOTE: _side == 0 means left, == 1 means right +#define TS_FALLOFF( _side ) ( ( TS_TIME_COUNT - (_side) ) & 0x3 ) +#define TS_HOLD( _side ) ( TS_LEFT_HOLD + (_side) ) + + +#endif // DMETIMESELECTIONTIMES_H |