graphics: Generate HELP screens programatically.

Decompose the help screen into three parts: the background, the
text and the title. Generate all except the main text programatically:
the background as a color transformed version of the INTERPIC graphic
and the title using the textgen tool.
This commit is contained in:
Simon Howard 2014-06-30 00:10:54 +00:00
parent c06cb4478c
commit 7f281321c9
8 changed files with 34 additions and 33 deletions

View file

@ -210,6 +210,12 @@ red_graphics = {
'm_multi': 'Multiplayer',
}
# Rendered with transparent background:
transparent_graphics = {
# Title for the HELP/HELP1 screen:
'helpttl': 'Help',
}
def read_bex_lump(filename):
"""Read the BEX (Dehacked) lump from the given filename.