[wesnoth-commits] [wesnoth/wesnoth] dbc7c5: WC: Add a WC_ prefix to defines with generic names

Steve Cotton noreply at github.com
Mon Sep 6 17:53:29 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: dbc7c5e9840d8ec644deb47a9e0907f003c52f4c
      https://github.com/wesnoth/wesnoth/commit/dbc7c5e9840d8ec644deb47a9e0907f003c52f4c
  Author: Steve Cotton <steve at octalot.co.uk>
  Date:   2021-09-06 (Mon, 06 Sep 2021)

  Changed paths:
    M data/campaigns/World_Conquest/era/campaign/heroes.cfg
    M data/campaigns/World_Conquest/era/campaign/strings.cfg
    M data/campaigns/World_Conquest/era/era.cfg
    M data/campaigns/World_Conquest/era/factions/The_Alliance.cfg
    M data/campaigns/World_Conquest/era/factions/The_Cult.cfg
    M data/campaigns/World_Conquest/era/factions/The_Empire.cfg
    M data/campaigns/World_Conquest/era/factions/The_Gang.cfg
    M data/campaigns/World_Conquest/era/factions/The_Guild.cfg
    M data/campaigns/World_Conquest/era/factions/The_Hand.cfg
    M data/campaigns/World_Conquest/era/factions/The_Horde.cfg
    M data/campaigns/World_Conquest/era/factions/The_Militia.cfg
    M data/campaigns/World_Conquest/era/factions/The_Scourge.cfg
    M data/campaigns/World_Conquest/era/factions/The_Trust.cfg
    M data/campaigns/World_Conquest/era/factions/strings.cfg
    M data/campaigns/World_Conquest/resources/data/artifacts.cfg
    M data/campaigns/World_Conquest/resources/data/training.cfg
    M data/campaigns/World_Conquest/resources/strings/artifacts.cfg
    M data/campaigns/World_Conquest/resources/strings/effects.cfg
    M data/campaigns/World_Conquest/resources/strings/mainline.cfg
    M data/campaigns/World_Conquest/resources/strings/training.cfg
    M data/campaigns/World_Conquest/scenarios/WC_II_scenario.cfg

  Log Message:
  -----------
  WC: Add a WC_ prefix to defines with generic names

Macros with very generic names such as "STR_CASTLE" were defined and not
undefined. This prefixes all of them to be WC_STR_CASTLE, etc.

Either fixes or reduces the severity of #6062.

(cherry picked from commit d3d21e59ee797cfe9eecd50aabae10a353547328)





More information about the Commits mailing list