halflife-photomode/common/event_args.h

46 lines
932 B
C
Raw Normal View History

/***
2013-08-30 13:34:05 -07:00
*
* Copyright (c) 1996-2002, Valve LLC. All rights reserved.
*
* This product contains software technology licensed from Id
* Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc.
* All Rights Reserved.
*
* Use, distribution, and modification of this source code and/or resulting
* object code is restricted to non-commercial enhancements to products from
* Valve LLC. All other use, distribution, or modification is prohibited
* without written permission from Valve LLC.
*
****/
2013-08-30 13:34:05 -07:00
#pragma once
// Event was invoked with stated origin
#define FEVENT_ORIGIN (1 << 0)
2013-08-30 13:34:05 -07:00
// Event was invoked with stated angles
#define FEVENT_ANGLES (1 << 1)
2013-08-30 13:34:05 -07:00
typedef struct event_args_s
{
int flags;
2013-08-30 13:34:05 -07:00
// Transmitted
int entindex;
2013-08-30 13:34:05 -07:00
float origin[3];
float angles[3];
float velocity[3];
2013-08-30 13:34:05 -07:00
int ducking;
2013-08-30 13:34:05 -07:00
float fparam1;
float fparam2;
2013-08-30 13:34:05 -07:00
int iparam1;
int iparam2;
2013-08-30 13:34:05 -07:00
int bparam1;
int bparam2;
2013-08-30 13:34:05 -07:00
} event_args_t;