Cargando el resto de esta comparación.

Untitled diff

Creado El diff nunca expira
0 eliminaciones
799 líneas
0 adiciones
799 líneas
//=============================================================================
//=============================================================================
// ScriptedPawn.
// ScriptedPawn.
//=============================================================================
//=============================================================================
class ScriptedPawn expands Pawn
class ScriptedPawn expands Pawn
abstract
abstract
native;
native;


// ----------------------------------------------------------------------
// ----------------------------------------------------------------------
// Enumerations
// Enumerations


enum EDestinationType {
enum EDestinationType {
DEST_Failure,
DEST_Failure,
DEST_NewLocation,
DEST_NewLocation,
DEST_SameLocation
DEST_SameLocation
};
};




enum EAllianceType {
enum EAllianceType {
ALLIANCE_Friendly,
ALLIANCE_Friendly,
ALLIANCE_Neutral,
ALLIANCE_Neutral,
ALLIANCE_Hostile
ALLIANCE_Hostile
};
};




enum ERaiseAlarmType {
enum ERaiseAlarmType {
RAISEALARM_BeforeAttacking,
RAISEALARM_BeforeAttacking,
RAISEALARM_BeforeFleeing,
RAISEALARM_BeforeFleeing,
RAISEALARM_Never
RAISEALARM_Never
};
};




enum ESeekType {
enum ESeekType {
SEEKTYPE_None,
SEEKTYPE_None,
SEEKTYPE_Sound,
SEEKTYPE_Sound,
SEEKTYPE_Sight,
SEEKTYPE_Sight,
SEEKTYPE_Guess,
SEEKTYPE_Guess,
SEEKTYPE_Carcass
SEEKTYPE_Carcass
};
};




enum EHitLocation {
enum EHitLocation {
HITLOC_None,
HITLOC_None,
HITLOC_HeadFront,
HITLOC_HeadFront,
HITLOC_HeadBack,
HITLOC_HeadBack,
HITLOC_TorsoFront,
HITLOC_TorsoFront,
HITLOC_TorsoBack,
HITLOC_TorsoBack,
HITLOC_LeftLegFront,
HITLOC_LeftLegFront,
HITLOC_LeftLegBack,
HITLOC_LeftLegBack,
HITLOC_RightLegFront,
HITLOC_RightLegFront,
HITLOC_RightLegBack,
HITLOC_RightLegBack,
HITLOC_LeftArmFront,
HITLOC_LeftArmFront,
HITLOC_LeftArmBack,
HITLOC_LeftArmBack,
HITLOC_RightArmFront,
HITLOC_RightArmFront,
HITLOC_RightArmBack
HITLOC_RightArmBack
};
};




enum ETurning {
enum ETurning {
TURNING_None,
TURNING_None,
TURNING_Left,
TURNING_Left,
TURNING_Right
TURNING_Right
};
};




// ----------------------------------------------------------------------
// ----------------------------------------------------------------------
// Structures
// Structures


struct WanderCandidates {
struct WanderCandidates {
var WanderPoint point;
var WanderPoint point;
var Actor waypoint;
var Actor waypoint;
var float dist;
var float dist;
};
};


struct FleeCandidates {
struct FleeCandidates {
var HidePoint point;
var HidePoint point;
var Actor waypoint;
var Actor waypoint;
var Vector location;
var Vector location;
var float score;
var float score;
var float dist;
var float dist;
};
};


struct NearbyProjectile {
struct NearbyProjectile {
var DeusExProjectile projectile;
var DeusExProjectile projectile;
var vector location;
var vector location;
var float dist;
var float dist;
var float range;
var float range;
};
};


struct NearbyProjectileList {
struct NearbyProjectileList {
var NearbyProjectile list[8];
var NearbyProjectile list[8];
var vector center;
var vector center;
};
};




struct InitialAllianceInfo {
struct InitialAllianceInfo {
var() Name AllianceName;
var() Name AllianceName;
var() float AllianceLevel;
var() float AllianceLevel;
var() bool bPermanent;
var() bool bPermanent;
};
};