/dports/games/spring/spring_98.0/rts/ExternalAI/ |
H A D | SSkirmishAICallbackImpl.h | 1063 EXPORT(const char* ) skirmishAiCallback_WeaponDef_getName(int skirmishAIId, int weaponDefId); 1065 EXPORT(const char* ) skirmishAiCallback_WeaponDef_getType(int skirmishAIId, int weaponDefId); 1071 EXPORT(const char* ) skirmishAiCallback_WeaponDef_getCegTag(int skirmishAIId, int weaponDefId); 1073 EXPORT(float ) skirmishAiCallback_WeaponDef_getRange(int skirmishAIId, int weaponDefId); 1116 EXPORT(float ) skirmishAiCallback_WeaponDef_getSize(int skirmishAIId, int weaponDefId); 1126 EXPORT(float ) skirmishAiCallback_WeaponDef_getReload(int skirmishAIId, int weaponDefId); 1144 EXPORT(float ) skirmishAiCallback_WeaponDef_getUpTime(int skirmishAIId, int weaponDefId); 1154 EXPORT(bool ) skirmishAiCallback_WeaponDef_isTurret(int skirmishAIId, int weaponDefId); 1166 EXPORT(bool ) skirmishAiCallback_WeaponDef_isTracks(int skirmishAIId, int weaponDefId); 1232 EXPORT(float ) skirmishAiCallback_WeaponDef_getDance(int skirmishAIId, int weaponDefId); [all …]
|
H A D | SSkirmishAICallbackImpl.cpp | 4115 int weaponDefId = -1; in skirmishAiCallback_getWeaponDefByName() local 4119 weaponDefId = wd->id; in skirmishAiCallback_getWeaponDefByName() 4122 return weaponDefId; in skirmishAiCallback_getWeaponDefByName() 4150 return getWeaponDefById(skirmishAIId, weaponDefId)->range; in skirmishAiCallback_WeaponDef_getRange() 4245 return getWeaponDefById(skirmishAIId, weaponDefId)->size; in skirmishAiCallback_WeaponDef_getSize() 4265 return getWeaponDefById(skirmishAIId, weaponDefId)->reload; in skirmishAiCallback_WeaponDef_getReload() 4301 return getWeaponDefById(skirmishAIId, weaponDefId)->uptime; in skirmishAiCallback_WeaponDef_getUpTime() 4329 return getWeaponDefById(skirmishAIId, weaponDefId)->turret; in skirmishAiCallback_WeaponDef_isTurret() 4353 return getWeaponDefById(skirmishAIId, weaponDefId)->tracks; in skirmishAiCallback_WeaponDef_isTracks() 4485 return getWeaponDefById(skirmishAIId, weaponDefId)->wobble; in skirmishAiCallback_WeaponDef_getWobble() [all …]
|
H A D | SkirmishAIWrapper.h | 48 …d(int unitId, int attackerUnitId, float damage, const float3& dir, int weaponDefId, bool paralyzer… 59 … enemyUnitId, int attackerUnitId, float damage, const float3& dir, int weaponDefId, bool paralyzer… 63 virtual void WeaponFired(int unitId, int weaponDefId);
|
H A D | SkirmishAIWrapper.cpp | 315 float damage, const float3& dir, int weaponDefId, bool paralyzer) { in UnitDamaged() argument 318 new float[3], weaponDefId, paralyzer}; in UnitDamaged() 376 float damage, const float3& dir, int weaponDefId, bool paralyzer) { in EnemyDamaged() argument 379 new float[3], weaponDefId, paralyzer}; in EnemyDamaged() 400 void CSkirmishAIWrapper::WeaponFired(int unitId, int weaponDefId) { in WeaponFired() argument 401 SWeaponFiredEvent evtData = {unitId, weaponDefId}; in WeaponFired()
|
H A D | AILegacySupport.h | 115 int weaponDefId; member
|
H A D | AICallback.h | 240 const WeaponDef* GetWeaponDefById(int weaponDefId);
|
H A D | AICallback.cpp | 1840 const WeaponDef* CAICallback::GetWeaponDefById(int weaponDefId) in GetWeaponDefById() argument
|
/dports/games/spring/spring_98.0/rts/ExternalAI/Interface/ |
H A D | SSkirmishAICallback.h | 2026 const char* (CALLING_CONV *WeaponDef_getName)(int skirmishAIId, int weaponDefId); 2028 const char* (CALLING_CONV *WeaponDef_getType)(int skirmishAIId, int weaponDefId); 2034 const char* (CALLING_CONV *WeaponDef_getCegTag)(int skirmishAIId, int weaponDefId); 2036 float (CALLING_CONV *WeaponDef_getRange)(int skirmishAIId, int weaponDefId); 2090 float (CALLING_CONV *WeaponDef_getSize)(int skirmishAIId, int weaponDefId); 2100 float (CALLING_CONV *WeaponDef_getReload)(int skirmishAIId, int weaponDefId); 2118 float (CALLING_CONV *WeaponDef_getUpTime)(int skirmishAIId, int weaponDefId); 2129 bool (CALLING_CONV *WeaponDef_isTurret)(int skirmishAIId, int weaponDefId); 2142 bool (CALLING_CONV *WeaponDef_isTracks)(int skirmishAIId, int weaponDefId); 2256 float (CALLING_CONV *WeaponDef_getDance)(int skirmishAIId, int weaponDefId); [all …]
|
H A D | AISEvents.h | 204 int weaponDefId; member 293 int weaponDefId; member 319 int weaponDefId; member
|
/dports/games/spring/spring_98.0/AI/Wrappers/LegacyCpp/ |
H A D | AIAICallback.cpp | 771 unitDef->weapons[w].def = this->GetWeaponDefById(weaponDefId); in GetUnitDefById() 1350 return this->GetWeaponDefById(weaponDefId); in GetWeapon() 1359 if (weaponDefId < 0) { in GetWeaponDefById() 1363 bool doRecreate = weaponDefFrames[weaponDefId] < 0; in GetWeaponDefById() 1403 weaponDef->name = sAICallback->WeaponDef_getName(skirmishAIId, weaponDefId); in GetWeaponDefById() 1441 weaponDef->id = weaponDefId; in GetWeaponDefById() 1538 if (weaponDefs[weaponDefId] != NULL) { in GetWeaponDefById() 1539 delete weaponDefs[weaponDefId]; in GetWeaponDefById() 1541 weaponDefs[weaponDefId] = weaponDef; in GetWeaponDefById() 1542 weaponDefFrames[weaponDefId] = currentFrame; in GetWeaponDefById() [all …]
|
H A D | AIAICallback.h | 231 const WeaponDef* GetWeaponDefById(int weaponDefId);
|
/dports/games/spring/spring_98.0/rts/Sim/Weapons/ |
H A D | WeaponDefHandler.cpp | 59 const WeaponDef* CWeaponDefHandler::GetWeaponDefByID(int weaponDefId) const in GetWeaponDefByID() 61 if ((weaponDefId < 0) || (weaponDefId >= weaponDefs.size())) { in GetWeaponDefByID() 64 return &weaponDefs[weaponDefId]; in GetWeaponDefByID()
|
H A D | WeaponDefHandler.h | 25 const WeaponDef* GetWeaponDefByID(int weaponDefId) const;
|
/dports/games/spring/spring_98.0/AI/Wrappers/LegacyCpp/Event/ |
H A D | AIWeaponFiredEvent.h | 22 AIHCGetWeaponDefById fetchCmd = {event.weaponDefId, weaponDef}; 31 weaponDef->id = event.weaponDefId;
|
/dports/games/spring/spring_98.0/rts/Sim/Units/Scripts/ |
H A D | NullUnitScript.h | 28 virtual void HitByWeapon(const float3& hitDir, int weaponDefId, float& inout_damage);
|
H A D | NullUnitScript.cpp | 31 void CNullUnitScript::HitByWeapon(const float3& hitDir, int weaponDefId, float& inout_damage) {} in HitByWeapon() argument
|
H A D | CobInstance.cpp | 255 void CCobInstance::HitByWeapon(const float3& hitDir, int weaponDefId, float& inout_damage) in HitByWeapon() argument 264 const WeaponDef* wd = weaponDefHandler->GetWeaponDefByID(weaponDefId); in HitByWeapon()
|
H A D | CobInstance.h | 122 virtual void HitByWeapon(const float3& hitDir, int weaponDefId, float& inout_damage);
|
H A D | LuaUnitScript.h | 78 virtual void HitByWeapon(const float3& hitDir, int weaponDefId, float& inout_damage);
|
H A D | UnitScript.h | 188 virtual void HitByWeapon(const float3& hitDir, int weaponDefId, float& inout_damage) = 0;
|
H A D | LuaUnitScript.cpp | 594 void CLuaUnitScript::HitByWeapon(const float3& hitDir, int weaponDefId, float& inout_damage) in HitByWeapon() argument 614 lua_pushnumber(L, weaponDefId); in HitByWeapon()
|
/dports/games/spring/spring_98.0/AI/Wrappers/Cpp/bin/ |
H A D | wrappEvents.awk | 259 sub(/evt.weaponDefId/, "WeaponDef.getInstance(ooClb, evt.weaponDefId)", paramsEvt);
|