upload "kind" alien swarm

This commit is contained in:
nillerusr
2023-10-03 17:23:56 +03:00
parent b7bd94c52e
commit 7d3c0d8b5a
4229 changed files with 462900 additions and 495155 deletions
+7 -3
View File
@@ -1,4 +1,4 @@
//========= Copyright Valve Corporation, All rights reserved. ============//
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose: Defines the tasks for default AI.
//
@@ -23,7 +23,7 @@ class CStringRegistry;
// Codes are either one of the enumerated types below, or a string (similar to Windows resource IDs)
typedef int AI_TaskFailureCode_t;
enum AI_BaseTaskFailureCodes_t : AI_TaskFailureCode_t
enum AI_BaseTaskFailureCodes_t
{
NO_TASK_FAILURE,
FAIL_NO_TARGET,
@@ -53,6 +53,7 @@ enum AI_BaseTaskFailureCodes_t : AI_TaskFailureCode_t
FAIL_BAD_PATH_GOAL,
FAIL_STUCK_ONTOP,
FAIL_ITEM_TAKEN,
FAIL_FROZEN,
NUM_FAIL_CODES,
};
@@ -63,7 +64,7 @@ inline bool IsPathTaskFailure( AI_TaskFailureCode_t code )
}
const char *TaskFailureToString( AI_TaskFailureCode_t code );
inline intp MakeFailCode( const char *pszGeneralError ) { return (intp)pszGeneralError; }
inline int MakeFailCode( const char *pszGeneralError ) { return (int)pszGeneralError; }
enum TaskStatus_e
@@ -178,6 +179,9 @@ enum sharedtasks_e
// Allow a little slop, and allow for some Z offset (like the target is a gun on a table).
TASK_GET_PATH_TO_TARGET_WEAPON,
// I'm on another NPC's head and I need to get down
TASK_GET_PATH_OFF_OF_NPC,
TASK_CREATE_PENDING_WEAPON,
// Path to nodes[ m_pHintNode ]