Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Feature #768141

Introduce clause_enabled()

Added by Marko Lindqvist about 4 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
General
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Introduce clause_enabled(clause, from, to) function.

0013-Introduce-clause_enabled.patch (2.67 KB) 0013-Introduce-clause_enabled.patch Marko Lindqvist, 2019-12-04 03:42 PM

History

#1 Updated by Marko Lindqvist about 4 years ago

I was thinking this to be useful for adding menu item sensitivity adjustments to clients, but those should probably depend on clause_info.enabled only. All kind of problems with need to refresh open diplomacy dialogs arise if sensitivity is set by something that is not constant over the course of a game.

#2 Updated by Marko Lindqvist over 2 years ago

Marko Lindqvist wrote:

All kind of problems with need to refresh open diplomacy dialogs arise if sensitivity is set by something that is not constant over the course of a game.

The compromise in the attached patch is that this initial version of clause_enabled() only cares about things constant over the game.

#3 Updated by Marko Lindqvist over 2 years ago

  • Status changed from Resolved to Closed
  • Assignee set to Marko Lindqvist

Also available in: Atom PDF