fix: Fixes issue with cached static gump strings. Fixes bad gump colors (#1771)
### Summary - Fixes an issue that causes CUO to crash due to bad string caching in static gumps - Fixes wrong/bad 16bit html gump hues. - Moves `C16232` (16-bit to 32-bit) and `C32216` (32-bit to 16-bit) to Utility class for broader use. TODO: - Some gumps have different 32bit (for string content) vs 16bit (for localized content) strings. Does this matter?
This commit is contained in:
parent
a001eb03da
commit
622250b8f4
27 changed files with 129 additions and 155 deletions
|
|
@ -33,13 +33,13 @@ namespace Server.Gumps
|
|||
AddImage(2, 2, 0x2716);
|
||||
AddHtmlLocalized(25, 25, 200, 20, TitleNumber, 0x7D00);
|
||||
AddImage(25, 40, 0xBBF);
|
||||
AddHtmlLocalized(25, 55, 300, 120, LabelNumber, 0xFFFFFF);
|
||||
AddHtmlLocalized(25, 55, 300, 120, LabelNumber, 0x7FFF);
|
||||
|
||||
AddRadio(25, 175, 0x25F8, 0x25FB, true, (int)Buttons.Break);
|
||||
AddRadio(25, 210, 0x25F8, 0x25FB, false, (int)Buttons.Close);
|
||||
|
||||
AddHtmlLocalized(60, 180, 280, 20, 1074976, 0xFFFFFF);
|
||||
AddHtmlLocalized(60, 215, 280, 20, 1074977, 0xFFFFFF);
|
||||
AddHtmlLocalized(60, 180, 280, 20, 1074976, 0x7FFF);
|
||||
AddHtmlLocalized(60, 215, 280, 20, 1074977, 0x7FFF);
|
||||
|
||||
AddButton(265, 220, 0xF7, 0xF8, (int)Buttons.Confirm);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue