Project-Diablo-2 / BH

A modified version of slashdiablo's BH for Project Diablo 2
GNU Affero General Public License v3.0
24 stars 23 forks source link

Increased origName buffer size to accommodate larger descriptions #5

Closed BetweenWalls closed 2 years ago

BetweenWalls commented 3 years ago

Increased origName buffer size from 175 to 235 to accommodate descriptions that utilize many colors

The current limit of 175 characters includes 3 characters per color change - this severely limits descriptions which use many color changes such as those that refer to gems and runes with colored symbols to describe crafting recipes. I determined 235 characters would be the most I'd use to describe recipes with symbols in this way, but if that is too excessive for performance reasons, even an increase to 196 would be a substantial improvement.