132 lines
2.3 KiB
C
132 lines
2.3 KiB
C
/***
|
|
*
|
|
* 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.
|
|
*
|
|
****/
|
|
#ifndef ACTIVITY_H
|
|
#define ACTIVITY_H
|
|
|
|
typedef enum
|
|
{
|
|
ACT_RESET,
|
|
ACT_IDLE,
|
|
ACT_GUARD,
|
|
ACT_WALK,
|
|
ACT_RUN,
|
|
ACT_FLY,
|
|
ACT_SWIM,
|
|
ACT_HOP,
|
|
ACT_LEAP,
|
|
ACT_FALL,
|
|
ACT_LAND,
|
|
ACT_STRAFE_LEFT,
|
|
ACT_STRAFE_RIGHT,
|
|
ACT_ROLL_LEFT,
|
|
ACT_ROLL_RIGHT,
|
|
ACT_TURN_LEFT,
|
|
ACT_TURN_RIGHT,
|
|
ACT_CROUCH,
|
|
ACT_CROUCHIDLE,
|
|
ACT_STAND,
|
|
ACT_USE,
|
|
ACT_SIGNAL1,
|
|
ACT_SIGNAL2,
|
|
ACT_SIGNAL3,
|
|
ACT_TWITCH,
|
|
ACT_COWER,
|
|
ACT_SMALL_FLINCH,
|
|
ACT_BIG_FLINCH,
|
|
ACT_RANGE_ATTACK1,
|
|
ACT_RANGE_ATTACK2,
|
|
ACT_MELEE_ATTACK1,
|
|
ACT_MELEE_ATTACK2,
|
|
ACT_RELOAD,
|
|
ACT_ARM,
|
|
ACT_DISARM,
|
|
ACT_EAT,
|
|
ACT_DIESIMPLE,
|
|
ACT_DIEBACKWARD,
|
|
ACT_DIEFORWARD,
|
|
ACT_DIEVIOLENT,
|
|
ACT_BARNACLE_HIT,
|
|
ACT_BARNACLE_PULL,
|
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|
|
ACT_CROUCH_WALK_SCARED,
|
|
ACT_CROUCH_DIE,
|
|
ACT_WALK_BACK,
|
|
ACT_IDLE_SNEAKY,
|
|
ACT_IDLE_SNEAKY_FIDGET,
|
|
ACT_WALK_SNEAKY,
|
|
ACT_WAVE,
|
|
ACT_YES,
|
|
ACT_NO
|
|
}
|
|
Activity;
|
|
|
|
typedef struct
|
|
{
|
|
int type;
|
|
char *name;
|
|
}
|
|
activity_map_t;
|
|
|
|
extern activity_map_t activity_map[];
|
|
#endif |