View Issue Details

IDProjectCategoryView StatusLast Update
0006068DarkRadiantGeneralpublic12.08.2022 04:00
Reporterstgatilov Assigned To 
PrioritynormalSeveritynormalReproducibilityN/A
Status acknowledgedResolutionopen 
Summary0006068: Support new decl precedence rules in TDM 2.11
DescriptionIf there are several decls with same name in all loaded decl files, only one of them takes effect.
The rule for determining the winner has been changed for TDM 2.11:
  https://bugs.thedarkmod.com/view.php?id=5766

Old rule:
  Sort by filename, choose the first (minimal) entry.
New rule:
  Sort by pair (domain, filename), choose the first (minimal) entry.
Where:
  filename = relative path to the file where decl is (relative in the sense of Doom 3 filesystem)
  domain = whether the file is in mission directory or in core directory, with: mission < core

I guess in case of DarkRadiant, "mission" directory is the project directory, and "core" directory is game directory.
Additional InformationThe new rule was implemented in TDM in commit 10063 (see idDeclManagerLocal::RegisterDeclFolder).
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
09.08.2022 19:32 stgatilov New Issue
12.08.2022 04:00 greebo Status new => acknowledged