2
0
mirror of https://github.com/FWGS/xash3d-fwgs synced 2024-11-24 18:59:50 +01:00
xash3d-fwgs/common/studio_event.h

38 lines
910 B
C
Raw Normal View History

/***
*
* 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.
*
****/
#pragma once
#ifndef STUDIO_EVENT_H
#define STUDIO_EVENT_H
#define MAXEVENTSTRING 64
typedef struct mstudioevent_s
{
// the frame at which this animation event occurs
2020-09-21 14:52:20 +02:00
int32_t frame;
// the script event type
2020-09-21 14:52:20 +02:00
int32_t event;
// was "type"
int32_t unused;
// options
// could be path to sound WAVE files
char options[MAXEVENTSTRING];
} mstudioevent_t;
#endif // STUDIO_EVENT_H