mirror of
https://github.com/rehlds/rechecker.git
synced 2024-12-26 20:35:28 +03:00
fc73912229
Added support ReHLDS API 3.X Refactoring
146 lines
3.2 KiB
C
146 lines
3.2 KiB
C
/*
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
* under the terms of the GNU General Public License as published by the
|
|
* Free Software Foundation; either version 2 of the License, or (at
|
|
* your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful, but
|
|
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software Foundation,
|
|
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
*
|
|
* In addition, as a special exception, the author gives permission to
|
|
* link the code of this program with the Half-Life Game Engine ("HL
|
|
* Engine") and Modified Game Libraries ("MODs") developed by Valve,
|
|
* L.L.C ("Valve"). You must obey the GNU General Public License in all
|
|
* respects for all of the code used other than the HL Engine and MODs
|
|
* from Valve. If you modify this file, you may extend this exception
|
|
* to your version of the file, but you are not obligated to do so. If
|
|
* you do not wish to do so, delete this exception statement from your
|
|
* version.
|
|
*
|
|
*/
|
|
#pragma once
|
|
|
|
typedef enum Activity_s
|
|
{
|
|
ACT_INVALID = -1,
|
|
|
|
ACT_RESET = 0, // Set m_Activity to this invalid value to force a reset to m_IdealActivity
|
|
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,
|
|
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
|
ACT_FLINCH_RIGHTARM,
|
|
ACT_FLINCH_LEFTLEG,
|
|
ACT_FLINCH_RIGHTLEG,
|
|
ACT_FLINCH,
|
|
ACT_LARGE_FLINCH,
|
|
ACT_HOLDBOMB,
|
|
ACT_IDLE_FIDGET,
|
|
ACT_IDLE_SCARED,
|
|
ACT_IDLE_SCARED_FIDGET,
|
|
ACT_FOLLOW_IDLE,
|
|
ACT_FOLLOW_IDLE_FIDGET,
|
|
ACT_FOLLOW_IDLE_SCARED,
|
|
ACT_FOLLOW_IDLE_SCARED_FIDGET,
|
|
ACT_CROUCH_IDLE,
|
|
ACT_CROUCH_IDLE_FIDGET,
|
|
ACT_CROUCH_IDLE_SCARED,
|
|
ACT_CROUCH_IDLE_SCARED_FIDGET,
|
|
ACT_CROUCH_WALK,
|
|
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[];
|