fix(spelling): Change Gattling to Gatling - #3063
Conversation
| { | ||
| { "SpecialPowerTemplate", INI::parseSpecialPowerTemplate, nullptr, offsetof( SpectreGunshipUpdateModuleData, m_specialPowerTemplate ) }, | ||
| { "GattlingTemplateName", INI::parseAsciiString, nullptr, offsetof( SpectreGunshipUpdateModuleData, m_gattlingTemplateName ) }, | ||
| { "GatlingTemplateName", INI::parseAsciiString, nullptr, offsetof( SpectreGunshipUpdateModuleData, m_gatlingTemplateName ) }, |
There was a problem hiding this comment.
This is a template name that occurs in ini files.
| { "GunshipOrbitRadius", INI::parseReal, nullptr, offsetof( SpectreGunshipUpdateModuleData, m_gunshipOrbitRadius ) }, | ||
| { "HowitzerWeaponTemplate", INI::parseWeaponTemplate, nullptr, offsetof( SpectreGunshipUpdateModuleData, m_howitzerWeaponTemplate ) }, | ||
| { "GattlingStrafeFXParticleSystem", INI::parseParticleSystemTemplate, nullptr, offsetof( SpectreGunshipUpdateModuleData, m_gattlingStrafeFXParticleSystem ) }, | ||
| { "GatlingStrafeFXParticleSystem", INI::parseParticleSystemTemplate, nullptr, offsetof( SpectreGunshipUpdateModuleData, m_gatlingStrafeFXParticleSystem ) }, |
There was a problem hiding this comment.
This is a template name that occurs in ini files.
| "ChinaTankOverlordBattleBunker", | ||
| "ChinaTankOverlordPropagandaTower", | ||
| "ChinaTankOverlordGattlingCannon", | ||
| "ChinaTankOverlordGatlingCannon", |
There was a problem hiding this comment.
This is a template name that occurs in ini files.
| // if (btt->getName() endsWith("ChinaTankOverlordBattleBunker") continue; // 100 seems to hang gth. | ||
| // if (btt->getName() endsWith("ChinaTankOverlordPropagandaTower") continue; // 100 seems to hang gth. | ||
| // if (btt->getName() endsWith("ChinaTankOverlordGattlingCannon") continue; // 100 seems to hang gth. | ||
| // if (btt->getName() endsWith("ChinaTankOverlordGatlingCannon") continue; // 100 seems to hang gth. |
There was a problem hiding this comment.
This is a template name that occurs in ini files.
| DAMAGE_ARMOR_PIERCING = 2, | ||
| DAMAGE_SMALL_ARMS = 3, | ||
| DAMAGE_GATTLING = 4, | ||
| DAMAGE_GATLING = 4, |
| "ARMOR_PIERCING", | ||
| "SMALL_ARMS", | ||
| "GATTLING", | ||
| "GATLING", |
|
Perhaps this should wait until we're at a point where we can change data and code at the same time? I don't have a strong opinion either way. |
Yea that might be best, i'll close this for now |
|
Hello, its already fixed in gamepatch repo TheSuperHackers/GeneralsGamePatch#2726 |
993d9cf to
9eaa510
Compare
Renames internal gattling identifiers to gatling in SpectreGunship module members and variables, and fixes the spelling in comments. Data-coupled symbols that must match retail game data keep the original Gattling spelling: the DAMAGE_GATTLING damage type and its INI string, the ChinaTankOverlordGattlingCannon template name, and the GattlingTemplateName / GattlingStrafeFXParticleSystem INI field-parse keys, so the damage bitmask ABI and replay CRC stay retail-compatible.
|
There are zero mentions of Gatling in the code. But 97 Gattlings. We cannot change the INI related names. We can accept Gattling and move on. |
Closes #3062
Did a simple Find and Replace for Gattling and changed to Gatling, making sure to preserve Upper or lower case state.