[Ohrrpgce] SVN: teeemcee/9848 Fix a render_text bug where the text palette (color) was mixed up in mul

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Sun Dec 3 04:48:15 PST 2017


teeemcee
2017-12-03 04:48:14 -0800 (Sun, 03 Dec 2017)
448
Fix a render_text bug where the text palette (color) was mixed up in multi-line text containing color markup codes

render_text draws each line twice, for the two layers, with two separate
PrintStrStates, but they were sharing a single palette. The problem occurred
whenever the color at the end of a line was different from the start.

This explains a number of glitches I've seen, though I don't think games were
affected

(Ported from wip r9839)
---
U   rel/etheldreme/allmodex.bas


More information about the Ohrrpgce mailing list