Issue349

Title DIALOGS: Use different color for training prices
Priority idea Status open
Assigned To Keywords
Linked issues Watchers matthiaskrgr

Submitted on 2011-07-24 19h08 by tracker_migration, last changed by matthiaskrgr.

Messages
Author: tracker_migration Date: 2011-02-22   20h07
Submitted by pum-baa
Engel, Kevin, (the shooting range guy from the Red Guard) offer to train abilities at a price.

The dialogues offer a sentence like "I'm ready. Teach me... [cost 50 circuits, 1 ability point]", all in the same color.
What about using, let's say, a dark yellow to have a contrast between the sentence to be spoken and the cost?
Author: tracker_migration Date: 2011-02-23   00h08
Posted by salimiles
We currently don't have much in the way of formatting options for text in the game.

For dialogs we have three options:
orange (Tux's speech)
yellow-ish (normal NPC speech)
blue-ish (command-line interface, emphasis -> use [b]emphasized text[/b])
Author: tracker_migration Date: 2011-02-23   09h17
Posted by ahuillet
Right now, we have no way of coloring fonts, however this is very easy to do in OpenGL mode and we will need to add such a functionality to struct image (which text rendering uses) before enemy rendering can make use of it.

This will enable us to create a *white* font and give it any RGBA color we wish (at least in OpenGL, the SDL case being more difficult).

Hakszam (Samuel Pitoiset) is currently thinking about this. I might take the work off his hands myself at some point, anyway I would expect this possibility to appear within one month or so.

So let us keep this ticket open.
Author: tracker_migration Date: 2011-03-21   08h52
Posted by ahuillet
The functionality has been added and it now should be very easy to have infinite colorization possibilities both in OpenGL and SDL mode for fonts. This is a medium-sized project.
History
Date User Action Args
2011-07-29 10:20:46matthiaskrgrsetassignedto: matthiaskrgr ->
2011-07-25 20:06:11matthiaskrgrsetpriority: bug -> idea
assignedto: matthiaskrgr
nosy: + matthiaskrgr
2011-07-24 19:08:05tracker_migrationcreate