BVB Source Codes

CRYENGINE Show AISignalCRCs.cpp Source code

Return Download CRYENGINE: download AISignalCRCs.cpp Source code - Download CRYENGINE Source code - Type:.cpp
  1. // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
  2.  
  3. #include "StdAfx.h"
  4. #include "AISignalCRCs.h"
  5. #include <CryCore/CryCrc32.h>
  6.  
  7. //              AI actions order.
  8. static const char* const AIORD_ATTACK = "ORD_ATTACK";
  9. static const char* const AIORD_SEARCH = "ORD_SEARCH";
  10. static const char* const AIORD_REPORTDONE = "ORD_DONE";
  11. static const char* const AIORD_REPORTFAIL = "ORD_FAIL";
  12.  
  13. AISIGNALS_CRC::AISIGNALS_CRC()
  14. {
  15. }
  16.  
  17. void AISIGNALS_CRC::Init()
  18. {
  19.         m_nOnRequestNewObstacle = CCrc32::Compute("OnRequestNewObstacle");
  20.         m_nOnRequestUpdate = CCrc32::Compute("OnRequestUpdate");
  21.         m_nOnRequestUpdateAlternative = CCrc32::Compute("OnRequestUpdateAlternative");
  22.         m_nOnRequestUpdateTowards = CCrc32::Compute("OnRequestUpdateTowards");
  23.         m_nOnClearSpotList = CCrc32::Compute("OnClearSpotList");
  24.         m_nOnRequestShootSpot = CCrc32::Compute("OnRequestShootSpot");
  25.         m_nOnRequestHideSpot = CCrc32::Compute("OnRequestHideSpot");
  26.         m_nOnStartTimer = CCrc32::Compute("OnStartTimer");
  27.         m_nOnLastKnownPositionApproached = CCrc32::Compute("OnLastKnownPositionApproached");
  28.         m_nOnEndApproach = CCrc32::Compute("OnEndApproach");
  29.         m_nOnAbortAction = CCrc32::Compute("OnAbortAction");
  30.         m_nOnActionCompleted = CCrc32::Compute("OnActionCompleted");
  31.         m_nOnNoPathFound = CCrc32::Compute("OnNoPathFound");
  32.         m_nOnApproachEnd = CCrc32::Compute("OnApproachEnd");
  33.         m_nOnEndFollow = CCrc32::Compute("OnEndFollow");
  34.         m_nOnBulletRain = CCrc32::Compute("OnBulletRain");
  35.         m_nOnBulletHit = CCrc32::Compute("OnBulletHit");
  36.         m_nOnDriverEntered = CCrc32::Compute("OnDriverEntered");
  37.         m_nOnCheckDeadTarget = CCrc32::Compute("OnCheckDeadTarget");
  38.         m_nOnCheckDeadBody = CCrc32::Compute("OnCheckDeadBody");
  39.  
  40.         m_nAIORD_ATTACK = CCrc32::Compute(AIORD_ATTACK);
  41.         m_nAIORD_SEARCH = CCrc32::Compute(AIORD_SEARCH);
  42.         m_nAIORD_REPORTDONE = CCrc32::Compute(AIORD_REPORTDONE);
  43.         m_nAIORD_REPORTFAIL = CCrc32::Compute(AIORD_REPORTFAIL);
  44.  
  45.         m_nOnChangeStance = CCrc32::Compute("OnChangeStance");
  46.         m_nOnScaleFormation = CCrc32::Compute("OnScaleFormation");
  47.         m_nOnUnitDied = CCrc32::Compute("OnUnitDied");
  48.         m_nOnUnitDamaged = CCrc32::Compute("OnUnitDamaged");
  49.         m_nOnUnitBusy = CCrc32::Compute("OnUnitBusy");
  50.         m_nOnUnitSuspended = CCrc32::Compute("OnUnitSuspended");
  51.         m_nOnUnitResumed = CCrc32::Compute("OnUnitResumed");
  52.         m_nOnSetUnitProperties = CCrc32::Compute("OnSetUnitProperties");
  53.         m_nOnJoinTeam = CCrc32::Compute("OnJoinTeam");
  54.         m_nRPT_LeaderDead = CCrc32::Compute("RPT_LeaderDead");
  55.  
  56.         m_nOnSpotSeeingTarget = CCrc32::Compute("OnSpotSeeingTarget");
  57.         m_nOnSpotLosingTarget = CCrc32::Compute("OnSpotLosingTarget");
  58.  
  59.         m_nOnFormationPointReached = CCrc32::Compute("OnFormationPointReached");
  60.         m_nOnKeepEnabled = CCrc32::Compute("OnKeepEnabled");
  61.         m_nOnActionDone = CCrc32::Compute("OnActionDone");
  62.         m_nOnGroupAdvance = CCrc32::Compute("OnGroupAdvance");
  63.         m_nOnGroupSeek = CCrc32::Compute("OnGroupSeek");
  64.         m_nOnLeaderReadabilitySeek = CCrc32::Compute("OnLeaderReadabilitySeek");
  65.         m_nAddDangerPoint = CCrc32::Compute("AddDangerPoint");
  66.         m_nOnGroupCover = CCrc32::Compute("OnGroupCover");
  67.         m_nOnLeaderReadabilityAlarm = CCrc32::Compute("OnLeaderReadabilityAlarm");
  68.         m_nOnAdvanceTargetCompromised = CCrc32::Compute("OnAdvanceTargetCompromised");
  69.         m_nOnGroupCohesionTest = CCrc32::Compute("OnGroupCohesionTest");
  70.         m_nOnGroupTestReadabilityCohesion = CCrc32::Compute("OnGroupTestReadabilityCohesion");
  71.         m_nOnGroupTestReadabilityAdvance = CCrc32::Compute("OnGroupTestReadabilityAdvance");
  72.         m_nOnGroupAdvanceTest = CCrc32::Compute("OnGroupAdvanceTest");
  73.         m_nOnLeaderReadabilityAdvanceLeft = CCrc32::Compute("OnLeaderReadabilityAdvanceLeft");
  74.         m_nOnLeaderReadabilityAdvanceRight = CCrc32::Compute("OnLeaderReadabilityAdvanceRight");
  75.         m_nOnLeaderReadabilityAdvanceForward = CCrc32::Compute("OnLeaderReadabilityAdvanceForward");
  76.         m_nOnGroupTurnAmbient = CCrc32::Compute("OnGroupTurnAmbient");
  77.         m_nOnGroupTurnAttack = CCrc32::Compute("OnGroupTurnAttack");
  78.         m_nOnShapeEnabled = CCrc32::Compute("OnShapeEnabled");
  79.         m_nOnShapeDisabled = CCrc32::Compute("OnShapeDisabled");
  80.         m_nOnCloseContact = CCrc32::Compute("OnCloseContact");
  81.         m_nOnTargetDead = CCrc32::Compute("OnTargetDead");
  82.         m_nOnEndPathOffset = CCrc32::Compute("OnEndPathOffset");
  83.         m_nOnPathFindAtStart = CCrc32::Compute("OnPathFindAtStart");
  84.         m_nOnPathFound = CCrc32::Compute("OnPathFound");
  85.         m_nOnBackOffFailed = CCrc32::Compute("OnBackOffFailed");
  86.         m_nOnBadHideSpot = CCrc32::Compute("OnBadHideSpot");
  87.         m_nOnCoverReached = CCrc32::Compute("OnCoverReached");
  88.         m_nOnMovingToCover = CCrc32::Compute("OnMovingToCover");
  89.         m_nOnMovingInCover = CCrc32::Compute("OnMovingInCover");
  90.         m_nOnEnterCover = CCrc32::Compute("OnEnterCover");
  91.         m_nOnLeaveCover = CCrc32::Compute("OnLeaveCover");
  92.         m_nOnCoverCompromised = CCrc32::Compute("OnCoverCompromised");
  93.         m_nOnHighCover = CCrc32::Compute("OnHighCover");
  94.         m_nOnLowCover = CCrc32::Compute("OnLowCover");
  95.         m_nOnNoAimPosture = CCrc32::Compute("OnNoAimPosture");
  96.         m_nOnNoPeekPosture = CCrc32::Compute("OnNoPeekPosture");
  97.         m_nOnTPSDestinationNotFound = CCrc32::Compute("OnTPSDestNotFound");
  98.         m_nOnTPSDestinationFound = CCrc32::Compute("OnTPSDestFound");
  99.         m_nOnTPSDestinationReached = CCrc32::Compute("OnTPSDestReached");
  100.         m_nOnRightLean = CCrc32::Compute("OnRightLean");
  101.         m_nOnLeftLean = CCrc32::Compute("OnLeftLean");
  102.         m_nOnLowHideSpot = CCrc32::Compute("OnLowHideSpot");
  103.         m_nOnChargeStart = CCrc32::Compute("OnChargeStart");
  104.         m_nOnChargeHit = CCrc32::Compute("OnChargeHit");
  105.         m_nOnChargeMiss = CCrc32::Compute("OnChargeMiss");
  106.         m_nOnChargeBailOut = CCrc32::Compute("OnChargeBailOut");
  107.         m_nORDER_IDLE = CCrc32::Compute("ORDER_IDLE");
  108.         m_nOnNoGroupTarget = CCrc32::Compute("OnNoGroupTarget");
  109.         m_nOnLeaderTooFar = CCrc32::Compute("OnLeaderTooFar");
  110.         m_nOnEnemySteady = CCrc32::Compute("OnEnemySteady");
  111.         m_nOnShootSpotFound = CCrc32::Compute("OnShootSpotFound");
  112.         m_nOnShootSpotNotFound = CCrc32::Compute("OnShootSpotNotFound");
  113.         m_nOnLeaderStop = CCrc32::Compute("OnLeaderStop");
  114.         m_nOnUnitMoving = CCrc32::Compute("OnUnitMoving");
  115.         m_nOnUnitStop = CCrc32::Compute("OnUnitStop");
  116.         m_nORDER_EXIT_VEHICLE = CCrc32::Compute("ORDER_EXIT_VEHICLE");
  117.         m_nOnNoFormationPoint = CCrc32::Compute("OnNoFormationPoint");
  118.         m_nOnTargetApproaching = CCrc32::Compute("OnTargetApproaching");
  119.         m_nOnTargetFleeing = CCrc32::Compute("OnTargetFleeing");
  120.         m_nOnNoTargetVisible = CCrc32::Compute("OnNoTargetVisible");
  121.         m_nOnNoTargetAwareness = CCrc32::Compute("OnNoTargetAwareness");
  122.         m_nOnNoHidingPlace = CCrc32::Compute("OnNoHidingPlace");
  123.         m_nOnLowAmmo = CCrc32::Compute("OnLowAmmo");
  124.         m_nOnOutOfAmmo = CCrc32::Compute("OnOutOfAmmo");
  125.         m_nOnReloaded = CCrc32::Compute("OnReloaded");
  126.         m_nOnMeleeExecuted = CCrc32::Compute("OnMeleeExecuted");
  127.         m_nOnPlayerLooking = CCrc32::Compute("OnPlayerLooking");
  128.         m_nOnPlayerSticking = CCrc32::Compute("OnPlayerSticking");
  129.         m_nOnPlayerLookingAway = CCrc32::Compute("OnPlayerLookingAway");
  130.         m_nOnPlayerGoingAway = CCrc32::Compute("OnPlayerGoingAway");
  131.         m_nOnTargetTooClose = CCrc32::Compute("OnTargetTooClose");
  132.         m_nOnTargetTooFar = CCrc32::Compute("OnTargetTooFar");
  133.         m_nOnFriendInWay = CCrc32::Compute("OnFriendInWay");
  134.         m_nOnUseSmartObject = CCrc32::Compute("OnUseSmartObject");
  135.         m_nOnAvoidDanger = CCrc32::Compute("OnAvoidDanger");
  136.         m_nOnSetPredictionTime = CCrc32::Compute("m_nOnSetPredictionTime");
  137.         m_nOnInterestSystemEvent = CCrc32::Compute("OnInterestSystemEvent");
  138.         m_nOnSpecialAction = CCrc32::Compute("OnSpecialAction");
  139.         m_nOnNewAttentionTarget = CCrc32::Compute("OnNewAttentionTarget");
  140.         m_nOnAttentionTargetThreatChanged = CCrc32::Compute("OnAttentionTargetThreatChanged");
  141. };
  142.  
downloadAISignalCRCs.cpp Source code - Download CRYENGINE Source code
Related Source Codes/Software:
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top