From: Ricardo Cruz Date: Fri, 7 May 2004 00:30:43 +0000 (+0000) Subject: Added support for Benjamin's green fonts. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=86d6fe09bcf7c97183cd146a7ee48bad1c9a43da;p=supertux.git Added support for Benjamin's green fonts. SVN-Revision: 1018 --- diff --git a/src/globals.cpp b/src/globals.cpp index 6e02cb0ea..af26b8438 100644 --- a/src/globals.cpp +++ b/src/globals.cpp @@ -42,6 +42,7 @@ Text* black_text; Text* gold_text; Text* blue_text; Text* red_text; +Text* green_text; Text* yellow_nums; Text* white_text; Text* white_small_text; diff --git a/src/globals.h b/src/globals.h index df3cad3a5..b4b27af29 100644 --- a/src/globals.h +++ b/src/globals.h @@ -54,6 +54,7 @@ extern Text* white_small_text; extern Text* white_big_text; extern Text* blue_text; extern Text* red_text; +extern Text* green_text; extern Text* yellow_nums; extern MouseCursor * mouse_cursor; diff --git a/src/setup.cpp b/src/setup.cpp index ad6a2009f..5465cf02e 100644 --- a/src/setup.cpp +++ b/src/setup.cpp @@ -585,6 +585,7 @@ void st_general_setup(void) gold_text = new Text(datadir + "/images/status/letters-gold.png", TEXT_TEXT, 16,18); blue_text = new Text(datadir + "/images/status/letters-blue.png", TEXT_TEXT, 16,18); red_text = new Text(datadir + "/images/status/letters-red.png", TEXT_TEXT, 16,18); + green_text = new Text(datadir + "/images/status/letters-green.png", TEXT_TEXT, 16,18); white_text = new Text(datadir + "/images/status/letters-white.png", TEXT_TEXT, 16,18); white_small_text = new Text(datadir + "/images/status/letters-white-small.png", TEXT_TEXT, 8,9); white_big_text = new Text(datadir + "/images/status/letters-white-big.png", TEXT_TEXT, 20,23); @@ -611,6 +612,7 @@ void st_general_free(void) delete white_text; delete blue_text; delete red_text; + delete green_text; delete white_small_text; delete white_big_text; delete yellow_nums;