Opened 10 years ago

Last modified 6 years ago

#2422 reopened defect

Remove multiply_color effect because it's deprecated

Reported by: Michael Owned by: Stan
Priority: Nice to Have Milestone: Backlog
Component: Core engine Keywords:
Cc: Patch:

Description (last modified by Stan)

Remove multiply_color effect because it's deprecated from

  • binaries/data/mods/public/gui/gui.rnc (don't forget to generate the .rng afterwards)
  • GUI_-_Sprites
  • somewhere else ?

Change History (14)

comment:1 by Michael, 10 years ago

Description: modified (diff)

comment:2 by Michael, 10 years ago

Description: modified (diff)

comment:3 by Stan, 9 years ago

Can't find the file, the only missing reference seems to be the wiki. Close it ?

comment:4 by Itms, 9 years ago

Description: modified (diff)

It's in the RelaxNG grammar now. Fixed the description.

comment:5 by historic_bruno, 9 years ago

Yeah, the grammars need to be fixed since there have been a number of changes since they were generated. I'm sure this isn't the only one.

comment:6 by s0600204, 9 years ago

I've taken the liberty of removing mention of the former "multiply_color" effect from the wiki page. (And added mention of the "color:" and "grayscale:" sprite shortcuts.) Hope no-one minds.

comment:7 by Stan, 6 years ago

Owner: set to Stan
Resolution: fixed
Status: newclosed

In 20832:

Remove the last occurence of multiply_color in the repo.
Fixes #2422

comment:8 by Stan, 6 years ago

Description: modified (diff)
Keywords: multiply_color effect remove deprecated removed
Milestone: BacklogAlpha 23

comment:9 by elexis, 6 years ago

I'm sure this isn't the only one

Stan did/can you check if this is was the only property?

Because if we know that there are more deprecated settings in the validation file, those should be removed and we should have an open, possibly simple ticket to remind ourselves of that.

comment:10 by Stan, 6 years ago

I checked for mutliply color in the repo. But maybe some other are deprecated if you find some create a ticket ;)

comment:11 by elexis, 6 years ago

Milestone: Alpha 23Backlog
Resolution: fixed
Status: closedreopened

It was good to commit the removal the known unused deprecated property.

But as historic_bruno mentioned, there is a reason to believe that there are more deprecated properties. So auditing the file (and answering the "somewhere else?" question in the ticket summary) is a remaining task IMO. (The task is mostly a string-search I suppose.)

comment:12 by Stan, 6 years ago

Description: modified (diff)

I thought that ticket was only about multiply_color not every deprecated property we have, if any. Maybe it should be changed to reflect that ?

comment:13 by Stan, 6 years ago

Description: modified (diff)

comment:14 by elexis, 6 years ago

Either that or the one closing a ticket reads through the comments for relevant remaining aspects of a ticket before marking it as fixed.

Note: See TracTickets for help on using tickets.