View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006068 | DarkRadiant | General | public | 09.08.2022 19:32 | 12.08.2022 04:00 |
Reporter | stgatilov | Assigned To | |||
Priority | normal | Severity | normal | Reproducibility | N/A |
Status | acknowledged | Resolution | open | ||
Summary | 0006068: Support new decl precedence rules in TDM 2.11 | ||||
Description | If 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 Information | The new rule was implemented in TDM in commit 10063 (see idDeclManagerLocal::RegisterDeclFolder). | ||||
Tags | No tags attached. | ||||