Author Topic: Patch to move colours to 16 bit  (Read 2165 times)

0 Members and 1 Guest are viewing this topic.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4068
  • Total likes: 98
  • Helpful: 146
  • Languages: EN, DE, AT
Re: Patch to move colours to 16 bit
« Reply #35 on: March 11, 2017, 02:10:40 PM »
You can commit this in my opinion.
Parsley, sage, rosemary, and maggikraut.

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2437
  • Total likes: 221
  • Helpful: 85
  • D'oh
    • by An_dz
  • Languages: PT, EN, (it, de)
Re: Patch to move colours to 16 bit
« Reply #36 on: March 14, 2017, 10:33:36 PM »
I just noticed that the map background (not minimap) gets a weird colour after the second start. Even though I know that the saving/loading is not enabled yet, all other colours still load correctly.

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2437
  • Total likes: 221
  • Helpful: 85
  • D'oh
    • by An_dz
  • Languages: PT, EN, (it, de)
Re: Patch to move colours to 16 bit
« Reply #37 on: March 15, 2017, 05:59:10 PM »
It was an easy fix, I forgot that rdwr is read AND write so I have to initialise the values with something.

And it's committed, available in r8134. Theme maintainers should be aware of the two new theme parameters and the two that were removed.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 8561
  • Total likes: 253
  • Helpful: 226
  • Languages: De,EN,JP
Re: Patch to move colours to 16 bit
« Reply #38 on: March 17, 2017, 03:37:17 PM »
Does this need a savegame update? If so, please increase the SERVER savegame version.

Offline An_dz

  • Web Admin
  • Administrator
  • *
  • Posts: 2437
  • Total likes: 221
  • Helpful: 85
  • D'oh
    • by An_dz
  • Languages: PT, EN, (it, de)
Re: Patch to move colours to 16 bit
« Reply #39 on: March 17, 2017, 06:30:49 PM »
Is any colour apart from player colours saved with a savegame? If not then it's ok, player colours are still the 8 bit index.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 8561
  • Total likes: 253
  • Helpful: 226
  • Languages: De,EN,JP
Re: Patch to move colours to 16 bit
« Reply #40 on: March 18, 2017, 12:25:40 PM »
That should be fine then.