2018-04-13 18:23:45 +02:00
|
|
|
/***
|
|
|
|
*
|
|
|
|
* Copyright (c) 1996-2002, Valve LLC. All rights reserved.
|
2021-01-03 02:28:45 +01:00
|
|
|
*
|
|
|
|
* This product contains software technology licensed from Id
|
|
|
|
* Software, Inc. ("Id Technology"). Id Technology (c) 1996 Id Software, Inc.
|
2018-04-13 18:23:45 +02:00
|
|
|
* 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.
|
|
|
|
*
|
|
|
|
****/
|
2020-09-05 23:42:50 +02:00
|
|
|
#pragma once
|
2018-04-13 18:23:45 +02:00
|
|
|
#ifndef STUDIO_EVENT_H
|
|
|
|
#define STUDIO_EVENT_H
|
|
|
|
|
2020-09-05 23:42:50 +02:00
|
|
|
#define MAXEVENTSTRING 64
|
|
|
|
|
2018-04-13 18:23:45 +02:00
|
|
|
typedef struct mstudioevent_s
|
|
|
|
{
|
2020-09-21 15:18:12 +02:00
|
|
|
// the frame at which this animation event occurs
|
2020-09-21 14:52:20 +02:00
|
|
|
int32_t frame;
|
2020-09-21 15:18:12 +02:00
|
|
|
|
|
|
|
// the script event type
|
2020-09-21 14:52:20 +02:00
|
|
|
int32_t event;
|
2020-09-21 15:18:12 +02:00
|
|
|
|
|
|
|
// was "type"
|
|
|
|
int32_t unused;
|
|
|
|
|
|
|
|
// options
|
|
|
|
// could be path to sound WAVE files
|
2020-09-05 23:42:50 +02:00
|
|
|
char options[MAXEVENTSTRING];
|
2018-04-13 18:23:45 +02:00
|
|
|
} mstudioevent_t;
|
|
|
|
|
2020-09-05 23:42:50 +02:00
|
|
|
#endif // STUDIO_EVENT_H
|