Skip to content

fix(spelling): Change Gattling to Gatling - #3063

Closed
CryoTheRenegade wants to merge 2 commits into
TheSuperHackers:mainfrom
CryoTheRenegade:fix-gatling-spelling
Closed

fix(spelling): Change Gattling to Gatling#3063
CryoTheRenegade wants to merge 2 commits into
TheSuperHackers:mainfrom
CryoTheRenegade:fix-gatling-spelling

Conversation

@CryoTheRenegade

Copy link
Copy Markdown

Closes #3062

Did a simple Find and Replace for Gattling and changed to Gatling, making sure to preserve Upper or lower case state.

{
{ "SpecialPowerTemplate", INI::parseSpecialPowerTemplate, nullptr, offsetof( SpectreGunshipUpdateModuleData, m_specialPowerTemplate ) },
{ "GattlingTemplateName", INI::parseAsciiString, nullptr, offsetof( SpectreGunshipUpdateModuleData, m_gattlingTemplateName ) },
{ "GatlingTemplateName", INI::parseAsciiString, nullptr, offsetof( SpectreGunshipUpdateModuleData, m_gatlingTemplateName ) },

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 ) },

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a template name that occurs in ini files.

"ChinaTankOverlordBattleBunker",
"ChinaTankOverlordPropagandaTower",
"ChinaTankOverlordGattlingCannon",
"ChinaTankOverlordGatlingCannon",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a template name that occurs in ini files.

DAMAGE_ARMOR_PIERCING = 2,
DAMAGE_SMALL_ARMS = 3,
DAMAGE_GATTLING = 4,
DAMAGE_GATLING = 4,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may be loaded from an INI file.

"ARMOR_PIERCING",
"SMALL_ARMS",
"GATTLING",
"GATLING",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may be loaded from an INI file.

@Caball009

Copy link
Copy Markdown

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.

@CryoTheRenegade

Copy link
Copy Markdown
Author

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

@dmgreeny

dmgreeny commented Aug 5, 2026

Copy link
Copy Markdown

Hello, its already fixed in gamepatch repo TheSuperHackers/GeneralsGamePatch#2726

CryoTheRenegade and others added 2 commits August 5, 2026 13:50
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.
@xezon

xezon commented Aug 5, 2026

Copy link
Copy Markdown

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.

@xezon xezon closed this Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change spelling gattling / gatling

5 participants