Home
last modified time | relevance | path

Searched refs:weaponDefId (Results 1 – 22 of 22) sorted by relevance

/dports/games/spring/spring_98.0/rts/ExternalAI/
H A DSSkirmishAICallbackImpl.h1063 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 DSSkirmishAICallbackImpl.cpp4115 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 DSkirmishAIWrapper.h48 …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 DSkirmishAIWrapper.cpp315 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 DAILegacySupport.h115 int weaponDefId; member
H A DAICallback.h240 const WeaponDef* GetWeaponDefById(int weaponDefId);
H A DAICallback.cpp1840 const WeaponDef* CAICallback::GetWeaponDefById(int weaponDefId) in GetWeaponDefById() argument
/dports/games/spring/spring_98.0/rts/ExternalAI/Interface/
H A DSSkirmishAICallback.h2026 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 DAISEvents.h204 int weaponDefId; member
293 int weaponDefId; member
319 int weaponDefId; member
/dports/games/spring/spring_98.0/AI/Wrappers/LegacyCpp/
H A DAIAICallback.cpp771 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 DAIAICallback.h231 const WeaponDef* GetWeaponDefById(int weaponDefId);
/dports/games/spring/spring_98.0/rts/Sim/Weapons/
H A DWeaponDefHandler.cpp59 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 DWeaponDefHandler.h25 const WeaponDef* GetWeaponDefByID(int weaponDefId) const;
/dports/games/spring/spring_98.0/AI/Wrappers/LegacyCpp/Event/
H A DAIWeaponFiredEvent.h22 AIHCGetWeaponDefById fetchCmd = {event.weaponDefId, weaponDef};
31 weaponDef->id = event.weaponDefId;
/dports/games/spring/spring_98.0/rts/Sim/Units/Scripts/
H A DNullUnitScript.h28 virtual void HitByWeapon(const float3& hitDir, int weaponDefId, float& inout_damage);
H A DNullUnitScript.cpp31 void CNullUnitScript::HitByWeapon(const float3& hitDir, int weaponDefId, float& inout_damage) {} in HitByWeapon() argument
H A DCobInstance.cpp255 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 DCobInstance.h122 virtual void HitByWeapon(const float3& hitDir, int weaponDefId, float& inout_damage);
H A DLuaUnitScript.h78 virtual void HitByWeapon(const float3& hitDir, int weaponDefId, float& inout_damage);
H A DUnitScript.h188 virtual void HitByWeapon(const float3& hitDir, int weaponDefId, float& inout_damage) = 0;
H A DLuaUnitScript.cpp594 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 DwrappEvents.awk259 sub(/evt.weaponDefId/, "WeaponDef.getInstance(ooClb, evt.weaponDefId)", paramsEvt);